Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/unit/src/com/android/settings/password/
DSaveAndFinishWorkerTest.java46 when(lpu.setLockCredential(chosenCredential, currentCredential, userId)).thenReturn(false); in testSetRequestWriteRepairModePassword_setLockCredentialFail()
52 verify(lpu).setLockCredential(chosenCredential, currentCredential, userId); in testSetRequestWriteRepairModePassword_setLockCredentialFail()
67 when(lpu.setLockCredential(chosenCredential, currentCredential, userId)).thenReturn(true); in testSetRequestWriteRepairModePassword_verifyCredentialFail()
74 verify(lpu).setLockCredential(chosenCredential, currentCredential, userId); in testSetRequestWriteRepairModePassword_verifyCredentialFail()
92 when(lpu.setLockCredential(chosenCredential, currentCredential, userId)).thenReturn(true); in testSetRequestWriteRepairModePassword_verifyCredentialSucceed()
99 verify(lpu).setLockCredential(chosenCredential, currentCredential, userId); in testSetRequestWriteRepairModePassword_verifyCredentialSucceed()
118 when(lpu.setLockCredential(chosenCredential, currentCredential, userId)).thenReturn(true); in testSetRequestWriteRepairModePassword_verifyCredentialSucceed_noGkPwHandle()
126 verify(lpu).setLockCredential(chosenCredential, currentCredential, userId); in testSetRequestWriteRepairModePassword_verifyCredentialSucceed_noGkPwHandle()
/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/users/
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()
/packages/apps/TvSettings/unbundle/java/com/android/tv/settings/unbundle/sdklib/
DLockPatternUtilsCompat.java32 public boolean setLockCredential(@NonNull LockscreenCredentialCompat newCredentialCompat, in setLockCredential() method in LockPatternUtilsCompat
34 return mLockPatternUtils.setLockCredential(newCredentialCompat.mLockscreenCredential, in setLockCredential()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DShadowLockPatternUtils.java95 public boolean setLockCredential(LockscreenCredential newCredential, in setLockCredential() method in ShadowLockPatternUtils
/packages/apps/Car/Settings/src/com/android/car/settings/security/
DNoLockPreferenceController.java46 new LockPatternUtils(getContext()).setLockCredential(
DSaveLockWorker.java139 getUtils().setLockCredential(mEnteredCredential, mCurrentCredential, getUserId()); in saveLock()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/users/
DRestrictedProfilePinStorage.java182 mLockPatternUtils.setLockCredential(LockscreenCredential.createNone(), oldPin, in clearLockPassword()
/packages/apps/Car/Settings/src/com/android/car/settings/setupservice/
DInitialLockSetupService.java159 if (!lockPatternUtils.setLockCredential(credential, in setLock()
/packages/apps/Settings/src/com/android/settings/password/
DSaveAndFinishWorker.java111 if (!mUtils.setLockCredential(mChosenCredential, mCurrentCredential, userId)) { in saveAndVerifyInBackground()
DChooseLockGeneric.java860 mLockPatternUtils.setLockCredential( in updateUnlockMethodAndFinish()
/packages/apps/Settings/tests/robotests/testutils/com/android/settings/testutils/shadow/
DShadowLockPatternUtils.java184 public boolean setLockCredential( in setLockCredential() method in ShadowLockPatternUtils