/frameworks/base/services/tests/servicestests/src/com/android/server/ |
D | SyntheticPasswordTests.java | 19 import static com.android.internal.widget.LockPatternUtils.SYNTHETIC_PASSWORD_ENABLED_KEY; 20 import static com.android.internal.widget.LockPatternUtils.SYNTHETIC_PASSWORD_HANDLE_KEY; 25 import com.android.internal.widget.LockPatternUtils; 54 LockPatternUtils.CREDENTIAL_TYPE_PASSWORD, authToken, USER_ID); in testPasswordBasedSyntheticPassword() 79 …mService.setLockCredential(PASSWORD, LockPatternUtils.CREDENTIAL_TYPE_PASSWORD, null, PRIMARY_USER… in testPasswordMigration() 85 …mService.verifyCredential(PASSWORD, LockPatternUtils.CREDENTIAL_TYPE_PASSWORD, 0, PRIMARY_USER_ID)… in testPasswordMigration() 91 …mService.verifyCredential(PASSWORD, LockPatternUtils.CREDENTIAL_TYPE_PASSWORD, 0, PRIMARY_USER_ID)… in testPasswordMigration() 97 …etLockCredential(password, password != null ? LockPatternUtils.CREDENTIAL_TYPE_PASSWORD : LockPatt… in initializeCredentialUnderSP() 106 …mService.setLockCredential(NEWPASSWORD, LockPatternUtils.CREDENTIAL_TYPE_PASSWORD, PASSWORD, PRIMA… in testSyntheticPasswordChangeCredential() 109 …mService.verifyCredential(NEWPASSWORD, LockPatternUtils.CREDENTIAL_TYPE_PASSWORD, 0, PRIMARY_USER_… in testSyntheticPasswordChangeCredential() [all …]
|
D | LockSettingsServiceTests.java | 19 import static com.android.internal.widget.LockPatternUtils.CREDENTIAL_TYPE_NONE; 20 import static com.android.internal.widget.LockPatternUtils.CREDENTIAL_TYPE_PASSWORD; 21 import static com.android.internal.widget.LockPatternUtils.CREDENTIAL_TYPE_PATTERN; 26 import com.android.internal.widget.LockPatternUtils; 96 mService.setLockCredential(UnifiedPassword, LockPatternUtils.CREDENTIAL_TYPE_PASSWORD, null, in testManagedProfileUnifiedChallenge() 115 UnifiedPassword, LockPatternUtils.CREDENTIAL_TYPE_PASSWORD, 0, PRIMARY_USER_ID) in testManagedProfileUnifiedChallenge() 131 mService.setLockCredential("pwd", LockPatternUtils.CREDENTIAL_TYPE_PASSWORD, in testManagedProfileUnifiedChallenge() 138 mService.setLockCredential(null, LockPatternUtils.CREDENTIAL_TYPE_NONE, UnifiedPassword, in testManagedProfileUnifiedChallenge() 148 mService.setLockCredential(primaryPassword, LockPatternUtils.CREDENTIAL_TYPE_PASSWORD, null, in testManagedProfileSeparateChallenge() 155 mService.setLockCredential(profilePassword, LockPatternUtils.CREDENTIAL_TYPE_PASSWORD, null, in testManagedProfileSeparateChallenge() [all …]
|
D | LockSettingsStorageTests.java | 34 import com.android.internal.widget.LockPatternUtils; 201 assertEquals(LockPatternUtils.CREDENTIAL_TYPE_NONE, mStorage.readCredentialHash(0).type); in testRemoveUser() 206 assertEquals(mStorage.readCredentialHash(0).type, LockPatternUtils.CREDENTIAL_TYPE_NONE); in testCredential_Default() 232 assertEquals(LockPatternUtils.CREDENTIAL_TYPE_PASSWORD, in testLockType_WriteProfileWritesParent() 234 assertEquals(LockPatternUtils.CREDENTIAL_TYPE_PATTERN, in testLockType_WriteProfileWritesParent() 237 assertEquals(LockPatternUtils.CREDENTIAL_TYPE_PASSWORD, in testLockType_WriteProfileWritesParent() 239 assertEquals(LockPatternUtils.CREDENTIAL_TYPE_PATTERN, in testLockType_WriteProfileWritesParent() 354 password, LockPatternUtils.CREDENTIAL_TYPE_PASSWORD), userId); in writePasswordBytes() 359 pattern, LockPatternUtils.CREDENTIAL_TYPE_PATTERN), userId); in writePatternBytes() 364 assertEquals(LockPatternUtils.CREDENTIAL_TYPE_PASSWORD, cred.type); in assertPasswordBytes() [all …]
|
D | LockSettingsServiceTestable.java | 30 import com.android.internal.widget.LockPatternUtils; 41 private LockPatternUtils mLockPatternUtils; 46 IActivityManager activityManager, LockPatternUtils lockPatternUtils, in MockInjector() 83 public LockPatternUtils getLockPatternUtils() { in getLockPatternUtils() 110 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;
|
D | BaseLockSettingsServiceTests.java | 37 import com.android.internal.widget.LockPatternUtils; 65 LockPatternUtils mLockPatternUtils; 78 mLockPatternUtils = mock(LockPatternUtils.class); in setUp()
|
/frameworks/base/services/core/java/com/android/server/ |
D | LockSettingsService.java | 22 import static com.android.internal.widget.LockPatternUtils.StrongAuthTracker.STRONG_AUTH_REQUIRED_A… 23 import static com.android.internal.widget.LockPatternUtils.SYNTHETIC_PASSWORD_ENABLED_KEY; 24 import static com.android.internal.widget.LockPatternUtils.SYNTHETIC_PASSWORD_HANDLE_KEY; 85 import com.android.internal.widget.LockPatternUtils; 148 private final LockPatternUtils mLockPatternUtils; 201 extends LockPatternUtils.StrongAuthTracker { 268 setLockCredentialInternal(newPassword, LockPatternUtils.CREDENTIAL_TYPE_PASSWORD, in tieManagedProfileLockIfNecessary() 273 setLong(LockPatternUtils.PASSWORD_TYPE_KEY, in tieManagedProfileLockIfNecessary() 307 storage.writeKeyValue(db, LockPatternUtils.DISABLE_LOCKSCREEN_KEY, "1", 0); in getStorage() 326 public LockPatternUtils getLockPatternUtils() { in getLockPatternUtils() [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; 41 private final LockPatternUtils mLockPatternUtils; 46 LockSettingsShellCommand(Context context, LockPatternUtils lockPatternUtils) { in LockSettingsShellCommand()
|
D | LockSettingsStorage.java | 36 import com.android.internal.widget.LockPatternUtils; 85 if (type != LockPatternUtils.CREDENTIAL_TYPE_NONE) { in CredentialHash() 102 this.type = LockPatternUtils.CREDENTIAL_TYPE_PATTERN; in CredentialHash() 108 if (type == LockPatternUtils.CREDENTIAL_TYPE_NONE) { in create() 115 return new CredentialHash(null, LockPatternUtils.CREDENTIAL_TYPE_NONE, in createEmptyHash() 213 return new CredentialHash(stored, LockPatternUtils.CREDENTIAL_TYPE_PASSWORD, in readPasswordHashIfExists() 219 return new CredentialHash(stored, LockPatternUtils.CREDENTIAL_TYPE_PASSWORD, in readPasswordHashIfExists() 228 return new CredentialHash(stored, LockPatternUtils.CREDENTIAL_TYPE_PATTERN, in readPatternHashIfExists() 239 return new CredentialHash(stored, LockPatternUtils.CREDENTIAL_TYPE_PATTERN, in readPatternHashIfExists() 382 if (hash.type == LockPatternUtils.CREDENTIAL_TYPE_PASSWORD) { in writeCredentialHash() [all …]
|
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;
|
/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 | 33 import com.android.internal.widget.LockPatternUtils; 45 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()
|
D | KeyguardStatusView.java | 38 import com.android.internal.widget.LockPatternUtils; 48 private final LockPatternUtils mLockPatternUtils; 106 mLockPatternUtils = new LockPatternUtils(getContext()); in KeyguardStatusView()
|
D | NumPadKey.java | 31 import com.android.internal.widget.LockPatternUtils; 93 mEnableHaptics = new LockPatternUtils(context).isTactileFeedbackEnabled(); in NumPadKey()
|
/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()
|
D | KeyguardBouncer.java | 32 import com.android.internal.widget.LockPatternUtils; 55 protected final LockPatternUtils mLockPatternUtils; 74 LockPatternUtils lockPatternUtils, ViewGroup container, in KeyguardBouncer()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | SystemUIFactory.java | 25 import com.android.internal.widget.LockPatternUtils; 74 ViewMediatorCallback viewMediatorCallback, LockPatternUtils lockPatternUtils) { in createStatusBarKeyguardViewManager() 79 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()
|