Home
last modified time | relevance | path

Searched refs:ResponseCode (Results 1 – 19 of 19) sorted by relevance

/aosp14/frameworks/base/keystore/java/android/security/
H A DAndroidProtectedConfirmation.java24 import android.security.apc.ResponseCode;
33 public static final int ERROR_OK = ResponseCode.OK;
34 public static final int ERROR_CANCELED = ResponseCode.CANCELLED;
35 public static final int ERROR_ABORTED = ResponseCode.ABORTED;
36 public static final int ERROR_OPERATION_PENDING = ResponseCode.OPERATION_PENDING;
37 public static final int ERROR_IGNORED = ResponseCode.IGNORED;
38 public static final int ERROR_SYSTEM_ERROR = ResponseCode.SYSTEM_ERROR;
39 public static final int ERROR_UNIMPLEMENTED = ResponseCode.UNIMPLEMENTED;
H A DKeyStoreException.java23 import android.system.keystore2.ResponseCode;
268 if (errorCode == ResponseCode.OUT_OF_KEYS) { in initializeRkpStatusForRegularErrors()
304 if (mErrorCode != ResponseCode.OUT_OF_KEYS) { in KeyStoreException()
403 case ResponseCode.OUT_OF_KEYS_REQUIRES_SYSTEM_UPGRADE: in getRetryPolicy()
641 sErrorCodeToFailureInfo.put(ResponseCode.LOCKED, in sErrorCodeToFailureInfo.put()
644 sErrorCodeToFailureInfo.put(ResponseCode.UNINITIALIZED, in sErrorCodeToFailureInfo.put()
646 sErrorCodeToFailureInfo.put(ResponseCode.SYSTEM_ERROR, in sErrorCodeToFailureInfo.put()
649 sErrorCodeToFailureInfo.put(ResponseCode.PERMISSION_DENIED, in sErrorCodeToFailureInfo.put()
651 sErrorCodeToFailureInfo.put(ResponseCode.KEY_NOT_FOUND, in sErrorCodeToFailureInfo.put()
653 sErrorCodeToFailureInfo.put(ResponseCode.VALUE_CORRUPTED, in sErrorCodeToFailureInfo.put()
[all …]
H A DKeyStore2.java31 import android.system.keystore2.ResponseCode;
124 throw new KeyStoreException(ResponseCode.SYSTEM_ERROR, "", e.getMessage()); in handleRemoteExceptionWithRetry()
346 case ResponseCode.LOCKED: in getKeyStoreException()
349 case ResponseCode.UNINITIALIZED: in getKeyStoreException()
352 case ResponseCode.SYSTEM_ERROR: in getKeyStoreException()
354 case ResponseCode.PERMISSION_DENIED: in getKeyStoreException()
357 case ResponseCode.KEY_NOT_FOUND: in getKeyStoreException()
359 case ResponseCode.VALUE_CORRUPTED: in getKeyStoreException()
362 case ResponseCode.KEY_PERMANENTLY_INVALIDATED: in getKeyStoreException()
365 case ResponseCode.OUT_OF_KEYS: in getKeyStoreException()
H A DAndroidKeyStoreMaintenance.java26 import android.system.keystore2.ResponseCode;
36 public static final int SYSTEM_ERROR = ResponseCode.SYSTEM_ERROR;
37 public static final int INVALID_ARGUMENT = ResponseCode.INVALID_ARGUMENT;
38 public static final int PERMISSION_DENIED = ResponseCode.PERMISSION_DENIED;
39 public static final int KEY_NOT_FOUND = ResponseCode.KEY_NOT_FOUND;
H A DAuthorization.java27 import android.system.keystore2.ResponseCode;
37 public static final int SYSTEM_ERROR = ResponseCode.SYSTEM_ERROR;
H A DKeyStoreSecurityLevel.java32 import android.system.keystore2.ResponseCode;
62 throw new KeyStoreException(ResponseCode.SYSTEM_ERROR, "", e.getMessage()); in handleExceptions()
100 case ResponseCode.BACKEND_BUSY: { in createOperation()
H A DKeyStoreOperation.java26 import android.system.keystore2.ResponseCode;
72 case ResponseCode.OPERATION_BUSY: { in handleExceptions()
/aosp14/system/core/gatekeeperd/include/gatekeeper/
H A DGateKeeperResponse.h27 enum class ResponseCode : int32_t { enum
34 GateKeeperResponse(ResponseCode response_code, int32_t timeout = 0,
47 static GateKeeperResponse error() { return GateKeeperResponse(ResponseCode::ERROR); } in error()
49 return GateKeeperResponse(ResponseCode::RETRY, timeout); in retry()
52 return GateKeeperResponse(ResponseCode::OK, 0, std::move(payload), reenroll);
62 ResponseCode response_code() const { return response_code_; } in response_code()
64 void response_code(ResponseCode response_code) { response_code_ = response_code; } in response_code()
75 ResponseCode response_code_;
/aosp14/system/core/trusty/confirmationui/
H A DNotSoSecureInput.cpp35 using teeui::ResponseCode;
128 teeui::ResponseCode rc; in handleEvent()
133 if (rc != ResponseCode::OK) { in handleEvent()
143 if (rc != ResponseCode::OK) { in handleEvent()
160 if (rc != ResponseCode::OK) { in start()
167 teeui::ResponseCode performDTUPHandshake() { in performDTUPHandshake()
168 ResponseCode rc; in performDTUPHandshake()
172 if (rc != ResponseCode::OK) { in performDTUPHandshake()
181 if (rc != ResponseCode::OK) { in performDTUPHandshake()
185 return ResponseCode::OK; in performDTUPHandshake()
H A DTrustyConfirmationUI.h87 std::tuple<teeui::ResponseCode, teeui::MsgVector<uint8_t>, teeui::MsgVector<uint8_t>>
H A DTrustyConfirmationUI.cpp62 using TeeuiRc = ::teeui::ResponseCode;
/aosp14/system/core/gatekeeperd/
H A DGateKeeperResponse.cpp38 response_code_ = ResponseCode(in->readInt32()); in readFromParcel()
39 if (response_code_ == ResponseCode::OK) { in readFromParcel()
52 } else if (response_code_ == ResponseCode::RETRY) { in readFromParcel()
63 if (response_code_ == ResponseCode::OK) { in writeToParcel()
75 } else if (response_code_ == ResponseCode::RETRY) { in writeToParcel()
H A Dgatekeeperd.cpp61 using GKResponseCode = ::android::service::gatekeeper::ResponseCode;
/aosp14/frameworks/base/core/java/com/android/internal/widget/
H A DVerifyCredentialResponse.java42 @interface ResponseCode {} annotation in VerifyCredentialResponse
49 private final @ResponseCode int mResponseCode;
58 final @ResponseCode int responseCode = source.readInt();
127 private VerifyCredentialResponse(@ResponseCode int responseCode, int timeout, in VerifyCredentialResponse()
170 public @ResponseCode int getResponseCode() { in getResponseCode()
/aosp14/frameworks/base/keystore/java/android/security/keystore2/
H A DKeyStoreCryptoOperationUtils.java32 import android.system.keystore2.ResponseCode;
118 case ResponseCode.KEY_NOT_FOUND: in getInvalidKeyException()
120 case ResponseCode.KEY_PERMANENTLY_INVALIDATED: in getInvalidKeyException()
122 case ResponseCode.LOCKED: in getInvalidKeyException()
123 case ResponseCode.UNINITIALIZED: in getInvalidKeyException()
H A DAndroidKeyStoreProvider.java32 import android.system.keystore2.ResponseCode;
376 case ResponseCode.KEY_NOT_FOUND: in loadAndroidKeyStoreKeyFromKeystore()
378 case ResponseCode.KEY_PERMANENTLY_INVALIDATED: in loadAndroidKeyStoreKeyFromKeystore()
H A DAndroidKeyStoreSpi.java44 import android.system.keystore2.ResponseCode;
129 == ResponseCode.KEY_NOT_FOUND) { in engineGetKey()
168 if (e.getErrorCode() != ResponseCode.KEY_NOT_FOUND) { in getKeyMetadata()
1044 if (e.getErrorCode() != ResponseCode.KEY_NOT_FOUND) { in engineDeleteEntry()
H A DAndroidKeyStoreKeyPairGeneratorSpi.java49 import android.system.keystore2.ResponseCode;
679 if (e.getErrorCode() != ResponseCode.KEY_NOT_FOUND) { in generateKeyPair()
/aosp14/frameworks/base/services/core/jni/
H A Dcom_android_server_fingerprint_FingerprintService.cpp79 if (ret != ResponseCode::NO_ERROR) { in notifyKeystore()