Home
last modified time | relevance | path

Searched refs:GateKeeperResponse (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/core/java/android/service/gatekeeper/
DGateKeeperResponse.java28 public final class GateKeeperResponse implements Parcelable { class
34 public static final GateKeeperResponse ERROR = createGenericResponse(RESPONSE_ERROR);
43 private GateKeeperResponse(int responseCode) { in GateKeeperResponse() method in GateKeeperResponse
48 public static GateKeeperResponse createGenericResponse(int responseCode) { in createGenericResponse()
49 return new GateKeeperResponse(responseCode); in createGenericResponse()
52 private static GateKeeperResponse createRetryResponse(int timeout) { in createRetryResponse()
53 GateKeeperResponse response = new GateKeeperResponse(RESPONSE_RETRY); in createRetryResponse()
59 public static GateKeeperResponse createOkResponse(byte[] payload, boolean shouldReEnroll) { in createOkResponse()
60 GateKeeperResponse response = new GateKeeperResponse(RESPONSE_OK); in createOkResponse()
71 public static final @android.annotation.NonNull Parcelable.Creator<GateKeeperResponse> CREATOR
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DFakeGateKeeperService.java21 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()
DLockSettingsServiceTests.java39 import android.service.gatekeeper.GateKeeperResponse;
491 assertEquals(GateKeeperResponse.RESPONSE_OK, response.getResponseCode()); in assertVerifyCredentials()
510 assertEquals(GateKeeperResponse.RESPONSE_ERROR, mService.verifyCredential( in assertVerifyCredentials()
/frameworks/base/core/java/com/android/internal/widget/
DVerifyCredentialResponse.java21 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/
DSyntheticPasswordManager.java35 import android.service.gatekeeper.GateKeeperResponse;
567 GateKeeperResponse response; in newSyntheticPasswordAndSid()
575 if (response.getResponseCode() != GateKeeperResponse.RESPONSE_OK) { in newSyntheticPasswordAndSid()
594 GateKeeperResponse response; in newSidForUser()
600 if (response.getResponseCode() != GateKeeperResponse.RESPONSE_OK) { in newSidForUser()
770 GateKeeperResponse response; in createPasswordBasedSyntheticPassword()
777 if (response.getResponseCode() != GateKeeperResponse.RESPONSE_OK) { in createPasswordBasedSyntheticPassword()
803 GateKeeperResponse response; in verifyFrpCredential()
1013 GateKeeperResponse response; in unwrapPasswordBasedSyntheticPassword()
1023 if (responseCode == GateKeeperResponse.RESPONSE_OK) { in unwrapPasswordBasedSyntheticPassword()
[all …]
DLockSettingsService.java101 import android.service.gatekeeper.GateKeeperResponse;
1716 GateKeeperResponse gkResponse; in setLockCredentialInternal()
1733 private VerifyCredentialResponse convertResponse(GateKeeperResponse gateKeeperResponse) { in convertResponse()
1800 GateKeeperResponse response; in enrollCredential()
2109 GateKeeperResponse gateKeeperResponse; in verifyCredential()
2115 gateKeeperResponse = GateKeeperResponse.ERROR; in verifyCredential()
2271 .getResponseCode() == GateKeeperResponse.RESPONSE_OK) { in checkVoldPassword()
/frameworks/base/config/
Dpreloaded-classes5544 android.service.gatekeeper.GateKeeperResponse$1
5545 android.service.gatekeeper.GateKeeperResponse
Dboot-image-profile.txt17621 …oid/service/gatekeeper/GateKeeperResponse$1;->createFromParcel(Landroid/os/Parcel;)Landroid/servic…
17622 PLandroid/service/gatekeeper/GateKeeperResponse$1;->createFromParcel(Landroid/os/Parcel;)Ljava/lang…
17623 HPLandroid/service/gatekeeper/GateKeeperResponse;-><init>(I)V
17624 PLandroid/service/gatekeeper/GateKeeperResponse;->createOkResponse([BZ)Landroid/service/gatekeeper/
17627 …teKeeperService$Stub$Proxy;->verifyChallenge(IJ[B[B)Landroid/service/gatekeeper/GateKeeperResponse;
45775 Landroid/service/gatekeeper/GateKeeperResponse$1;
45776 Landroid/service/gatekeeper/GateKeeperResponse;