/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; 32 import com.android.internal.widget.LockPatternUtils; 66 LockPatternUtils.CREDENTIAL_TYPE_PASSWORD, authToken, PASSWORD_QUALITY_ALPHABETIC, in testPasswordBasedSyntheticPassword() 92 mService.setLockCredential(PASSWORD, LockPatternUtils.CREDENTIAL_TYPE_PASSWORD, null, in testPasswordMigration() 99 …mService.verifyCredential(PASSWORD, LockPatternUtils.CREDENTIAL_TYPE_PASSWORD, 0, PRIMARY_USER_ID)… in testPasswordMigration() 105 …mService.verifyCredential(PASSWORD, LockPatternUtils.CREDENTIAL_TYPE_PASSWORD, 0, PRIMARY_USER_ID)… in testPasswordMigration() 113 int type = password != null ? LockPatternUtils.CREDENTIAL_TYPE_PASSWORD in initializeCredentialUnderSP() 114 : 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 | LockSettingsStorageTests.java | 33 import com.android.internal.widget.LockPatternUtils; 205 assertEquals(LockPatternUtils.CREDENTIAL_TYPE_NONE, mStorage.readCredentialHash(0).type); in testRemoveUser() 210 assertEquals(mStorage.readCredentialHash(0).type, LockPatternUtils.CREDENTIAL_TYPE_NONE); in testCredential_Default() 236 assertEquals(LockPatternUtils.CREDENTIAL_TYPE_PASSWORD, in testLockType_WriteProfileWritesParent() 238 assertEquals(LockPatternUtils.CREDENTIAL_TYPE_PATTERN, in testLockType_WriteProfileWritesParent() 241 assertEquals(LockPatternUtils.CREDENTIAL_TYPE_PASSWORD, in testLockType_WriteProfileWritesParent() 243 assertEquals(LockPatternUtils.CREDENTIAL_TYPE_PATTERN, in testLockType_WriteProfileWritesParent() 394 PAYLOAD, LockPatternUtils.CREDENTIAL_TYPE_PASSWORD).toBytes(); in testCredentialHash_serializeUnserialize() 398 assertEquals(LockPatternUtils.CREDENTIAL_TYPE_PASSWORD, deserialized.type); in testCredentialHash_serializeUnserialize() 415 assertEquals(LockPatternUtils.CREDENTIAL_TYPE_PASSWORD, deserialized.type); in testCredentialHash_unserialize_versionGatekeeper() [all …]
|
D | LockSettingsServiceTestable.java | 31 import com.android.internal.widget.LockPatternUtils; 42 private LockPatternUtils mLockPatternUtils; 47 IActivityManager activityManager, LockPatternUtils lockPatternUtils, in MockInjector() 84 public LockPatternUtils getLockPatternUtils() { in getLockPatternUtils() 109 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.SYNTHETIC_PASSWORD_ENABLED_KEY; 26 import static com.android.internal.widget.LockPatternUtils.SYNTHETIC_PASSWORD_HANDLE_KEY; 27 import static com.android.internal.widget.LockPatternUtils.USER_FRP; 28 import static com.android.internal.widget.LockPatternUtils.frpCredentialEnabled; 29 import static com.android.internal.widget.LockPatternUtils.userOwnsFrpCredential; 94 import com.android.internal.widget.LockPatternUtils; 164 private final LockPatternUtils mLockPatternUtils; 225 extends LockPatternUtils.StrongAuthTracker { 293 setLockCredentialInternal(newPassword, LockPatternUtils.CREDENTIAL_TYPE_PASSWORD, in tieManagedProfileLockIfNecessary() [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 | LockSettingsStrongAuth.java | 19 import static com.android.internal.widget.LockPatternUtils.StrongAuthTracker.STRONG_AUTH_NOT_REQUIR… 20 import static com.android.internal.widget.LockPatternUtils.StrongAuthTracker.STRONG_AUTH_REQUIRED_A… 22 import com.android.internal.widget.LockPatternUtils; 23 import com.android.internal.widget.LockPatternUtils.StrongAuthTracker;
|
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 …]
|
D | SyntheticPasswordManager.java | 41 import com.android.internal.widget.LockPatternUtils; 405 return LockPatternUtils.CREDENTIAL_TYPE_NONE; in getCredentialType() 577 if (credential == null || credentialType == LockPatternUtils.CREDENTIAL_TYPE_NONE) { in createPasswordBasedSyntheticPassword() 578 credentialType = LockPatternUtils.CREDENTIAL_TYPE_NONE; in createPasswordBasedSyntheticPassword() 653 && LockPatternUtils.userOwnsFrpCredential(mContext, userInfo)) { in migrateFrpPasswordLocked() 656 if (pwd.passwordType != LockPatternUtils.CREDENTIAL_TYPE_NONE) { in migrateFrpPasswordLocked() 670 && LockPatternUtils.userOwnsFrpCredential(mContext, in synchronizeFrpPassword() 672 if (pwd.passwordType != LockPatternUtils.CREDENTIAL_TYPE_NONE) { in synchronizeFrpPassword() 684 && LockPatternUtils.userOwnsFrpCredential(mContext, in synchronizeWeaverFrpPassword() 686 if (pwd.passwordType != LockPatternUtils.CREDENTIAL_TYPE_NONE) { in synchronizeWeaverFrpPassword() [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 | 33 import com.android.internal.widget.LockPatternUtils; 41 protected LockPatternUtils mLockPatternUtils; 67 public void setLockPatternUtils(LockPatternUtils utils) { in setLockPatternUtils() 97 mLockPatternUtils = new LockPatternUtils(mContext); in onFinishInflate()
|
D | KeyguardHostView.java | 34 import com.android.internal.widget.LockPatternUtils; 61 protected LockPatternUtils mLockPatternUtils; 147 mLockPatternUtils = new LockPatternUtils(mContext); in onFinishInflate() 431 public void setLockPatternUtils(LockPatternUtils utils) { in setLockPatternUtils()
|
D | EmergencyButton.java | 39 import com.android.internal.widget.LockPatternUtils; 79 private LockPatternUtils mLockPatternUtils; 114 mLockPatternUtils = new LockPatternUtils(mContext); in onFinishInflate()
|
D | KeyguardPatternView.java | 37 import com.android.internal.widget.LockPatternUtils; 70 private LockPatternUtils mLockPatternUtils; 133 public void setLockPatternUtils(LockPatternUtils utils) { in setLockPatternUtils() 141 ? new LockPatternUtils(mContext) : mLockPatternUtils; in onFinishInflate() 242 if (pattern.size() < LockPatternUtils.MIN_PATTERN_REGISTER_FAIL) { in onPatternDetected()
|
D | KeyguardSecurityContainer.java | 34 import com.android.internal.widget.LockPatternUtils; 46 private LockPatternUtils mLockPatternUtils; 81 mLockPatternUtils = new LockPatternUtils(context); in KeyguardSecurityContainer() 170 public void setLockPatternUtils(LockPatternUtils utils) { in setLockPatternUtils() 270 if (remainingBeforeWipe < LockPatternUtils.FAILED_ATTEMPTS_BEFORE_WIPE_GRACE) { in reportFailedUnlockAttempt()
|
/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 | 26 import com.android.internal.widget.LockPatternUtils; 51 private final LockPatternUtils mLockPatternUtils; 55 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/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/tests/src/com/android/systemui/statusbar/phone/ |
D | KeyguardBouncerTest.java | 29 import com.android.internal.widget.LockPatternUtils; 47 mock(ViewMediatorCallback.class), mock(LockPatternUtils.class), container, mock( in inflateDetached()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | SystemUIFactory.java | 25 import com.android.internal.widget.LockPatternUtils; 76 ViewMediatorCallback viewMediatorCallback, LockPatternUtils lockPatternUtils) { in createStatusBarKeyguardViewManager() 81 LockPatternUtils lockPatternUtils, in createKeyguardBouncer()
|
/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()
|