KeyguardViewMediator的onSystemReady方法
没有启用keyguard时KeyguardViewMediator的log:

onSystemReady 方法
 doKeyguardLocked
LockPatternUtils.isLockScreenDisabled 来判断是否启用
public final static String DISABLE_LOCKSCREEN_KEY = "lockscreen.disabled";
ILockSettings service = ILockSettings.Stub.asInterface(
 ServiceManager.getService(“lock_settings”));
LockSettingsStorage
 最终存入了数据库locksettings.db