/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/ |
D | SyntheticPasswordTests.java | 23 import static com.android.internal.widget.LockPatternUtils.CREDENTIAL_TYPE_PASSWORD; 24 import static com.android.internal.widget.LockPatternUtils.SYNTHETIC_PASSWORD_ENABLED_KEY; 25 import static com.android.internal.widget.LockPatternUtils.SYNTHETIC_PASSWORD_HANDLE_KEY; 37 import com.android.internal.widget.LockPatternUtils; 75 LockPatternUtils.CREDENTIAL_TYPE_PASSWORD, authToken, PASSWORD_QUALITY_ALPHABETIC, in testPasswordBasedSyntheticPassword() 103 mService.setLockCredential(PASSWORD, LockPatternUtils.CREDENTIAL_TYPE_PASSWORD, null, in testPasswordMigration() 110 PASSWORD, LockPatternUtils.CREDENTIAL_TYPE_PASSWORD, 0, PRIMARY_USER_ID) in testPasswordMigration() 117 PASSWORD, LockPatternUtils.CREDENTIAL_TYPE_PASSWORD, 0, PRIMARY_USER_ID) in testPasswordMigration() 127 int type = password != null ? LockPatternUtils.CREDENTIAL_TYPE_PASSWORD in initializeCredentialUnderSP() 128 : LockPatternUtils.CREDENTIAL_TYPE_NONE; in initializeCredentialUnderSP() [all …]
|
D | LockSettingsServiceTests.java | 24 import static com.android.internal.widget.LockPatternUtils.CREDENTIAL_TYPE_NONE; 25 import static com.android.internal.widget.LockPatternUtils.CREDENTIAL_TYPE_PASSWORD; 26 import static com.android.internal.widget.LockPatternUtils.CREDENTIAL_TYPE_PATTERN; 32 import com.android.internal.widget.LockPatternUtils; 100 mService.setLockCredential(firstUnifiedPassword, LockPatternUtils.CREDENTIAL_TYPE_PASSWORD, in testManagedProfileUnifiedChallenge() 119 firstUnifiedPassword, LockPatternUtils.CREDENTIAL_TYPE_PASSWORD, 0, PRIMARY_USER_ID) in testManagedProfileUnifiedChallenge() 135 mService.setLockCredential(secondUnifiedPassword, LockPatternUtils.CREDENTIAL_TYPE_PASSWORD, in testManagedProfileUnifiedChallenge() 142 mService.setLockCredential(null, LockPatternUtils.CREDENTIAL_TYPE_NONE, in testManagedProfileUnifiedChallenge() 152 mService.setLockCredential(primaryPassword, LockPatternUtils.CREDENTIAL_TYPE_PASSWORD, null, in testManagedProfileSeparateChallenge() 159 mService.setLockCredential(profilePassword, LockPatternUtils.CREDENTIAL_TYPE_PASSWORD, null, in testManagedProfileSeparateChallenge() [all …]
|
D | CachedSyntheticPasswordTests.java | 21 import static com.android.internal.widget.LockPatternUtils.CREDENTIAL_TYPE_PASSWORD; 31 import com.android.internal.widget.LockPatternUtils; 65 mService.setLockCredential(null, LockPatternUtils.CREDENTIAL_TYPE_NONE, null, in testSyntheticPasswordClearCredentialUntrusted() 70 mService.setLockCredential(NEWPASSWORD, LockPatternUtils.CREDENTIAL_TYPE_PASSWORD, null, in testSyntheticPasswordClearCredentialUntrusted() 73 NEWPASSWORD, LockPatternUtils.CREDENTIAL_TYPE_PASSWORD, 0, PRIMARY_USER_ID) in testSyntheticPasswordClearCredentialUntrusted() 85 mService.setLockCredential(NEWPASSWORD, LockPatternUtils.CREDENTIAL_TYPE_PASSWORD, null, in testSyntheticPasswordChangeCredentialUntrusted() 92 NEWPASSWORD, LockPatternUtils.CREDENTIAL_TYPE_PASSWORD, 0, PRIMARY_USER_ID) in testSyntheticPasswordChangeCredentialUntrusted() 102 mService.setLockCredential(NEWPASSWORD, LockPatternUtils.CREDENTIAL_TYPE_PASSWORD, null, in testUntrustedCredentialChangeMaintainsAuthSecret() 107 NEWPASSWORD, LockPatternUtils.CREDENTIAL_TYPE_PASSWORD, 0, PRIMARY_USER_ID) in testUntrustedCredentialChangeMaintainsAuthSecret() 128 NEWPASSWORD, LockPatternUtils.CREDENTIAL_TYPE_PASSWORD, in testUntrustedCredentialChangeBlockedIfSpNotCached() [all …]
|
D | LockSettingsStorageTests.java | 37 import com.android.internal.widget.LockPatternUtils; 210 assertEquals(LockPatternUtils.CREDENTIAL_TYPE_NONE, mStorage.readCredentialHash(0).type); in testRemoveUser() 215 assertEquals(mStorage.readCredentialHash(0).type, LockPatternUtils.CREDENTIAL_TYPE_NONE); in testCredential_Default() 241 assertEquals(LockPatternUtils.CREDENTIAL_TYPE_PASSWORD, in testLockType_WriteProfileWritesParent() 243 assertEquals(LockPatternUtils.CREDENTIAL_TYPE_PATTERN, in testLockType_WriteProfileWritesParent() 246 assertEquals(LockPatternUtils.CREDENTIAL_TYPE_PASSWORD, in testLockType_WriteProfileWritesParent() 248 assertEquals(LockPatternUtils.CREDENTIAL_TYPE_PATTERN, in testLockType_WriteProfileWritesParent() 439 PAYLOAD, LockPatternUtils.CREDENTIAL_TYPE_PASSWORD).toBytes(); in testCredentialHash_serializeUnserialize() 443 assertEquals(LockPatternUtils.CREDENTIAL_TYPE_PASSWORD, deserialized.type); in testCredentialHash_serializeUnserialize() 460 assertEquals(LockPatternUtils.CREDENTIAL_TYPE_PASSWORD, deserialized.type); in testCredentialHash_unserialize_versionGatekeeper() [all …]
|
D | LockSettingsServiceTestable.java | 32 import com.android.internal.widget.LockPatternUtils; 43 private LockPatternUtils mLockPatternUtils; 49 IActivityManager activityManager, LockPatternUtils lockPatternUtils, in MockInjector() 87 public LockPatternUtils getLockPatternUtils() { in getLockPatternUtils() 112 protected LockSettingsServiceTestable(Context context, LockPatternUtils lockPatternUtils, in LockSettingsServiceTestable()
|
D | LockSettingsShellCommandTest.java | 22 import static com.android.internal.widget.LockPatternUtils.stringToPattern; 47 import com.android.internal.widget.LockPatternUtils; 71 private @Mock LockPatternUtils mLockPatternUtils;
|
/frameworks/base/core/tests/coretests/src/com/android/internal/widget/ |
D | LockPatternUtilsTest.java | 35 assertTrue(LockPatternUtils.USER_FRP < 0); in testUserFrp_isNotRegularUser() 40 assertNotEquals(UserHandle.USER_NULL, LockPatternUtils.USER_FRP); 41 assertNotEquals(UserHandle.USER_ALL, LockPatternUtils.USER_FRP); 42 assertNotEquals(UserHandle.USER_CURRENT, LockPatternUtils.USER_FRP); 43 assertNotEquals(UserHandle.USER_CURRENT_OR_SELF, LockPatternUtils.USER_FRP);
|
/frameworks/base/services/core/java/com/android/server/locksettings/ |
D | LockSettingsService.java | 24 import static com.android.internal.widget.LockPatternUtils.StrongAuthTracker.STRONG_AUTH_REQUIRED_A… 25 import static com.android.internal.widget.LockPatternUtils.StrongAuthTracker.STRONG_AUTH_REQUIRED_A… 26 import static com.android.internal.widget.LockPatternUtils.SYNTHETIC_PASSWORD_ENABLED_KEY; 27 import static com.android.internal.widget.LockPatternUtils.SYNTHETIC_PASSWORD_HANDLE_KEY; 28 import static com.android.internal.widget.LockPatternUtils.USER_FRP; 29 import static com.android.internal.widget.LockPatternUtils.frpCredentialEnabled; 30 import static com.android.internal.widget.LockPatternUtils.userOwnsFrpCredential; 105 import com.android.internal.widget.LockPatternUtils; 180 private final LockPatternUtils mLockPatternUtils; 244 extends LockPatternUtils.StrongAuthTracker { [all …]
|
D | LockSettingsShellCommand.java | 21 import static com.android.internal.widget.LockPatternUtils.stringToPattern; 28 import com.android.internal.widget.LockPatternUtils; 29 import com.android.internal.widget.LockPatternUtils.RequestThrottledException; 43 private final LockPatternUtils mLockPatternUtils; 48 LockSettingsShellCommand(Context context, LockPatternUtils lockPatternUtils) { in LockSettingsShellCommand()
|
D | LockSettingsStorage.java | 40 import com.android.internal.widget.LockPatternUtils; 104 if (type != LockPatternUtils.CREDENTIAL_TYPE_NONE) { in CredentialHash() 120 return new CredentialHash(hash, LockPatternUtils.CREDENTIAL_TYPE_PATTERN, in createBaseZeroPattern() 125 if (type == LockPatternUtils.CREDENTIAL_TYPE_NONE) { in create() 132 return new CredentialHash(null, LockPatternUtils.CREDENTIAL_TYPE_NONE, in createEmptyHash() 268 return new CredentialHash(stored, LockPatternUtils.CREDENTIAL_TYPE_PASSWORD, in readPasswordHashIfExists() 274 return new CredentialHash(stored, LockPatternUtils.CREDENTIAL_TYPE_PASSWORD, in readPasswordHashIfExists() 283 return new CredentialHash(stored, LockPatternUtils.CREDENTIAL_TYPE_PATTERN, in readPatternHashIfExists() 294 return new CredentialHash(stored, LockPatternUtils.CREDENTIAL_TYPE_PATTERN, in readPatternHashIfExists() 437 if (hash.type == LockPatternUtils.CREDENTIAL_TYPE_PASSWORD) { in writeCredentialHash() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | KeyguardSecurityModel.java | 23 import com.android.internal.widget.LockPatternUtils; 44 private LockPatternUtils mLockPatternUtils; 48 mLockPatternUtils = new LockPatternUtils(context); in KeyguardSecurityModel() 53 void setLockPatternUtils(LockPatternUtils utils) { in setLockPatternUtils()
|
D | KeyguardSecurityView.java | 18 import com.android.internal.widget.LockPatternUtils; 61 void setLockPatternUtils(LockPatternUtils utils); in setLockPatternUtils()
|
D | KeyguardAbsKeyInputView.java | 34 import com.android.internal.widget.LockPatternUtils; 42 protected LockPatternUtils mLockPatternUtils; 68 public void setLockPatternUtils(LockPatternUtils utils) { in setLockPatternUtils() 98 mLockPatternUtils = new LockPatternUtils(mContext); in onFinishInflate()
|
D | EmergencyButton.java | 39 import com.android.internal.widget.LockPatternUtils; 79 private LockPatternUtils mLockPatternUtils; 114 mLockPatternUtils = new LockPatternUtils(mContext); in onFinishInflate()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/ |
D | TestOnlyInsecureCertificateHelperTest.java | 9 import com.android.internal.widget.LockPatternUtils; 27 LockPatternUtils.CREDENTIAL_TYPE_PASSWORD, "secret12345")).isFalse(); in testDoesCredentailSupportInsecureMode_forNonWhitelistedPassword() 29 LockPatternUtils.CREDENTIAL_TYPE_PASSWORD, "1234")).isFalse(); in testDoesCredentailSupportInsecureMode_forNonWhitelistedPassword() 35 LockPatternUtils.CREDENTIAL_TYPE_PASSWORD, in testDoesCredentailSupportInsecureMode_forWhitelistedPassword() 39 LockPatternUtils.CREDENTIAL_TYPE_PASSWORD, in testDoesCredentailSupportInsecureMode_forWhitelistedPassword() 46 LockPatternUtils.CREDENTIAL_TYPE_PATTERN, in testDoesCredentailSupportInsecureMode_Pattern() 49 LockPatternUtils.CREDENTIAL_TYPE_NONE, in testDoesCredentailSupportInsecureMode_Pattern()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | LockPatternChecker.java | 5 import com.android.internal.widget.LockPatternUtils.RequestThrottledException; 63 public static AsyncTask<?, ?, ?> verifyPattern(final LockPatternUtils utils, in verifyPattern() 106 public static AsyncTask<?, ?, ?> checkPattern(final LockPatternUtils utils, in checkPattern() 154 public static AsyncTask<?, ?, ?> verifyPassword(final LockPatternUtils utils, in verifyPassword() 190 public static AsyncTask<?, ?, ?> verifyTiedProfileChallenge(final LockPatternUtils utils, in verifyTiedProfileChallenge() 226 public static AsyncTask<?, ?, ?> checkPassword(final LockPatternUtils utils, in checkPassword()
|
/frameworks/base/services/core/java/com/android/server/policy/keyguard/ |
D | KeyguardStateMonitor.java | 28 import com.android.internal.widget.LockPatternUtils; 53 private final LockPatternUtils mLockPatternUtils; 59 mLockPatternUtils = new LockPatternUtils(context); in KeyguardStateMonitor()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | UnlockMethodCache.java | 22 import com.android.internal.widget.LockPatternUtils; 37 private final LockPatternUtils mLockPatternUtils; 49 mLockPatternUtils = new LockPatternUtils(ctx); in UnlockMethodCache()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/car/ |
D | CarStatusBarKeyguardViewManager.java | 6 import com.android.internal.widget.LockPatternUtils; 17 LockPatternUtils lockPatternUtils) { in CarStatusBarKeyguardViewManager()
|
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/ |
D | LockPatternUtilsTest.java | 39 import com.android.internal.widget.LockPatternUtils; 51 private LockPatternUtils mLockPatternUtils; 67 mLockPatternUtils = spy(new LockPatternUtils(context)); in configureTest()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/car/ |
D | CarSystemUIFactory.java | 22 import com.android.internal.widget.LockPatternUtils; 39 ViewMediatorCallback viewMediatorCallback, LockPatternUtils lockPatternUtils) { in createStatusBarKeyguardViewManager()
|
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/ |
D | KeySyncTask.java | 32 import com.android.internal.widget.LockPatternUtils; 165 if (mCredentialType == LockPatternUtils.CREDENTIAL_TYPE_NONE) { in syncKeys() 192 return mCredentialType != LockPatternUtils.CREDENTIAL_TYPE_NONE in isCustomLockScreen() 193 && mCredentialType != LockPatternUtils.CREDENTIAL_TYPE_PATTERN in isCustomLockScreen() 194 && mCredentialType != LockPatternUtils.CREDENTIAL_TYPE_PASSWORD; in isCustomLockScreen() 449 if (credentialType == LockPatternUtils.CREDENTIAL_TYPE_PATTERN) { in getUiFormat() 536 return mCredentialType == LockPatternUtils.CREDENTIAL_TYPE_PASSWORD; in shouldUseScryptToHashCredential()
|
D | TestOnlyInsecureCertificateHelper.java | 21 import com.android.internal.widget.LockPatternUtils; 88 return (credentialType == LockPatternUtils.CREDENTIAL_TYPE_PASSWORD) in doesCredentialSupportInsecureMode()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
D | StatusBarKeyguardViewManagerTest.java | 33 import com.android.internal.widget.LockPatternUtils; 53 private LockPatternUtils mLockPatternUtils; 184 LockPatternUtils lockPatternUtils) { in TestableStatusBarKeyguardViewManager()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | PreviewInflater.java | 30 import com.android.internal.widget.LockPatternUtils; 46 private LockPatternUtils mLockPatternUtils; 48 public PreviewInflater(Context context, LockPatternUtils lockPatternUtils) { in PreviewInflater()
|