/aosp14/frameworks/base/keystore/java/android/security/ |
H A D | AndroidProtectedConfirmation.java | 24 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 D | KeyStoreException.java | 23 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 D | KeyStore2.java | 31 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 D | AndroidKeyStoreMaintenance.java | 26 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 D | Authorization.java | 27 import android.system.keystore2.ResponseCode; 37 public static final int SYSTEM_ERROR = ResponseCode.SYSTEM_ERROR;
|
H A D | KeyStoreSecurityLevel.java | 32 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 D | KeyStoreOperation.java | 26 import android.system.keystore2.ResponseCode; 72 case ResponseCode.OPERATION_BUSY: { in handleExceptions()
|
/aosp14/system/core/gatekeeperd/include/gatekeeper/ |
H A D | GateKeeperResponse.h | 27 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 D | NotSoSecureInput.cpp | 35 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 D | TrustyConfirmationUI.h | 87 std::tuple<teeui::ResponseCode, teeui::MsgVector<uint8_t>, teeui::MsgVector<uint8_t>>
|
H A D | TrustyConfirmationUI.cpp | 62 using TeeuiRc = ::teeui::ResponseCode;
|
/aosp14/system/core/gatekeeperd/ |
H A D | GateKeeperResponse.cpp | 38 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 D | gatekeeperd.cpp | 61 using GKResponseCode = ::android::service::gatekeeper::ResponseCode;
|
/aosp14/frameworks/base/core/java/com/android/internal/widget/ |
H A D | VerifyCredentialResponse.java | 42 @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 D | KeyStoreCryptoOperationUtils.java | 32 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 D | AndroidKeyStoreProvider.java | 32 import android.system.keystore2.ResponseCode; 376 case ResponseCode.KEY_NOT_FOUND: in loadAndroidKeyStoreKeyFromKeystore() 378 case ResponseCode.KEY_PERMANENTLY_INVALIDATED: in loadAndroidKeyStoreKeyFromKeystore()
|
H A D | AndroidKeyStoreSpi.java | 44 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 D | AndroidKeyStoreKeyPairGeneratorSpi.java | 49 import android.system.keystore2.ResponseCode; 679 if (e.getErrorCode() != ResponseCode.KEY_NOT_FOUND) { in generateKeyPair()
|
/aosp14/frameworks/base/services/core/jni/ |
H A D | com_android_server_fingerprint_FingerprintService.cpp | 79 if (ret != ResponseCode::NO_ERROR) { in notifyKeystore()
|