Home
last modified time | relevance | path

Searched refs:setLockCredential (Results 1 – 22 of 22) sorted by relevance

/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
H A DLockSettingsServiceTests.java148 assertTrue(mService.setLockCredential( in testManagedProfileUnifiedChallenge()
202 assertTrue(mService.setLockCredential( in testManagedProfileSeparateChallenge()
219 assertTrue(mService.setLockCredential( in testManagedProfileChallengeUnification_parentUserNoPassword()
233 assertTrue(mService.setLockCredential( in testSetLockCredential_forPrimaryUser_sendsCredentials()
246 assertTrue(mService.setLockCredential( in testSetLockCredential_forProfileWithSeparateChallenge_sendsCredentials()
265 assertTrue(mService.setLockCredential( in testSetLockCredential_forProfileWithSeparateChallenge_updatesCredentials()
280 assertTrue(mService.setLockCredential( in testSetLockCredential_forProfileWithUnifiedChallenge_doesNotSendRandomCredential()
300 assertTrue(mService.setLockCredential( in testSetLockCredential_forPrimaryUserWithUnifiedChallengeProfile_updatesBothCredentials()
320 assertTrue(mService.setLockCredential( in testSetLockCredential_forPrimaryUserWithUnifiedChallengeProfile_removesBothCredentials()
357 assertTrue(mService.setLockCredential( in testSetLockCredential_forUnifiedToSeparateChallengeProfile_sendsNewCredentials()
[all …]
H A DLockscreenFrpTest.java51 mService.setLockCredential(newPin("1234"), nonePassword(), PRIMARY_USER_ID); in testFrpCredential_setPin()
61 mService.setLockCredential(newPattern("4321"), nonePassword(), PRIMARY_USER_ID); in testFrpCredential_setPattern()
71 mService.setLockCredential(newPassword("4321"), nonePassword(), PRIMARY_USER_ID); in testFrpCredential_setPassword()
81 mService.setLockCredential(newPassword("1234"), nonePassword(), PRIMARY_USER_ID); in testFrpCredential_changeCredential()
82 mService.setLockCredential(newPattern("5678"), newPassword("1234"), PRIMARY_USER_ID); in testFrpCredential_changeCredential()
92 mService.setLockCredential(newPassword("1234"), nonePassword(), PRIMARY_USER_ID); in testFrpCredential_removeCredential()
95 mService.setLockCredential(nonePassword(), newPassword("1234"), PRIMARY_USER_ID); in testFrpCredential_removeCredential()
101 mService.setLockCredential(newPin("1234"), nonePassword(), PRIMARY_USER_ID); in testFrpCredential_cannotVerifyAfterProvsioning()
111 mService.setLockCredential(newPin("1234"), nonePassword(), PRIMARY_USER_ID); in testFrpCredential_legacyPinTypePersistentData()
128 mService.setLockCredential(newPassword("1234"), nonePassword(), PRIMARY_USER_ID); in testFrpCredential_legacyPasswordTypePersistentData()
H A DLockSettingsShellCommandTest.java108 verify(mLockPatternUtils, never()).setLockCredential(any(), any(), anyInt()); in testWrongPassword()
125 verify(mLockPatternUtils).setLockCredential( in testChangePin()
145 verify(mLockPatternUtils, never()).setLockCredential(any(), any(), anyInt()); in testChangePin_nonCompliant()
172 verify(mLockPatternUtils).setLockCredential( in testChangePassword()
192 verify(mLockPatternUtils, never()).setLockCredential(any(), any(), anyInt()); in testChangePassword_nonCompliant()
218 verify(mLockPatternUtils).setLockCredential( in testChangePattern()
237 verify(mLockPatternUtils, never()).setLockCredential(any(), any(), anyInt()); in testChangePattern_nonCompliant()
263 verify(mLockPatternUtils).setLockCredential( in testClear()
282 verify(mLockPatternUtils, never()).setLockCredential(any(), any(), anyInt()); in testClear_nonCompliant()
324 verify(mLockPatternUtils).setLockCredential( in testSetPin_compliantWithComplexity()
[all …]
H A DSyntheticPasswordTests.java108 assertTrue(mService.setLockCredential(password, nonePassword(), userId)); in initializeCredentialUnderSP()
120 mService.setLockCredential(newPassword, password, PRIMARY_USER_ID); in testSyntheticPasswordChangeCredential()
147 mService.setLockCredential(nonePassword(), password, PRIMARY_USER_ID); in testSyntheticPasswordClearCredential()
151 mService.setLockCredential(badPassword, nonePassword(), PRIMARY_USER_ID); in testSyntheticPasswordClearCredential()
163 mService.setLockCredential(badPassword, password, PRIMARY_USER_ID); in testSyntheticPasswordChangeCredentialKeepsAuthSecret()
217 mService.setLockCredential(nonePassword(), password, PRIMARY_USER_ID); in testSyntheticPasswordButNoCredentialPassesAuthSecret()
301 mService.setLockCredential(pattern, password, PRIMARY_USER_ID); in testTokenBasedResetPasswordAfterCredentialChanges()
345 mService.setLockCredential(password, nonePassword(), PRIMARY_USER_ID); in testEscrowTokenActivatedLaterWithUserPasswordNeedsMigration()
432 mService.setLockCredential(password, nonePassword(), PRIMARY_USER_ID); in testGetHashFactorPrimaryUser()
436 mService.setLockCredential(nonePassword(), password, PRIMARY_USER_ID); in testGetHashFactorPrimaryUser()
[all …]
/aosp12/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/users/
H A DRestrictedProfilePinStorageTest.java94 verify(mLockPatternUtils, never()).setLockCredential( in testSetPinWhenNoPinIsSet_success()
109 verify(mLockPatternUtils, never()).setLockCredential( in testSetPinWhenWrongPinIsInput_fail()
125 verify(mLockPatternUtils, never()).setLockCredential( in testSetPinWhenCorrectPinIsInput_success()
138 verify(mLockPatternUtils, never()).setLockCredential( in testDeletePin_success()
151 verify(mLockPatternUtils, never()).setLockCredential( in testDeletePin_fail()
223 verify(mLockPatternUtils, never()).setLockCredential( in testMigrationToInternalStorage_SetPin()
/aosp12/packages/apps/Car/Settings/src/com/android/car/settings/setupservice/
H A DInitialLockSetupService.java162 lockPatternUtils.setLockCredential( in setLock()
173 lockPatternUtils.setLockCredential( in setLock()
183 lockPatternUtils.setLockCredential( in setLock()
/aosp12/frameworks/base/services/core/java/com/android/server/locksettings/
H A DLockSettingsShellCommand.java255 mLockPatternUtils.setLockCredential(pattern, getOldCredential(), mCurrentUserId); in runSetPattern()
265 mLockPatternUtils.setLockCredential(password, getOldCredential(), mCurrentUserId); in runSetPassword()
275 mLockPatternUtils.setLockCredential(pin, getOldCredential(), mCurrentUserId); in runSetPin()
296 mLockPatternUtils.setLockCredential(none, getOldCredential(), mCurrentUserId); in runClear()
H A DLockSettingsService.java1609 public boolean setLockCredential(LockscreenCredential credential, in setLockCredential() method in LockSettingsService
/aosp12/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
H A DShadowLockPatternUtils.java95 public boolean setLockCredential(LockscreenCredential newCredential, in setLockCredential() method in ShadowLockPatternUtils
/aosp12/packages/apps/Car/Settings/src/com/android/car/settings/security/
H A DNoLockPreferenceController.java43 new LockPatternUtils(getContext()).setLockCredential(
H A DSaveLockWorker.java144 getUtils().setLockCredential(mEnteredCredential, mCurrentCredential, userId); in saveLock()
/aosp12/packages/apps/TvSettings/Settings/src/com/android/tv/settings/users/
H A DRestrictedProfilePinStorage.java179 mLockPatternUtils.setLockCredential(LockscreenCredential.createNone(), oldPin, in clearLockPassword()
/aosp12/frameworks/base/core/java/com/android/internal/widget/
H A DILockSettings.aidl46 …boolean setLockCredential(in LockscreenCredential credential, in LockscreenCredential savedCredent… in setLockCredential() method
H A DLockPatternUtils.java686 public boolean setLockCredential(@NonNull LockscreenCredential newCredential, in setLockCredential() method in LockPatternUtils
695 if (!getLockSettings().setLockCredential(newCredential, savedCredential, userHandle)) { in setLockCredential()
/aosp12/frameworks/base/core/java/android/app/
H A DKeyguardManager.java802 success = lockPatternUtils.setLockCredential( in setLock()
841 return lockPatternUtils.setLockCredential(newCredential, currentCredential, userId); in setLock()
/aosp12/packages/apps/Settings/src/com/android/settings/password/
H A DChooseLockPattern.java910 final boolean success = mUtils.setLockCredential(mChosenPattern, mCurrentCredential, in saveAndVerifyInBackground()
H A DChooseLockGeneric.java880 mLockPatternUtils.setLockCredential( in updateUnlockMethodAndFinish()
H A DChooseLockPassword.java1015 final boolean success = mUtils.setLockCredential( in saveAndVerifyInBackground()
/aosp12/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
H A DDatabaseHelper.java1970 lpu.setLockCredential( in upgradeLockPatternLocation()
/aosp12/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
H A DDevicePolicyManagerService.java5191 if (!mLockPatternUtils.setLockCredential(newCredential,
/aosp12/frameworks/base/boot/hiddenapi/
H A Dhiddenapi-max-target-o.txt89823 Lcom/android/internal/widget/ILockSettings$Stub$Proxy;->setLockCredential(Ljava/lang/String;ILjava/…
89895 Lcom/android/internal/widget/ILockSettings;->setLockCredential(Ljava/lang/String;ILjava/lang/String…
/aosp12/frameworks/base/services/
H A Dart-profile23485 PLcom/android/server/locksettings/LockSettingsService;->setLockCredential(Lcom/android/internal/wid…