Searched refs:GateKeeperResponse (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/core/java/android/service/gatekeeper/ |
D | GateKeeperResponse.java | 28 public final class GateKeeperResponse implements Parcelable { class 41 private GateKeeperResponse(int responseCode) { in GateKeeperResponse() method in GateKeeperResponse 46 public static GateKeeperResponse createGenericResponse(int responseCode) { in createGenericResponse() 47 return new GateKeeperResponse(responseCode); in createGenericResponse() 50 private static GateKeeperResponse createRetryResponse(int timeout) { in createRetryResponse() 51 GateKeeperResponse response = new GateKeeperResponse(RESPONSE_RETRY); in createRetryResponse() 57 public static GateKeeperResponse createOkResponse(byte[] payload, boolean shouldReEnroll) { in createOkResponse() 58 GateKeeperResponse response = new GateKeeperResponse(RESPONSE_OK); in createOkResponse() 69 public static final @android.annotation.NonNull Parcelable.Creator<GateKeeperResponse> CREATOR 70 = new Parcelable.Creator<GateKeeperResponse>() { [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/ |
D | FakeGateKeeperService.java | 21 import android.service.gatekeeper.GateKeeperResponse; 93 public GateKeeperResponse enroll(int uid, byte[] currentPasswordHandle, byte[] currentPassword, in enroll() 102 return GateKeeperResponse.createOkResponse(newHandle.toBytes(), false); in enroll() 114 return GateKeeperResponse.createOkResponse(newHandle.toBytes(), false); in enroll() 118 public GateKeeperResponse verify(int uid, byte[] enrolledPasswordHandle, in verify() 124 public GateKeeperResponse verifyChallenge(int uid, long challenge, in verifyChallenge() 138 return GateKeeperResponse.createOkResponse(token.toBytes(), false); in verifyChallenge() 140 return GateKeeperResponse.createGenericResponse(GateKeeperResponse.RESPONSE_ERROR); in verifyChallenge()
|
D | LockSettingsServiceTests.java | 43 import android.service.gatekeeper.GateKeeperResponse; 495 assertEquals(GateKeeperResponse.RESPONSE_OK, response.getResponseCode()); in assertVerifyCredentials() 512 assertEquals(GateKeeperResponse.RESPONSE_ERROR, mService.verifyCredential( in assertVerifyCredentials() 515 assertEquals(GateKeeperResponse.RESPONSE_ERROR, mService.verifyCredential( in assertVerifyCredentials()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | VerifyCredentialResponse.java | 21 import android.service.gatekeeper.GateKeeperResponse; 137 GateKeeperResponse gateKeeperResponse) { in fromGateKeeperResponse() 140 if (responseCode == GateKeeperResponse.RESPONSE_RETRY) { in fromGateKeeperResponse() 142 } else if (responseCode == GateKeeperResponse.RESPONSE_OK) { in fromGateKeeperResponse()
|
/frameworks/base/services/core/java/com/android/server/locksettings/ |
D | SyntheticPasswordManager.java | 35 import android.service.gatekeeper.GateKeeperResponse; 465 GateKeeperResponse response; in newSyntheticPasswordAndSid() 469 if (response.getResponseCode() != GateKeeperResponse.RESPONSE_OK) { in newSyntheticPasswordAndSid() 488 GateKeeperResponse response = gatekeeper.enroll(userId, null, null, in newSidForUser() 490 if (response.getResponseCode() != GateKeeperResponse.RESPONSE_OK) { in newSidForUser() 662 GateKeeperResponse response = gatekeeper.enroll(fakeUid(userId), null, null, in createPasswordBasedSyntheticPassword() 664 if (response.getResponseCode() != GateKeeperResponse.RESPONSE_OK) { in createPasswordBasedSyntheticPassword() 689 GateKeeperResponse response = gatekeeper.verifyChallenge(fakeUid(persistentData.userId), in verifyFrpCredential() 889 GateKeeperResponse response = gatekeeper.verifyChallenge(fakeUid(userId), 0L, in unwrapPasswordBasedSyntheticPassword() 892 if (responseCode == GateKeeperResponse.RESPONSE_OK) { in unwrapPasswordBasedSyntheticPassword() [all …]
|
D | LockSettingsService.java | 92 import android.service.gatekeeper.GateKeeperResponse; 1567 GateKeeperResponse gkResponse = getGateKeeperService() in setLockCredentialInternal() 1583 private VerifyCredentialResponse convertResponse(GateKeeperResponse gateKeeperResponse) { in convertResponse() 1651 GateKeeperResponse response = getGateKeeperService().enroll(userId, enrolledHandle, in enrollCredential() 1987 GateKeeperResponse gateKeeperResponse = getGateKeeperService() in verifyCredential() 2106 .getResponseCode() == GateKeeperResponse.RESPONSE_OK) { in checkVoldPassword() 2117 .getResponseCode() == GateKeeperResponse.RESPONSE_OK) { in checkVoldPassword()
|
/frameworks/base/config/ |
D | boot-image-profile.txt | 13158 PLandroid/service/gatekeeper/GateKeeperResponse$1;-><init>()V 13159 …oid/service/gatekeeper/GateKeeperResponse$1;->createFromParcel(Landroid/os/Parcel;)Landroid/servic… 13160 PLandroid/service/gatekeeper/GateKeeperResponse$1;->createFromParcel(Landroid/os/Parcel;)Ljava/lang… 13161 …teKeeperService$Stub$Proxy;->verifyChallenge(IJ[B[B)Landroid/service/gatekeeper/GateKeeperResponse;
|
D | hiddenapi-greylist-max-o.txt | 101211 …ntialResponse;->fromGateKeeperResponse(Landroid/service/gatekeeper/GateKeeperResponse;)Lcom/androi…
|