Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/widget/
DVerifyCredentialResponse.java28 public final class VerifyCredentialResponse implements Parcelable { class
34 public static final VerifyCredentialResponse OK = new VerifyCredentialResponse();
35 public static final VerifyCredentialResponse ERROR
36 = new VerifyCredentialResponse(RESPONSE_ERROR, 0, null);
43 public static final Parcelable.Creator<VerifyCredentialResponse> CREATOR
44 = new Parcelable.Creator<VerifyCredentialResponse>() {
46 public VerifyCredentialResponse createFromParcel(Parcel source) {
48 VerifyCredentialResponse response = new VerifyCredentialResponse(responseCode, 0, null);
63 public VerifyCredentialResponse[] newArray(int size) {
64 return new VerifyCredentialResponse[size];
[all …]
DILockSettings.aidl27 import com.android.internal.widget.VerifyCredentialResponse;
41 VerifyCredentialResponse checkCredential(in String credential, int type, int userId, in checkCredential()
43VerifyCredentialResponse verifyCredential(in String credential, int type, long challenge, int user… in verifyCredential()
44VerifyCredentialResponse verifyTiedProfileChallenge(String credential, int type, long challenge, i… in verifyTiedProfileChallenge()
DVerifyCredentialResponse.aidl23 parcelable VerifyCredentialResponse;
DLockPatternUtils.java356 VerifyCredentialResponse response = getLockSettings().verifyCredential(credential, in verifyCredential()
358 if (response.getResponseCode() == VerifyCredentialResponse.RESPONSE_OK) { in verifyCredential()
360 } else if (response.getResponseCode() == VerifyCredentialResponse.RESPONSE_RETRY) { in verifyCredential()
374 VerifyCredentialResponse response = getLockSettings().checkCredential(credential, type, in checkCredential()
377 if (response.getResponseCode() == VerifyCredentialResponse.RESPONSE_OK) { in checkCredential()
379 } else if (response.getResponseCode() == VerifyCredentialResponse.RESPONSE_RETRY) { in checkCredential()
459 VerifyCredentialResponse response = in verifyTiedProfileChallenge()
464 if (response.getResponseCode() == VerifyCredentialResponse.RESPONSE_OK) { in verifyTiedProfileChallenge()
466 } else if (response.getResponseCode() == VerifyCredentialResponse.RESPONSE_RETRY) { in verifyTiedProfileChallenge()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DSyntheticPasswordTests.java38 import com.android.internal.widget.VerifyCredentialResponse;
109 assertEquals(VerifyCredentialResponse.RESPONSE_OK, mService.verifyCredential( in testPasswordMigration()
116 assertEquals(VerifyCredentialResponse.RESPONSE_OK, mService.verifyCredential( in testPasswordMigration()
140 assertEquals(VerifyCredentialResponse.RESPONSE_OK, mService.verifyCredential( in testSyntheticPasswordChangeCredential()
151 assertEquals(VerifyCredentialResponse.RESPONSE_OK, mService.verifyCredential( in testSyntheticPasswordVerifyCredential()
155 assertEquals(VerifyCredentialResponse.RESPONSE_ERROR, mService.verifyCredential( in testSyntheticPasswordVerifyCredential()
174 assertEquals(VerifyCredentialResponse.RESPONSE_OK, mService.verifyCredential( in testSyntheticPasswordClearCredential()
187 assertEquals(VerifyCredentialResponse.RESPONSE_OK, mService.verifyCredential( in testSyntheticPasswordChangeCredentialKeepsAuthSecret()
203 assertEquals(VerifyCredentialResponse.RESPONSE_OK, mService.verifyCredential( in testSyntheticPasswordVerifyPassesPrimaryUserAuthSecret()
214 assertEquals(VerifyCredentialResponse.RESPONSE_OK, mService.verifyCredential( in testSecondaryUserDoesNotPassAuthSecret()
[all …]
DCachedSyntheticPasswordTests.java32 import com.android.internal.widget.VerifyCredentialResponse;
72 assertEquals(VerifyCredentialResponse.RESPONSE_OK, mService.verifyCredential( in testSyntheticPasswordClearCredentialUntrusted()
91 assertEquals(VerifyCredentialResponse.RESPONSE_OK, mService.verifyCredential( in testSyntheticPasswordChangeCredentialUntrusted()
106 assertEquals(VerifyCredentialResponse.RESPONSE_OK, mService.verifyCredential( in testUntrustedCredentialChangeMaintainsAuthSecret()
133 assertEquals(VerifyCredentialResponse.RESPONSE_ERROR, mService.verifyCredential( in testUntrustedCredentialChangeBlockedIfSpNotCached()
136 assertEquals(VerifyCredentialResponse.RESPONSE_OK, mService.verifyCredential( in testUntrustedCredentialChangeBlockedIfSpNotCached()
DLockSettingsServiceTests.java33 import com.android.internal.widget.VerifyCredentialResponse;
118 assertEquals(VerifyCredentialResponse.RESPONSE_OK, mService.verifyCredential( in testManagedProfileUnifiedChallenge()
172 assertEquals(VerifyCredentialResponse.RESPONSE_OK, mService.verifyCredential( in testManagedProfileSeparateChallenge()
178 assertEquals(VerifyCredentialResponse.RESPONSE_OK, mService.verifyCredential( in testManagedProfileSeparateChallenge()
189 assertEquals(VerifyCredentialResponse.RESPONSE_OK, mService.verifyCredential( in testManagedProfileSeparateChallenge()
212 VerifyCredentialResponse response = mService.verifyCredential(credential, type, challenge, in assertVerifyCredentials()
/frameworks/base/services/core/java/com/android/server/locksettings/
DSyntheticPasswordManager.java42 import com.android.internal.widget.VerifyCredentialResponse;
134 public VerifyCredentialResponse gkResponse;
362 private VerifyCredentialResponse weaverVerify(int slot, byte[] key) throws RemoteException { in weaverVerify()
371 final VerifyCredentialResponse[] response = new VerifyCredentialResponse[1]; in weaverVerify()
375 response[0] = new VerifyCredentialResponse( in weaverVerify()
379 response[0] = new VerifyCredentialResponse(readResponse.timeout); in weaverVerify()
384 response[0] = VerifyCredentialResponse.ERROR; in weaverVerify()
387 response[0] = new VerifyCredentialResponse(readResponse.timeout); in weaverVerify()
392 response[0] = VerifyCredentialResponse.ERROR; in weaverVerify()
396 response[0] = VerifyCredentialResponse.ERROR; in weaverVerify()
[all …]
DLockSettingsService.java107 import com.android.internal.widget.VerifyCredentialResponse;
1401 private VerifyCredentialResponse convertResponse(GateKeeperResponse gateKeeperResponse) { in convertResponse()
1402 return VerifyCredentialResponse.fromGateKeeperResponse(gateKeeperResponse); in convertResponse()
1498 private void setUserKeyProtection(int userId, String credential, VerifyCredentialResponse vcr) in setUserKeyProtection()
1504 if (vcr.getResponseCode() != VerifyCredentialResponse.RESPONSE_OK) { in setUserKeyProtection()
1605 public VerifyCredentialResponse checkCredential(String credential, int type, int userId, in checkCredential()
1612 public VerifyCredentialResponse verifyCredential(String credential, int type, long challenge, in verifyCredential()
1623 private VerifyCredentialResponse doVerifyCredential(String credential, int credentialType, in doVerifyCredential()
1632 return VerifyCredentialResponse.ERROR; in doVerifyCredential()
1634 VerifyCredentialResponse response = null; in doVerifyCredential()
[all …]
/frameworks/base/config/
Dboot-image-profile.txt10644 HPLcom/android/internal/widget/VerifyCredentialResponse$1;-><init>()V
10645 HPLcom/android/internal/widget/VerifyCredentialResponse;-><init>()V
10646 HPLcom/android/internal/widget/VerifyCredentialResponse;-><init>(II[B)V
10647 HPLcom/android/internal/widget/VerifyCredentialResponse;->writeToParcel(Landroid/os/Parcel;I)V
42541 …nal/widget/ICheckCredentialProgressCallback;)Lcom/android/internal/widget/VerifyCredentialResponse;
42577 …ngs;->verifyCredential(Ljava/lang/String;IJI)Lcom/android/internal/widget/VerifyCredentialResponse;
42578 …fyTiedProfileChallenge(Ljava/lang/String;IJI)Lcom/android/internal/widget/VerifyCredentialResponse;
60861 Lcom/android/internal/widget/VerifyCredentialResponse$1;
60862 Lcom/android/internal/widget/VerifyCredentialResponse;