Home
last modified time | relevance | path

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

/frameworks/base/keystore/java/android/security/
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;
DKeyStore2.java31 import android.system.keystore2.ResponseCode;
123 throw new KeyStoreException(ResponseCode.SYSTEM_ERROR, "", e.getMessage()); in handleRemoteExceptionWithRetry()
329 case ResponseCode.LOCKED: in getKeyStoreException()
332 case ResponseCode.UNINITIALIZED: in getKeyStoreException()
335 case ResponseCode.SYSTEM_ERROR: in getKeyStoreException()
337 case ResponseCode.PERMISSION_DENIED: in getKeyStoreException()
340 case ResponseCode.KEY_NOT_FOUND: in getKeyStoreException()
342 case ResponseCode.VALUE_CORRUPTED: in getKeyStoreException()
345 case ResponseCode.KEY_PERMANENTLY_INVALIDATED: in getKeyStoreException()
348 case ResponseCode.OUT_OF_KEYS: in getKeyStoreException()
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;
DKeyStoreException.java23 import android.system.keystore2.ResponseCode;
239 if (errorCode == ResponseCode.OUT_OF_KEYS) { in initializeRkpStatusForRegularErrors()
275 if (mErrorCode != ResponseCode.OUT_OF_KEYS) { in KeyStoreException()
312 if (mRkpStatus != RKP_SUCCESS && mErrorCode == ResponseCode.OUT_OF_KEYS) { in isTransientFailure()
605 sErrorCodeToFailureInfo.put(ResponseCode.LOCKED, in sErrorCodeToFailureInfo.put()
608 sErrorCodeToFailureInfo.put(ResponseCode.UNINITIALIZED, in sErrorCodeToFailureInfo.put()
610 sErrorCodeToFailureInfo.put(ResponseCode.SYSTEM_ERROR, in sErrorCodeToFailureInfo.put()
613 sErrorCodeToFailureInfo.put(ResponseCode.PERMISSION_DENIED, in sErrorCodeToFailureInfo.put()
615 sErrorCodeToFailureInfo.put(ResponseCode.KEY_NOT_FOUND, in sErrorCodeToFailureInfo.put()
617 sErrorCodeToFailureInfo.put(ResponseCode.VALUE_CORRUPTED, in sErrorCodeToFailureInfo.put()
[all …]
DAuthorization.java27 import android.system.keystore2.ResponseCode;
37 public static final int SYSTEM_ERROR = ResponseCode.SYSTEM_ERROR;
DKeyStoreOperation.java26 import android.system.keystore2.ResponseCode;
72 case ResponseCode.OPERATION_BUSY: { in handleExceptions()
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()
/frameworks/base/core/java/com/android/internal/widget/
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()
/frameworks/base/keystore/java/android/security/keystore2/
DKeyStoreCryptoOperationUtils.java32 import android.system.keystore2.ResponseCode;
120 case ResponseCode.KEY_NOT_FOUND: in getInvalidKeyException()
122 case ResponseCode.KEY_PERMANENTLY_INVALIDATED: in getInvalidKeyException()
124 case ResponseCode.LOCKED: in getInvalidKeyException()
125 case ResponseCode.UNINITIALIZED: in getInvalidKeyException()
DAndroidKeyStoreProvider.java32 import android.system.keystore2.ResponseCode;
368 case ResponseCode.KEY_NOT_FOUND: in loadAndroidKeyStoreKeyFromKeystore()
370 case ResponseCode.KEY_PERMANENTLY_INVALIDATED: in loadAndroidKeyStoreKeyFromKeystore()
DAndroidKeyStoreKeyPairGeneratorSpi.java51 import android.system.keystore2.ResponseCode;
635 KeyStoreException ksException = new KeyStoreException(ResponseCode.OUT_OF_KEYS, in generateKeyPair()
714 case ResponseCode.OUT_OF_KEYS: in generateKeyPairHelper()
732 if (e.getErrorCode() != ResponseCode.KEY_NOT_FOUND) { in generateKeyPairHelper()
777 ResponseCode.OUT_OF_KEYS, in checkIfRetryableOrThrow()
782 ResponseCode.OUT_OF_KEYS, in checkIfRetryableOrThrow()
DAndroidKeyStoreSpi.java41 import android.system.keystore2.ResponseCode;
119 == ResponseCode.KEY_NOT_FOUND) { in engineGetKey()
158 if (e.getErrorCode() != ResponseCode.KEY_NOT_FOUND) { in getKeyMetadata()
973 if (e.getErrorCode() != ResponseCode.KEY_NOT_FOUND) { in engineDeleteEntry()
/frameworks/libs/net/common/netd/libnetdutils/include/netdutils/
DResponseCode.h23 class ResponseCode {
/frameworks/base/services/core/jni/
Dcom_android_server_fingerprint_FingerprintService.cpp79 if (ret != ResponseCode::NO_ERROR) { in notifyKeystore()
/frameworks/proto_logging/stats/
Datoms.proto16593 * Response code (system/hardware/interfaces/keystore2/aidl/../ResponseCode.aidl)