Home
last modified time | relevance | path

Searched refs:VerifyCredentialResponse (Results 1 – 23 of 23) sorted by relevance

/frameworks/base/core/java/com/android/internal/widget/
DVerifyCredentialResponse.java33 public final class VerifyCredentialResponse implements Parcelable { class
44 public static final VerifyCredentialResponse OK = new VerifyCredentialResponse.Builder()
46 public static final VerifyCredentialResponse ERROR = fromError();
54 public static final Parcelable.Creator<VerifyCredentialResponse> CREATOR
55 = new Parcelable.Creator<VerifyCredentialResponse>() {
57 public VerifyCredentialResponse createFromParcel(Parcel source) {
63 return new VerifyCredentialResponse(responseCode, timeout, gatekeeperHAT,
68 public VerifyCredentialResponse[] newArray(int size) {
69 return new VerifyCredentialResponse[size];
95 public VerifyCredentialResponse build() { in build()
[all …]
DILockSettings.aidl32 import com.android.internal.widget.VerifyCredentialResponse;
52 VerifyCredentialResponse checkCredential(in LockscreenCredential credential, int userId, in checkCredential()
54VerifyCredentialResponse verifyCredential(in LockscreenCredential credential, int userId, int flag… in verifyCredential()
55VerifyCredentialResponse verifyTiedProfileChallenge(in LockscreenCredential credential, int userId… in verifyTiedProfileChallenge()
56VerifyCredentialResponse verifyGatekeeperPasswordHandle(long gatekeeperPasswordHandle, long challe… in verifyGatekeeperPasswordHandle()
DLockPatternUtils.java461 public VerifyCredentialResponse verifyCredential(@NonNull LockscreenCredential credential, in verifyCredential()
465 final VerifyCredentialResponse response = getLockSettings().verifyCredential( in verifyCredential()
468 return VerifyCredentialResponse.ERROR; in verifyCredential()
474 return VerifyCredentialResponse.ERROR; in verifyCredential()
484 public VerifyCredentialResponse verifyGatekeeperPasswordHandle(long gatekeeperPasswordHandle, in verifyGatekeeperPasswordHandle()
487 final VerifyCredentialResponse response = getLockSettings() in verifyGatekeeperPasswordHandle()
490 return VerifyCredentialResponse.ERROR; in verifyGatekeeperPasswordHandle()
495 return VerifyCredentialResponse.ERROR; in verifyGatekeeperPasswordHandle()
523 VerifyCredentialResponse response = getLockSettings().checkCredential( in checkCredential()
527 } else if (response.getResponseCode() == VerifyCredentialResponse.RESPONSE_OK) { in checkCredential()
[all …]
DVerifyCredentialResponse.aidl23 parcelable VerifyCredentialResponse;
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DLockscreenRepairModeTest.java33 import com.android.internal.widget.VerifyCredentialResponse;
56 assertEquals(VerifyCredentialResponse.RESPONSE_OK, in verifyPin_writeRepairModePW()
69 assertEquals(VerifyCredentialResponse.RESPONSE_OK, in verifyPattern_writeRepairModePW()
82 assertEquals(VerifyCredentialResponse.RESPONSE_OK, in verifyPassword_writeRepairModePW()
96 assertEquals(VerifyCredentialResponse.RESPONSE_ERROR, in verifyCredential_writeRepairModePW_repairModeActive()
107 assertEquals(VerifyCredentialResponse.RESPONSE_OK, in deleteRepairModePersistentData()
122 assertEquals(VerifyCredentialResponse.RESPONSE_OK, in verifyPin_userRepairMode()
130 assertEquals(VerifyCredentialResponse.RESPONSE_OK, in verifyPin_userRepairMode()
139 assertEquals(VerifyCredentialResponse.RESPONSE_OK, in verifyPattern_userRepairMode()
147 assertEquals(VerifyCredentialResponse.RESPONSE_OK, in verifyPattern_userRepairMode()
[all …]
DLockscreenFrpTest.java36 import com.android.internal.widget.VerifyCredentialResponse;
66 assertEquals(VerifyCredentialResponse.RESPONSE_OK, in testFrpCredential_setPin()
76 assertEquals(VerifyCredentialResponse.RESPONSE_OK, in testFrpCredential_setPattern()
86 assertEquals(VerifyCredentialResponse.RESPONSE_OK, in testFrpCredential_setPassword()
97 assertEquals(VerifyCredentialResponse.RESPONSE_OK, in testFrpCredential_changeCredential()
117 assertEquals(VerifyCredentialResponse.RESPONSE_ERROR, in testFrpCredential_cannotVerifyAfterProvsioning()
133 assertEquals(VerifyCredentialResponse.RESPONSE_OK, in testFrpCredential_legacyPinTypePersistentData()
150 assertEquals(VerifyCredentialResponse.RESPONSE_OK, in testFrpCredential_legacyPasswordTypePersistentData()
DSyntheticPasswordTests.java54 import com.android.internal.widget.VerifyCredentialResponse;
178 assertEquals(VerifyCredentialResponse.RESPONSE_OK, mService.verifyCredential( in testChangeCredential()
189 assertEquals(VerifyCredentialResponse.RESPONSE_OK, mService.verifyCredential( in testVerifyCredential()
193 assertEquals(VerifyCredentialResponse.RESPONSE_ERROR, mService.verifyCredential( in testVerifyCredential()
210 assertEquals(VerifyCredentialResponse.RESPONSE_OK, mService.verifyCredential( in testClearCredential()
222 assertEquals(VerifyCredentialResponse.RESPONSE_OK, mService.verifyCredential( in testChangeCredentialKeepsAuthSecret()
239 assertEquals(VerifyCredentialResponse.RESPONSE_OK, mService.verifyCredential( in testVerifyPassesPrimaryUserAuthSecret()
249 assertEquals(VerifyCredentialResponse.RESPONSE_OK, mService.verifyCredential( in testSecondaryUserDoesNotPassAuthSecret()
341 assertEquals(VerifyCredentialResponse.RESPONSE_OK, mService.verifyCredential( in testTokenBasedResetPassword()
354 assertEquals(VerifyCredentialResponse.RESPONSE_OK, mService.verifyCredential( in testTokenBasedResetPassword()
[all …]
DLockSettingsServiceTests.java59 import com.android.internal.widget.VerifyCredentialResponse;
169 assertEquals(VerifyCredentialResponse.RESPONSE_OK, mService.verifyCredential( in testManagedProfileUnifiedChallenge()
208 assertEquals(VerifyCredentialResponse.RESPONSE_OK, mService.verifyCredential( in testManagedProfileSeparateChallenge()
214 assertEquals(VerifyCredentialResponse.RESPONSE_OK, mService.verifyCredential( in testManagedProfileSeparateChallenge()
221 assertEquals(VerifyCredentialResponse.RESPONSE_OK, mService.verifyCredential( in testManagedProfileSeparateChallenge()
437 assertEquals(VerifyCredentialResponse.RESPONSE_OK, in testVerifyCredential_notifyLockSettingsStateListeners_whenGoodPassword()
454 assertEquals(VerifyCredentialResponse.RESPONSE_ERROR, in testVerifyCredential_notifyLockSettingsStateListeners_whenBadPassword()
470 assertEquals(VerifyCredentialResponse.RESPONSE_OK, in testLockSettingsStateListener_registeredThenUnregistered()
476 assertEquals(VerifyCredentialResponse.RESPONSE_ERROR, in testLockSettingsStateListener_registeredThenUnregistered()
600 VerifyCredentialResponse response = mService.verifyCredential(credential, userId, in assertVerifyCredential()
DWeakEscrowTokenTests.java41 import com.android.internal.widget.VerifyCredentialResponse;
85 assertEquals(VerifyCredentialResponse.RESPONSE_OK, mService.verifyCredential( in testWeakTokenActivatedLaterWithUserPassword()
108 assertEquals(VerifyCredentialResponse.RESPONSE_OK, mService.verifyCredential( in testWeakTokensRemovedIfCredentialChanged()
167 assertEquals(VerifyCredentialResponse.RESPONSE_OK, mService.verifyCredential( in testUnlockUserWithToken_weakEscrowToken()
/frameworks/base/services/core/java/com/android/server/locksettings/
DSyntheticPasswordManager.java62 import com.android.internal.widget.VerifyCredentialResponse;
197 @Nullable public VerifyCredentialResponse gkResponse;
693 private static VerifyCredentialResponse responseFromTimeout(WeaverReadResponse response) { in responseFromTimeout()
698 return VerifyCredentialResponse.fromTimeout(timeout); in responseFromTimeout()
706 private VerifyCredentialResponse weaverVerify(IWeaver weaver, int slot, byte[] key) {
720 return VerifyCredentialResponse.ERROR;
725 return new VerifyCredentialResponse.Builder()
734 return VerifyCredentialResponse.ERROR;
741 return VerifyCredentialResponse.ERROR;
746 return VerifyCredentialResponse.ERROR;
[all …]
DBiometricDeferredQueue.java34 import com.android.internal.widget.VerifyCredentialResponse;
296 final VerifyCredentialResponse response = spManager.verifyChallengeInternal( in requestHatFromGatekeeperPassword()
303 if (response.getResponseCode() != VerifyCredentialResponse.RESPONSE_OK) { in requestHatFromGatekeeperPassword()
DLockSettingsService.java151 import com.android.internal.widget.VerifyCredentialResponse;
1905 VerifyCredentialResponse response = authResult.gkResponse; in setLockCredentialInternal()
1910 || response.getResponseCode() == VerifyCredentialResponse.RESPONSE_ERROR) { in setLockCredentialInternal()
1914 if (response.getResponseCode() == VerifyCredentialResponse.RESPONSE_RETRY) { in setLockCredentialInternal()
2297 public VerifyCredentialResponse checkCredential(LockscreenCredential credential, int userId, in checkCredential()
2311 public VerifyCredentialResponse verifyCredential(LockscreenCredential credential, in verifyCredential()
2328 public VerifyCredentialResponse verifyGatekeeperPasswordHandle(long gatekeeperPasswordHandle, in verifyGatekeeperPasswordHandle()
2333 final VerifyCredentialResponse response; in verifyGatekeeperPasswordHandle()
2343 response = VerifyCredentialResponse.ERROR; in verifyGatekeeperPasswordHandle()
2368 private VerifyCredentialResponse doVerifyCredential(LockscreenCredential credential, in doVerifyCredential()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/domain/interactor/
DCredentialInteractorImplTest.kt11 import com.android.internal.widget.VerifyCredentialResponse
118 private fun pinCredential(result: VerifyCredentialResponse) = runTest { in pinCredentialWhenGood()
225 ): VerifyCredentialResponse = in pinRequest()
226 VerifyCredentialResponse.Builder() in pinRequest()
231 private fun badCredential(timeout: Int = 0): VerifyCredentialResponse = in pinRequest()
233 VerifyCredentialResponse.fromTimeout(timeout) in pinRequest()
235 VerifyCredentialResponse.fromError()
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/domain/interactor/
DCredentialInteractor.kt9 import com.android.internal.widget.VerifyCredentialResponse
90 val gkResponse: VerifyCredentialResponse = in isStealthModeActive()
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/
DRecoverableKeyStoreManager.java55 import com.android.internal.widget.VerifyCredentialResponse;
1087 VerifyCredentialResponse verifyResponse = in validateRemoteLockscreen()
1097 VerifyCredentialResponse response, int userId) { in handleVerifyCredentialResponse()
1098 if (response.getResponseCode() == VerifyCredentialResponse.RESPONSE_OK) { in handleVerifyCredentialResponse()
1105 if (response.getResponseCode() == VerifyCredentialResponse.RESPONSE_RETRY) { in handleVerifyCredentialResponse()
/frameworks/base/core/java/android/app/
DKeyguardManager.java65 import com.android.internal.widget.VerifyCredentialResponse;
1247 final VerifyCredentialResponse response = mLockPatternUtils.verifyCredential( in checkLock()
1252 return response.getResponseCode() == VerifyCredentialResponse.RESPONSE_OK; in checkLock()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/
DRecoverableKeyStoreManagerTest.java66 import com.android.internal.widget.VerifyCredentialResponse;
224 return VerifyCredentialResponse.OK; in setUp()
226 return VerifyCredentialResponse.ERROR; in setUp()
227 } else return VerifyCredentialResponse.fromTimeout(TIMEOUT_MILLIS); in setUp()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt85831 …nal/widget/ICheckCredentialProgressCallback;)Lcom/android/internal/widget/VerifyCredentialResponse;
85869 …oxy;->verifyCredential(Ljava/lang/String;IJI)Lcom/android/internal/widget/VerifyCredentialResponse;
85870 …fyTiedProfileChallenge(Ljava/lang/String;IJI)Lcom/android/internal/widget/VerifyCredentialResponse;
85911 …nal/widget/ICheckCredentialProgressCallback;)Lcom/android/internal/widget/VerifyCredentialResponse;
85939 …ngs;->verifyCredential(Ljava/lang/String;IJI)Lcom/android/internal/widget/VerifyCredentialResponse;
85940 …fyTiedProfileChallenge(Ljava/lang/String;IJI)Lcom/android/internal/widget/VerifyCredentialResponse;
86129 Lcom/android/internal/widget/VerifyCredentialResponse;-><init>()V
86130 Lcom/android/internal/widget/VerifyCredentialResponse;-><init>(I)V
86131 Lcom/android/internal/widget/VerifyCredentialResponse;-><init>(II[B)V
86132 Lcom/android/internal/widget/VerifyCredentialResponse;-><init>([B)V
[all …]
/frameworks/base/boot/
Dpreloaded-classes13294 com.android.internal.widget.VerifyCredentialResponse$1
13295 com.android.internal.widget.VerifyCredentialResponse$Builder
13296 com.android.internal.widget.VerifyCredentialResponse
Dboot-image-profile.txt35739 Lcom/android/internal/widget/VerifyCredentialResponse$1;
35740 Lcom/android/internal/widget/VerifyCredentialResponse$Builder;
35741 Lcom/android/internal/widget/VerifyCredentialResponse;
/frameworks/base/config/
Dpreloaded-classes13325 com.android.internal.widget.VerifyCredentialResponse$1
13326 com.android.internal.widget.VerifyCredentialResponse$Builder
13327 com.android.internal.widget.VerifyCredentialResponse
Dboot-image-profile.txt45900 Lcom/android/internal/widget/VerifyCredentialResponse$1;
45901 Lcom/android/internal/widget/VerifyCredentialResponse$Builder;
45902 Lcom/android/internal/widget/VerifyCredentialResponse;
/frameworks/base/services/
Dart-wear-profile14946 …yntheticPasswordManager$SyntheticPassword;JI)Lcom/android/internal/widget/VerifyCredentialResponse;
14947 …d/service/gatekeeper/IGateKeeperService;[BJI)Lcom/android/internal/widget/VerifyCredentialResponse;