/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/ |
D | LockscreenFrpTest.java | 63 mService.setLockCredential(newPin("1234"), nonePassword(), PRIMARY_USER_ID); in testFrpCredential_setPin() 73 mService.setLockCredential(newPattern("4321"), nonePassword(), PRIMARY_USER_ID); in testFrpCredential_setPattern() 83 mService.setLockCredential(newPassword("4321"), nonePassword(), PRIMARY_USER_ID); in testFrpCredential_setPassword() 93 mService.setLockCredential(newPassword("1234"), nonePassword(), PRIMARY_USER_ID); in testFrpCredential_changeCredential() 94 mService.setLockCredential(newPattern("5678"), newPassword("1234"), PRIMARY_USER_ID); in testFrpCredential_changeCredential() 104 mService.setLockCredential(newPassword("1234"), nonePassword(), PRIMARY_USER_ID); in testFrpCredential_removeCredential() 108 mService.setLockCredential(nonePassword(), newPassword("1234"), PRIMARY_USER_ID); in testFrpCredential_removeCredential() 114 mService.setLockCredential(newPin("1234"), nonePassword(), PRIMARY_USER_ID); in testFrpCredential_cannotVerifyAfterProvsioning() 124 mService.setLockCredential(newPin("1234"), nonePassword(), PRIMARY_USER_ID); in testFrpCredential_legacyPinTypePersistentData() 141 mService.setLockCredential(newPassword("1234"), nonePassword(), PRIMARY_USER_ID); in testFrpCredential_legacyPasswordTypePersistentData() [all …]
|
D | LockscreenRepairModeTest.java | 53 mService.setLockCredential(newPin("1234"), nonePassword(), PRIMARY_USER_ID); in verifyPin_writeRepairModePW() 66 mService.setLockCredential(newPattern("4321"), nonePassword(), PRIMARY_USER_ID); in verifyPattern_writeRepairModePW() 79 mService.setLockCredential(newPassword("4321"), nonePassword(), PRIMARY_USER_ID); in verifyPassword_writeRepairModePW() 92 mService.setLockCredential(newPin("1234"), nonePassword(), PRIMARY_USER_ID); in verifyCredential_writeRepairModePW_repairModeActive() 105 mService.setLockCredential(newPin("1234"), nonePassword(), PRIMARY_USER_ID); in deleteRepairModePersistentData() 120 mService.setLockCredential(newPin("1234"), nonePassword(), PRIMARY_USER_ID); in verifyPin_userRepairMode() 137 mService.setLockCredential(newPattern("4321"), nonePassword(), PRIMARY_USER_ID); in verifyPattern_userRepairMode() 154 mService.setLockCredential(newPassword("4321"), nonePassword(), PRIMARY_USER_ID); in verifyPassword_userRepairMode() 171 mService.setLockCredential(newPin("1234"), nonePassword(), PRIMARY_USER_ID); in verifyCredential_userRepairMode_repairModeIsNotActive() 187 mService.setLockCredential(newPin("1234"), nonePassword(), PRIMARY_USER_ID); in verifyCredential_userRepairMode_wrongPin()
|
D | LockSettingsShellCommandTest.java | 111 verify(mLockPatternUtils, never()).setLockCredential(any(), any(), anyInt()); in testWrongPassword() 128 verify(mLockPatternUtils).setLockCredential( in testChangePin() 148 verify(mLockPatternUtils, never()).setLockCredential(any(), any(), anyInt()); in testChangePin_nonCompliant() 175 verify(mLockPatternUtils).setLockCredential( in testChangePassword() 195 verify(mLockPatternUtils, never()).setLockCredential(any(), any(), anyInt()); in testChangePassword_nonCompliant() 221 verify(mLockPatternUtils).setLockCredential( in testChangePattern() 240 verify(mLockPatternUtils, never()).setLockCredential(any(), any(), anyInt()); in testChangePattern_nonCompliant() 266 verify(mLockPatternUtils).setLockCredential( in testClear() 285 verify(mLockPatternUtils, never()).setLockCredential(any(), any(), anyInt()); in testClear_nonCompliant() 306 verify(mLockPatternUtils, never()).setLockCredential(any(), any(), anyInt()); in testSetPin_nonCompliantWithComplexity() [all …]
|
D | SyntheticPasswordTests.java | 135 assertTrue(mService.setLockCredential(credential, nonePassword(), userId)); in initSpAndSetCredential() 166 mService.setLockCredential(newPassword("password"), nonePassword(), PRIMARY_USER_ID); in testNonEmptyFrpCredentialSyncedIfDeviceNotProvisioned() 177 mService.setLockCredential(newPassword, password, PRIMARY_USER_ID); in testChangeCredential() 205 mService.setLockCredential(nonePassword(), password, PRIMARY_USER_ID); in testClearCredential() 209 mService.setLockCredential(badPassword, nonePassword(), PRIMARY_USER_ID); in testClearCredential() 221 mService.setLockCredential(newPassword, password, PRIMARY_USER_ID); in testChangeCredentialKeepsAuthSecret() 267 mService.setLockCredential(nonePassword(), password, PRIMARY_USER_ID); in testUnlockUserKeyIfUnsecuredPassesPrimaryUserAuthSecretIfPasswordIsCleared() 400 mService.setLockCredential(pattern, password, PRIMARY_USER_ID); in testTokenBasedResetPasswordAfterCredentialChanges() 523 mService.setLockCredential(nonePassword(), password, PRIMARY_USER_ID); in testGetHashFactorPrimaryUser() 536 mService.setLockCredential(pattern, nonePassword(), PRIMARY_USER_ID); in testGetHashFactorManagedProfileUnifiedChallenge() [all …]
|
D | LockSettingsServiceTests.java | 94 mService.setLockCredential(newPattern("123"), nonePassword(), PRIMARY_USER_ID); in testSetTooShortPatternFails() 99 mService.setLockCredential(newPin("123"), nonePassword(), PRIMARY_USER_ID); in testSetTooShortPinFails() 104 mService.setLockCredential(newPassword("123"), nonePassword(), PRIMARY_USER_ID); in testSetTooShortPassword() 109 mService.setLockCredential(newPassword("§µ¿¶¥£"), nonePassword(), PRIMARY_USER_ID); in testSetPasswordWithInvalidChars() 135 assertFalse(mService.setLockCredential(newPassword("newpwd"), newPassword("badpwd"), in testChangePasswordFailPrimaryUser() 487 mService.setLockCredential(newPassword("1234"), nonePassword(), PRIMARY_USER_ID); in testSetCredentialNotPossibleInSecureFrpModeDuringSuw() 507 mService.setLockCredential(newPassword("1234"), nonePassword(), PRIMARY_USER_ID); in testSetCredentialNotPossibleInSecureFrpModeAfterSuw_FlagOn() 582 mService.setLockCredential(credential, nonePassword(), userId); in testSetCredentialFailsWithoutLockScreen() 643 assertTrue(mService.setLockCredential(newCredential, oldCredential, userId)); in setCredential()
|
D | WeakEscrowTokenTests.java | 79 mService.setLockCredential(password, nonePassword(), PRIMARY_USER_ID); in testWeakTokenActivatedLaterWithUserPassword() 102 mService.setLockCredential(password, nonePassword(), PRIMARY_USER_ID); in testWeakTokensRemovedIfCredentialChanged() 161 mService.setLockCredential(password, nonePassword(), PRIMARY_USER_ID); in testUnlockUserWithToken_weakEscrowToken()
|
/frameworks/base/services/core/java/com/android/server/locksettings/ |
D | LockSettingsShellCommand.java | 247 mLockPatternUtils.setLockCredential(pattern, getOldCredential(), mCurrentUserId); in runSetPattern() 257 mLockPatternUtils.setLockCredential(password, getOldCredential(), mCurrentUserId); in runSetPassword() 267 mLockPatternUtils.setLockCredential(pin, getOldCredential(), mCurrentUserId); in runSetPin() 306 mLockPatternUtils.setLockCredential(none, getOldCredential(), mCurrentUserId); in runClear()
|
D | LockSettingsService.java | 1814 public boolean setLockCredential(LockscreenCredential credential, in setLockCredential() method in LockSettingsService
|
/frameworks/base/tests/TrustTests/src/android/trust/test/lib/ |
D | ScreenLockRule.kt | 127 lockPatternUtils.setLockCredential( in <lambda>() 142 var lockCredentialUnset = lockPatternUtils.setLockCredential( in <lambda>()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | ILockSettings.aidl | 50 …boolean setLockCredential(in LockscreenCredential credential, in LockscreenCredential savedCredent… in setLockCredential() method
|
D | LockPatternUtils.java | 790 public boolean setLockCredential(@NonNull LockscreenCredential newCredential, in setLockCredential() method in LockPatternUtils 798 if (!getLockSettings().setLockCredential(newCredential, savedCredential, userHandle)) { in setLockCredential()
|
/frameworks/base/core/java/android/app/ |
D | KeyguardManager.java | 1036 success = mLockPatternUtils.setLockCredential( in setLock() 1226 return mLockPatternUtils.setLockCredential(newCredential, currentCredential, userId); in setLock()
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
D | DatabaseHelper.java | 1956 lpu.setLockCredential( in upgradeLockPatternLocation()
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | DevicePolicyManagerService.java | 5962 if (!mLockPatternUtils.setLockCredential(newCredential,
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 85857 Lcom/android/internal/widget/ILockSettings$Stub$Proxy;->setLockCredential(Ljava/lang/String;ILjava/… 85929 Lcom/android/internal/widget/ILockSettings;->setLockCredential(Ljava/lang/String;ILjava/lang/String…
|