Home
last modified time | relevance | path

Searched refs:VerifyCredentialResponse (Results 1 – 12 of 12) 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;
47 VerifyCredentialResponse checkCredential(in byte[] credential, int type, int userId, in checkCredential()
49VerifyCredentialResponse verifyCredential(in byte[] credential, int type, long challenge, int user… in verifyCredential()
50VerifyCredentialResponse verifyTiedProfileChallenge(in byte[] credential, int type, long challenge… in verifyTiedProfileChallenge()
DVerifyCredentialResponse.aidl23 parcelable VerifyCredentialResponse;
DLockPatternUtils.java371 VerifyCredentialResponse response = getLockSettings().verifyCredential(credential, in verifyCredential()
373 if (response.getResponseCode() == VerifyCredentialResponse.RESPONSE_OK) { in verifyCredential()
375 } else if (response.getResponseCode() == VerifyCredentialResponse.RESPONSE_RETRY) { in verifyCredential()
389 VerifyCredentialResponse response = getLockSettings().checkCredential(credential, type, in checkCredential()
392 if (response.getResponseCode() == VerifyCredentialResponse.RESPONSE_OK) { in checkCredential()
394 } else if (response.getResponseCode() == VerifyCredentialResponse.RESPONSE_RETRY) { in checkCredential()
474 VerifyCredentialResponse response = in verifyTiedProfileChallenge()
479 if (response.getResponseCode() == VerifyCredentialResponse.RESPONSE_OK) { in verifyTiedProfileChallenge()
481 } else if (response.getResponseCode() == VerifyCredentialResponse.RESPONSE_RETRY) { in verifyTiedProfileChallenge()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DSyntheticPasswordTests.java41 import com.android.internal.widget.VerifyCredentialResponse;
115 assertEquals(VerifyCredentialResponse.RESPONSE_OK, mService.verifyCredential( in testPasswordMigration()
122 assertEquals(VerifyCredentialResponse.RESPONSE_OK, mService.verifyCredential(password, in testPasswordMigration()
146 assertEquals(VerifyCredentialResponse.RESPONSE_OK, mService.verifyCredential( in testSyntheticPasswordChangeCredential()
157 assertEquals(VerifyCredentialResponse.RESPONSE_OK, mService.verifyCredential( in testSyntheticPasswordVerifyCredential()
161 assertEquals(VerifyCredentialResponse.RESPONSE_ERROR, mService.verifyCredential( in testSyntheticPasswordVerifyCredential()
180 assertEquals(VerifyCredentialResponse.RESPONSE_OK, mService.verifyCredential( in testSyntheticPasswordClearCredential()
195 assertEquals(VerifyCredentialResponse.RESPONSE_OK, mService.verifyCredential( in testSyntheticPasswordChangeCredentialKeepsAuthSecret()
213 assertEquals(VerifyCredentialResponse.RESPONSE_OK, mService.verifyCredential(password, in testSyntheticPasswordVerifyPassesPrimaryUserAuthSecret()
223 assertEquals(VerifyCredentialResponse.RESPONSE_OK, mService.verifyCredential( in testSecondaryUserDoesNotPassAuthSecret()
[all …]
DCachedSyntheticPasswordTests.java34 import com.android.internal.widget.VerifyCredentialResponse;
75 assertEquals(VerifyCredentialResponse.RESPONSE_OK, mService.verifyCredential(newPassword, in testSyntheticPasswordClearCredentialUntrusted()
94 assertEquals(VerifyCredentialResponse.RESPONSE_OK, mService.verifyCredential(newPassword, in testSyntheticPasswordChangeCredentialUntrusted()
110 assertEquals(VerifyCredentialResponse.RESPONSE_OK, mService.verifyCredential(newPassword, in testUntrustedCredentialChangeMaintainsAuthSecret()
141 assertEquals(VerifyCredentialResponse.RESPONSE_ERROR, mService.verifyCredential(newPassword, in testUntrustedCredentialChangeBlockedIfSpNotCached()
144 assertEquals(VerifyCredentialResponse.RESPONSE_OK, mService.verifyCredential(password, in testUntrustedCredentialChangeBlockedIfSpNotCached()
DLockSettingsServiceTests.java42 import com.android.internal.widget.VerifyCredentialResponse;
140 assertEquals(VerifyCredentialResponse.RESPONSE_OK, mService.verifyCredential( in testManagedProfileUnifiedChallenge()
198 assertEquals(VerifyCredentialResponse.RESPONSE_OK, mService.verifyCredential( in testManagedProfileSeparateChallenge()
204 assertEquals(VerifyCredentialResponse.RESPONSE_OK, mService.verifyCredential( in testManagedProfileSeparateChallenge()
215 assertEquals(VerifyCredentialResponse.RESPONSE_OK, mService.verifyCredential( in testManagedProfileSeparateChallenge()
472 VerifyCredentialResponse response = mService.verifyCredential(credential.getBytes(), in assertVerifyCredentials()
/frameworks/base/services/core/java/com/android/server/locksettings/
DSyntheticPasswordManager.java45 import com.android.internal.widget.VerifyCredentialResponse;
140 public VerifyCredentialResponse gkResponse;
382 private VerifyCredentialResponse weaverVerify(int slot, byte[] key) throws RemoteException { in weaverVerify()
391 final VerifyCredentialResponse[] response = new VerifyCredentialResponse[1]; in weaverVerify()
395 response[0] = new VerifyCredentialResponse( in weaverVerify()
399 response[0] = new VerifyCredentialResponse(readResponse.timeout); in weaverVerify()
404 response[0] = VerifyCredentialResponse.ERROR; in weaverVerify()
407 response[0] = new VerifyCredentialResponse(readResponse.timeout); in weaverVerify()
412 response[0] = VerifyCredentialResponse.ERROR; in weaverVerify()
416 response[0] = VerifyCredentialResponse.ERROR; in weaverVerify()
[all …]
DLockSettingsService.java114 import com.android.internal.widget.VerifyCredentialResponse;
1531 private VerifyCredentialResponse convertResponse(GateKeeperResponse gateKeeperResponse) { in convertResponse()
1532 return VerifyCredentialResponse.fromGateKeeperResponse(gateKeeperResponse); in convertResponse()
1621 private void setUserKeyProtection(int userId, byte[] credential, VerifyCredentialResponse vcr) in setUserKeyProtection()
1627 if (vcr.getResponseCode() != VerifyCredentialResponse.RESPONSE_OK) { in setUserKeyProtection()
1743 public VerifyCredentialResponse checkCredential(byte[] credential, int type, int userId, in checkCredential()
1750 public VerifyCredentialResponse verifyCredential(byte[] credential, int type, long challenge, in verifyCredential()
1761 private VerifyCredentialResponse doVerifyCredential(byte[] credential, int credentialType, in doVerifyCredential()
1770 return VerifyCredentialResponse.ERROR; in doVerifyCredential()
1772 VerifyCredentialResponse response = null; in doVerifyCredential()
[all …]
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt107577 …nal/widget/ICheckCredentialProgressCallback;)Lcom/android/internal/widget/VerifyCredentialResponse;
107615 …oxy;->verifyCredential(Ljava/lang/String;IJI)Lcom/android/internal/widget/VerifyCredentialResponse;
107616 …fyTiedProfileChallenge(Ljava/lang/String;IJI)Lcom/android/internal/widget/VerifyCredentialResponse;
107659 …nal/widget/ICheckCredentialProgressCallback;)Lcom/android/internal/widget/VerifyCredentialResponse;
107687 …ngs;->verifyCredential(Ljava/lang/String;IJI)Lcom/android/internal/widget/VerifyCredentialResponse;
107688 …fyTiedProfileChallenge(Ljava/lang/String;IJI)Lcom/android/internal/widget/VerifyCredentialResponse;
107891 Lcom/android/internal/widget/VerifyCredentialResponse;
107892 Lcom/android/internal/widget/VerifyCredentialResponse;-><init>()V
107893 Lcom/android/internal/widget/VerifyCredentialResponse;-><init>(I)V
107894 Lcom/android/internal/widget/VerifyCredentialResponse;-><init>(II[B)V
[all …]
Dboot-image-profile.txt24707 HSPLcom/android/internal/widget/VerifyCredentialResponse$1;-><init>()V
24708 HSPLcom/android/internal/widget/VerifyCredentialResponse;-><init>()V
24709 HSPLcom/android/internal/widget/VerifyCredentialResponse;-><init>(II[B)V
24710 PLcom/android/internal/widget/VerifyCredentialResponse;->writeToParcel(Landroid/os/Parcel;I)V
/frameworks/base/services/
Dart-profile8267 …nal/widget/ICheckCredentialProgressCallback;)Lcom/android/internal/widget/VerifyCredentialResponse;
8272 …nal/widget/ICheckCredentialProgressCallback;)Lcom/android/internal/widget/VerifyCredentialResponse;
8313 …nal/widget/ICheckCredentialProgressCallback;)Lcom/android/internal/widget/VerifyCredentialResponse;
8405 …rdManager;->lambda$weaverVerify$1([Lcom/android/internal/widget/VerifyCredentialResponse;IILandroi…
8411 …theticPasswordManager$AuthenticationToken;JI)Lcom/android/internal/widget/VerifyCredentialResponse;
8412 …/SyntheticPasswordManager;->weaverVerify(I[B)Lcom/android/internal/widget/VerifyCredentialResponse;