Home
last modified time | relevance | path

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

/aosp14/frameworks/base/core/java/android/service/gatekeeper/
H A DGateKeeperResponse.java28 public final class GateKeeperResponse implements Parcelable { class
43 private GateKeeperResponse(int responseCode) { in GateKeeperResponse() method in GateKeeperResponse
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()
60 GateKeeperResponse response = new GateKeeperResponse(RESPONSE_OK); in createOkResponse()
72 = new Parcelable.Creator<GateKeeperResponse>() {
74 public GateKeeperResponse createFromParcel(Parcel source) {
76 final GateKeeperResponse response;
95 public GateKeeperResponse[] newArray(int size) {
[all …]
/aosp14/system/core/gatekeeperd/include/gatekeeper/
H A DGateKeeperResponse.h33 class GateKeeperResponse : public ::android::Parcelable {
34 GateKeeperResponse(ResponseCode response_code, int32_t timeout = 0,
42 GateKeeperResponse() = default;
43 GateKeeperResponse(GateKeeperResponse&&) = default;
44 GateKeeperResponse(const GateKeeperResponse&) = default;
45 GateKeeperResponse& operator=(GateKeeperResponse&&) = default;
47 static GateKeeperResponse error() { return GateKeeperResponse(ResponseCode::ERROR); } in error()
48 static GateKeeperResponse retry(int32_t timeout) { in retry()
49 return GateKeeperResponse(ResponseCode::RETRY, timeout); in retry()
51 static GateKeeperResponse ok(std::vector<uint8_t> payload, bool reenroll = false) {
[all …]
/aosp14/system/core/gatekeeperd/binder/android/service/gatekeeper/
H A DIGateKeeperService.aidl19 import android.service.gatekeeper.GateKeeperResponse;
42 GateKeeperResponse enroll(int userId, in @nullable byte[] currentPasswordHandle, in enroll()
53GateKeeperResponse verify(int userId, in byte[] enrolledPasswordHandle, in byte[] providedPassword… in verify()
66 GateKeeperResponse verifyChallenge(int userId, long challenge, in byte[] enrolledPasswordHandle, in verifyChallenge()
H A DGateKeeperResponse.aidl23 parcelable GateKeeperResponse cpp_header "gatekeeper/GateKeeperResponse.h";
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
H A 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()
H A DLockSettingsServiceTests.java41 import android.service.gatekeeper.GateKeeperResponse;
472 assertEquals(GateKeeperResponse.RESPONSE_OK, response.getResponseCode()); in assertVerifyCredential()
490 assertEquals(GateKeeperResponse.RESPONSE_ERROR, mService.verifyCredential( in assertVerifyCredential()
/aosp14/frameworks/base/core/java/com/android/internal/widget/
H A DVerifyCredentialResponse.java23 import android.service.gatekeeper.GateKeeperResponse;
186 GateKeeperResponse gateKeeperResponse) { in fromGateKeeperResponse()
188 if (responseCode == GateKeeperResponse.RESPONSE_RETRY) { in fromGateKeeperResponse()
190 } else if (responseCode == GateKeeperResponse.RESPONSE_OK) { in fromGateKeeperResponse()
/aosp14/system/core/gatekeeperd/
H A DGateKeeperResponse.cpp30 status_t GateKeeperResponse::readFromParcel(const Parcel* in) { in readFromParcel()
57 status_t GateKeeperResponse::writeToParcel(Parcel* out) const { in writeToParcel()
H A DAndroid.bp70 "GateKeeperResponse.cpp",
H A Dgatekeeperd.cpp60 using GKResponse = ::android::service::gatekeeper::GateKeeperResponse;
/aosp14/frameworks/base/services/core/java/com/android/server/locksettings/
H A DSyntheticPasswordManager.java47 import android.service.gatekeeper.GateKeeperResponse;
777 GateKeeperResponse response; in newSidForUser()
993 GateKeeperResponse response; in createLskfBasedProtector()
1040 GateKeeperResponse response; in verifySpecialUserCredential()
1369 GateKeeperResponse response; in unlockLskfBasedProtector()
1379 if (responseCode == GateKeeperResponse.RESPONSE_OK) { in unlockLskfBasedProtector()
1382 GateKeeperResponse reenrollResponse; in unlockLskfBasedProtector()
1621 GateKeeperResponse response; in verifyChallengeInternal()
1630 if (responseCode == GateKeeperResponse.RESPONSE_OK) { in verifyChallengeInternal()
1639 response = GateKeeperResponse.ERROR; in verifyChallengeInternal()
[all …]
/aosp14/frameworks/base/boot/
H A Dpreloaded-classes6899 android.service.gatekeeper.GateKeeperResponse$1
6900 android.service.gatekeeper.GateKeeperResponse
H A Dboot-image-profile.txt29692 Landroid/service/gatekeeper/GateKeeperResponse$1;
29693 Landroid/service/gatekeeper/GateKeeperResponse;
/aosp14/frameworks/base/config/
H A Dpreloaded-classes6903 android.service.gatekeeper.GateKeeperResponse$1
6904 android.service.gatekeeper.GateKeeperResponse
H A Dboot-image-profile.txt39799 Landroid/service/gatekeeper/GateKeeperResponse$1;
39800 Landroid/service/gatekeeper/GateKeeperResponse;
/aosp14/frameworks/base/boot/hiddenapi/
H A Dhiddenapi-max-target-o.txt86778 …ntialResponse;->fromGateKeeperResponse(Landroid/service/gatekeeper/GateKeeperResponse;)Lcom/androi…