/packages/apps/Settings/src/com/android/settings/security/ |
H A D | SecurityFeatureProviderImpl.java | 28 private LockPatternUtils mLockPatternUtils; field in class:SecurityFeatureProviderImpl 40 if (mLockPatternUtils == null) { 41 mLockPatternUtils = new LockPatternUtils(context.getApplicationContext()); 43 return mLockPatternUtils;
|
H A D | OwnerInfoPreferenceController.java | 43 private final LockPatternUtils mLockPatternUtils; field in class:OwnerInfoPreferenceController 55 mLockPatternUtils = new LockPatternUtils(context); 91 mOwnerInfoPref.setEnabled(!mLockPatternUtils.isLockScreenDisabled(MY_USER_ID)); 122 return mLockPatternUtils.isDeviceOwnerInfoEnabled(); 127 return mLockPatternUtils.getDeviceOwnerInfo(); 132 return mLockPatternUtils.isOwnerInfoEnabled(MY_USER_ID); 137 return mLockPatternUtils.getOwnerInfo(MY_USER_ID);
|
H A D | VisiblePatternProfilePreferenceController.java | 45 private final LockPatternUtils mLockPatternUtils; field in class:VisiblePatternProfilePreferenceController 60 mLockPatternUtils = FeatureFactory.getFactory(context) 74 final boolean isSecure = mLockPatternUtils.isSecure(mProfileChallengeUserId); 75 final boolean hasPassword = mLockPatternUtils 94 return mLockPatternUtils.isVisiblePatternEnabled( 103 mLockPatternUtils.setVisiblePatternEnabled(isChecked, mProfileChallengeUserId);
|
H A D | LockUnificationPreferenceController.java | 53 private final LockPatternUtils mLockPatternUtils; field in class:LockUnificationPreferenceController 73 mLockPatternUtils = FeatureFactory.getFactory(context) 83 && mLockPatternUtils.isSeparateProfileChallengeAllowed( 100 (mLockPatternUtils.getKeyguardStoredPasswordQuality(mProfileChallengeUserId) 102 && mLockPatternUtils.isSeparateProfileChallengeAllowedToUnify( 124 mLockPatternUtils.isSeparateProfileChallengeEnabled(mProfileChallengeUserId); 192 mLockPatternUtils.getKeyguardStoredPasswordQuality(mProfileChallengeUserId); 194 mLockPatternUtils.saveLockPattern( 198 mLockPatternUtils.saveLockPassword( 202 mLockPatternUtils [all...] |
H A D | ChangeProfileScreenLockPreferenceController.java | 44 !mLockPatternUtils.isSeparateProfileChallengeAllowed(mProfileChallengeUserId)) { 47 if (!mLockPatternUtils.isSecure(mProfileChallengeUserId)) { 50 switch (mLockPatternUtils.getKeyguardStoredPasswordQuality(mProfileChallengeUserId)) { 92 if (!mLockPatternUtils.isSeparateProfileChallengeEnabled(mProfileChallengeUserId)) {
|
H A D | LockdownButtonPreferenceController.java | 33 private final LockPatternUtils mLockPatternUtils; field in class:LockdownButtonPreferenceController 37 mLockPatternUtils = new LockPatternUtils(context); 42 if (mLockPatternUtils.isSecure(UserHandle.myUserId())) {
|
H A D | ShowPasswordPreferenceController.java | 32 private final LockPatternUtils mLockPatternUtils; field in class:ShowPasswordPreferenceController 36 mLockPatternUtils = FeatureFactory.getFactory(context) 51 mLockPatternUtils.setVisiblePasswordEnabled(isChecked, MY_USER_ID);
|
H A D | ChangeScreenLockPreferenceController.java | 49 protected final LockPatternUtils mLockPatternUtils; field in class:ChangeScreenLockPreferenceController 60 mLockPatternUtils = FeatureFactory.getFactory(context) 86 if (mLockPatternUtils.isSecure(mUserId) 87 || !mLockPatternUtils.isLockScreenDisabled(mUserId)) { 96 if (!mLockPatternUtils.isSeparateProfileChallengeEnabled(mProfileChallengeUserId)) { 123 && !mLockPatternUtils.isSeparateProfileChallengeEnabled(mProfileChallengeUserId) 139 if (!mLockPatternUtils.isSecure(userId)) { 141 || mLockPatternUtils.isLockScreenDisabled(userId)) { 147 switch (mLockPatternUtils.getKeyguardStoredPasswordQuality(userId)) {
|
/packages/apps/Settings/src/com/android/settings/security/screenlock/ |
H A D | PatternVisiblePreferenceController.java | 34 private final LockPatternUtils mLockPatternUtils; field in class:PatternVisiblePreferenceController 40 mLockPatternUtils = lockPatternUtils; 56 mLockPatternUtils.isVisiblePatternEnabled(mUserId)); 60 return mLockPatternUtils.isSecure(mUserId) 61 && mLockPatternUtils.getKeyguardStoredPasswordQuality(mUserId) 67 mLockPatternUtils.setVisiblePatternEnabled((Boolean) newValue, mUserId);
|
H A D | PowerButtonInstantLockPreferenceController.java | 38 private final LockPatternUtils mLockPatternUtils; field in class:PowerButtonInstantLockPreferenceController 45 mLockPatternUtils = lockPatternUtils; 52 if (!mLockPatternUtils.isSecure(mUserId)) { 55 switch (mLockPatternUtils.getKeyguardStoredPasswordQuality(mUserId)) { 72 mLockPatternUtils.getPowerButtonInstantlyLocks(mUserId)); 74 mContext, mLockPatternUtils); 91 mLockPatternUtils.setPowerButtonInstantlyLocks((Boolean) newValue, mUserId);
|
H A D | LockScreenPreferenceController.java | 40 private final LockPatternUtils mLockPatternUtils; field in class:LockScreenPreferenceController 45 mLockPatternUtils = FeatureFactory.getFactory(context) 60 if (!mLockPatternUtils.isSecure(MY_USER_ID)) { 61 return mLockPatternUtils.isLockScreenDisabled(MY_USER_ID) 64 return mLockPatternUtils.getKeyguardStoredPasswordQuality(MY_USER_ID)
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/security/screenlock/ |
H A D | PatternVisiblePreferenceControllerTest.java | 43 private LockPatternUtils mLockPatternUtils; field in class:PatternVisiblePreferenceControllerTest 53 new PatternVisiblePreferenceController(mContext, TEST_USER_ID, mLockPatternUtils); 59 when(mLockPatternUtils.isSecure(TEST_USER_ID)).thenReturn(true); 60 when(mLockPatternUtils.getKeyguardStoredPasswordQuality(TEST_USER_ID)) 68 when(mLockPatternUtils.isSecure(TEST_USER_ID)).thenReturn(true); 69 when(mLockPatternUtils.getKeyguardStoredPasswordQuality(TEST_USER_ID)) 77 when(mLockPatternUtils.isSecure(TEST_USER_ID)).thenReturn(false); 84 when(mLockPatternUtils.isVisiblePatternEnabled(TEST_USER_ID)).thenReturn(true); 88 when(mLockPatternUtils.isVisiblePatternEnabled(TEST_USER_ID)).thenReturn(false); 97 verify(mLockPatternUtils) [all...] |
H A D | LockScreenPreferenceControllerTest.java | 54 private LockPatternUtils mLockPatternUtils; field in class:LockScreenPreferenceControllerTest 76 .thenReturn(mLockPatternUtils); 87 when(mLockPatternUtils.isSecure(anyInt())).thenReturn(false); 88 when(mLockPatternUtils.isLockScreenDisabled(anyInt())).thenReturn(true); 95 when(mLockPatternUtils.isSecure(anyInt())).thenReturn(false); 96 when(mLockPatternUtils.isLockScreenDisabled(anyInt())).thenReturn(false); 103 when(mLockPatternUtils.isSecure(anyInt())).thenReturn(true); 104 when(mLockPatternUtils.getKeyguardStoredPasswordQuality(anyInt())) 112 when(mLockPatternUtils.isSecure(anyInt())).thenReturn(true); 113 when(mLockPatternUtils [all...] |
H A D | PowerButtonInstantLockPreferenceControllerTest.java | 46 private LockPatternUtils mLockPatternUtils; field in class:PowerButtonInstantLockPreferenceControllerTest 65 mContext, TEST_USER_ID, mLockPatternUtils); 70 when(mLockPatternUtils.isSecure(TEST_USER_ID)).thenReturn(true); 71 when(mLockPatternUtils.getKeyguardStoredPasswordQuality(TEST_USER_ID)) 79 when(mLockPatternUtils.isSecure(TEST_USER_ID)).thenReturn(true); 80 when(mLockPatternUtils.getKeyguardStoredPasswordQuality(TEST_USER_ID)) 88 when(mLockPatternUtils.isSecure(TEST_USER_ID)).thenReturn(true); 89 when(mLockPatternUtils.getKeyguardStoredPasswordQuality(TEST_USER_ID)) 97 when(mLockPatternUtils.isSecure(TEST_USER_ID)).thenReturn(false); 105 when(mTrustAgentManager.getActiveTrustAgentLabel(mContext, mLockPatternUtils)) [all...] |
H A D | LockAfterTimeoutPreferenceControllerTest.java | 56 private LockPatternUtils mLockPatternUtils; field in class:LockAfterTimeoutPreferenceControllerTest 75 mContext, TEST_USER_ID, mLockPatternUtils); 80 when(mLockPatternUtils.isSecure(TEST_USER_ID)).thenReturn(true); 81 when(mLockPatternUtils.getKeyguardStoredPasswordQuality(TEST_USER_ID)) 89 when(mLockPatternUtils.isSecure(TEST_USER_ID)).thenReturn(true); 90 when(mLockPatternUtils.getKeyguardStoredPasswordQuality(TEST_USER_ID)) 98 when(mLockPatternUtils.isSecure(TEST_USER_ID)).thenReturn(true); 99 when(mLockPatternUtils.getKeyguardStoredPasswordQuality(TEST_USER_ID)) 107 when(mLockPatternUtils.isSecure(TEST_USER_ID)).thenReturn(false);
|
/packages/apps/Car/Settings/src/com/android/car/settings/security/ |
H A D | CheckLockWorker.java | 41 private LockPatternUtils mLockPatternUtils; field in class:CheckLockWorker 47 mLockPatternUtils = new LockPatternUtils(getContext()); 89 LockPatternChecker.checkPattern(mLockPatternUtils, pattern, userId, this); 102 LockPatternChecker.checkPassword(mLockPatternUtils, password, userId, this);
|
H A D | SettingsScreenLockActivity.java | 38 private LockPatternUtils mLockPatternUtils; field in class:SettingsScreenLockActivity 44 mLockPatternUtils = new LockPatternUtils(this); 45 mPasswordQuality = mLockPatternUtils.getKeyguardStoredPasswordQuality(
|
/packages/apps/Settings/src/com/android/settings/fingerprint/ |
H A D | FingerprintProfileStatusPreferenceController.java | 34 && mLockPatternUtils.isSeparateProfileChallengeAllowed(mProfileChallengeUserId);
|
/packages/apps/Settings/src/com/android/settings/security/trustagent/ |
H A D | ManageTrustAgentsPreferenceController.java | 36 private final LockPatternUtils mLockPatternUtils; field in class:ManageTrustAgentsPreferenceController 43 mLockPatternUtils = securityFeatureProvider.getLockPatternUtils(context); 56 if (!mLockPatternUtils.isSecure(MY_USER_ID)) { 71 return mTrustAgentManager.getActiveTrustAgents(mContext, mLockPatternUtils).size();
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/security/ |
H A D | VisiblePatternProfilePreferenceControllerTest.java | 56 private LockPatternUtils mLockPatternUtils; field in class:VisiblePatternProfilePreferenceControllerTest 80 .thenReturn(mLockPatternUtils); 90 when(mLockPatternUtils.isSecure(FAKE_PROFILE_USER_ID)).thenReturn(false); 91 when(mLockPatternUtils.getKeyguardStoredPasswordQuality(FAKE_PROFILE_USER_ID)) 99 when(mLockPatternUtils.isSecure(FAKE_PROFILE_USER_ID)).thenReturn(true); 100 when(mLockPatternUtils.getKeyguardStoredPasswordQuality(FAKE_PROFILE_USER_ID)) 108 when(mLockPatternUtils.isSecure(FAKE_PROFILE_USER_ID)).thenReturn(true); 109 when(mLockPatternUtils.getKeyguardStoredPasswordQuality(FAKE_PROFILE_USER_ID))
|
H A D | LockUnificationPreferenceControllerTest.java | 48 private LockPatternUtils mLockPatternUtils; field in class:LockUnificationPreferenceControllerTest 70 .thenReturn(mLockPatternUtils); 86 when(mLockPatternUtils.isSeparateProfileChallengeAllowed(anyInt())).thenReturn(false); 93 when(mLockPatternUtils.isSeparateProfileChallengeAllowed(anyInt())).thenReturn(true);
|
H A D | LockdownButtonPreferenceControllerTest.java | 42 private LockPatternUtils mLockPatternUtils; field in class:LockdownButtonPreferenceControllerTest 55 ReflectionHelpers.setField(mController, "mLockPatternUtils", mLockPatternUtils); 60 when(mLockPatternUtils.isSecure(anyInt())).thenReturn(true); 66 when(mLockPatternUtils.isSecure(anyInt())).thenReturn(false);
|
/packages/apps/Settings/src/com/android/settings/users/ |
H A D | OwnerInfoSettings.java | 43 private LockPatternUtils mLockPatternUtils; field in class:OwnerInfoSettings 50 mLockPatternUtils = new LockPatternUtils(getActivity()); 66 String info = mLockPatternUtils.getOwnerInfo(mUserId); 79 mLockPatternUtils.setOwnerInfoEnabled(!TextUtils.isEmpty(info), mUserId); 80 mLockPatternUtils.setOwnerInfo(info, mUserId);
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/fingerprint/ |
H A D | FingerprintProfileStatusPreferenceControllerTest.java | 50 private LockPatternUtils mLockPatternUtils; field in class:FingerprintProfileStatusPreferenceControllerTest 72 .thenReturn(mLockPatternUtils); 84 when(mLockPatternUtils.isSeparateProfileChallengeAllowed(anyInt())).thenReturn(true); 90 when(mLockPatternUtils.isSeparateProfileChallengeAllowed(anyInt())).thenReturn(false); 98 when(mLockPatternUtils.isSeparateProfileChallengeAllowed(anyInt())).thenReturn(false);
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/security/trustagent/ |
H A D | ManageTrustAgentsPreferenceControllerTest.java | 49 private LockPatternUtils mLockPatternUtils; field in class:ManageTrustAgentsPreferenceControllerTest 62 .thenReturn(mLockPatternUtils); 83 when(mLockPatternUtils.isSecure(anyInt())).thenReturn(false); 94 when(mLockPatternUtils.isSecure(anyInt())).thenReturn(true); 95 when(mTrustAgentManager.getActiveTrustAgents(mContext, mLockPatternUtils)) 107 when(mLockPatternUtils.isSecure(anyInt())).thenReturn(true); 108 when(mTrustAgentManager.getActiveTrustAgents(mContext, mLockPatternUtils))
|