Home
last modified time | relevance | path

Searched refs:isPinCorrect (Results 1 – 6 of 6) sorted by relevance

/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/users/
DRestrictedProfilePinStorageTest.java91 verify(mPinService, never()).isPinCorrect(anyString()); in testSetPinWhenNoPinIsSet_success()
106 verify(mPinService).isPinCorrect(eq(mWrongPin)); in testSetPinWhenWrongPinIsInput_fail()
122 verify(mPinService).isPinCorrect(eq(mOriginalPin)); in testSetPinWhenCorrectPinIsInput_success()
136 verify(mPinService).isPinCorrect(mOriginalPin); in testDeletePin_success()
149 verify(mPinService).isPinCorrect(mWrongPin); in testDeletePin_fail()
160 boolean isPinCorrect = mPinStorage.isPinCorrect(mOriginalPin); in testIsPinCorrect()
164 verify(mPinService).isPinCorrect(eq(mOriginalPin)); in testIsPinCorrect()
165 assertThat(isPinCorrect).isTrue(); in testIsPinCorrect()
172 mPinStorage.isPinCorrect(mOriginalPin); in testIsPinCorrect_legacy()
176 verify(mPinService, never()).isPinCorrect(anyString()); in testIsPinCorrect_legacy()
[all …]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/users/
DRestrictedProfilePinDialogFragment.java127 public void isPinCorrect(String pin, Consumer<Boolean> consumer) { in isPinCorrect() method in RestrictedProfilePinDialogFragment
130 boolean isPinCorrect = mRestrictedProfilePinStorage.isPinCorrect(pin); in isPinCorrect()
131 mUiThreadHandler.post(() -> consumer.accept(isPinCorrect)); in isPinCorrect()
DRestrictedProfilePinStorage.java86 if (!isPinSet() || isPinCorrect(originalPin)) { in setPin()
100 if (isPinCorrect(oldPin)) { in deletePin()
113 boolean isPinCorrect(@NonNull String pin) { in isPinCorrect() method in RestrictedProfilePinStorage
155 return getPinService().isPinCorrect(originalPin); in isPinCorrectInternal()
DIRestrictedProfilePinService.aidl27 boolean isPinCorrect(in String pin); in isPinCorrect() method
DRestrictedProfilePinService.java68 public boolean isPinCorrect(String pin) { in isPinCorrect() method in RestrictedProfilePinService.PinServiceImpl
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/
DPinDialogFragment.java156 public abstract void isPinCorrect(String pin, Consumer<Boolean> consumer); in isPinCorrect() method in PinDialogFragment
287 isPinCorrect(pin, pinCorrect -> {
298 isPinCorrect(pin, pinIsCorrect -> {
333 isPinCorrect(pin, pinIsCorrect -> {