Home
last modified time | relevance | path

Searched refs:SYSTEM_ERROR (Results 1 – 7 of 7) sorted by relevance

/system/security/keystore/
Duser_state.cpp90 return ResponseCode::SYSTEM_ERROR; in initialize()
102 return ResponseCode::SYSTEM_ERROR; in copyMasterKey()
105 return ResponseCode::SYSTEM_ERROR; in copyMasterKey()
118 return ResponseCode::SYSTEM_ERROR; in copyMasterKeyFile()
123 return ResponseCode::SYSTEM_ERROR; in copyMasterKeyFile()
128 return ResponseCode::SYSTEM_ERROR; in copyMasterKeyFile()
132 return ResponseCode::SYSTEM_ERROR; in copyMasterKeyFile()
137 return ResponseCode::SYSTEM_ERROR; in copyMasterKeyFile()
157 return ResponseCode::SYSTEM_ERROR; in readMasterKey()
165 return ResponseCode::SYSTEM_ERROR; in readMasterKey()
[all …]
Dkeystore_client_impl.cpp194 if (!binder_result.isOk()) return ResponseCode::SYSTEM_ERROR; in addRandomNumberGeneratorEntropy()
216 if (!binder_result.isOk()) return ResponseCode::SYSTEM_ERROR; in generateKey()
242 if (!binder_result.isOk()) return ResponseCode::SYSTEM_ERROR; in getKeyCharacteristics()
271 if (!binder_result.isOk()) return ResponseCode::SYSTEM_ERROR; in importKey()
296 if (!binder_result.isOk()) return ResponseCode::SYSTEM_ERROR; in exportKey()
313 if (!binder_result.isOk()) return ResponseCode::SYSTEM_ERROR; in deleteKey()
320 if (!binder_result.isOk()) return ResponseCode::SYSTEM_ERROR; in deleteAllKeys()
337 if (!binder_result.isOk()) return ResponseCode::SYSTEM_ERROR; in beginOperation()
367 if (!binder_result.isOk()) return ResponseCode::SYSTEM_ERROR; in updateOperation()
399 if (!binder_result.isOk()) return ResponseCode::SYSTEM_ERROR; in finishOperation()
[all …]
Dblob.cpp110 return ResponseCode::SYSTEM_ERROR; in AES_gcm_encrypt()
334 return ResponseCode::SYSTEM_ERROR; in writeBlob()
348 return ResponseCode::SYSTEM_ERROR; in writeBlob()
353 return ResponseCode::SYSTEM_ERROR; in writeBlob()
358 return ResponseCode::SYSTEM_ERROR; in writeBlob()
367 return ResponseCode::SYSTEM_ERROR; in writeBlobs()
394 return (errno == ENOENT) ? ResponseCode::KEY_NOT_FOUND : ResponseCode::SYSTEM_ERROR; in readBlob()
400 return ResponseCode::SYSTEM_ERROR; in readBlob()
481 if (entry_ == nullptr) return rc = ResponseCode::SYSTEM_ERROR, result; in readBlobs()
499 ? ResponseCode::SYSTEM_ERROR in deleteBlobs()
[all …]
Dkey_store_service.cpp96 return {ResponseCode::SYSTEM_ERROR, false /* don't care */}; in hadFactoryResetSinceIdRotation()
102 return {ResponseCode::SYSTEM_ERROR, false /* don't care */}; in hadFactoryResetSinceIdRotation()
107 return {ResponseCode::SYSTEM_ERROR, false /* don't care */}; in hadFactoryResetSinceIdRotation()
401 *aidl_return = static_cast<int32_t>(ResponseCode::SYSTEM_ERROR); in onUserPasswordChanged()
740 return AIDL_RETURN(ResponseCode::SYSTEM_ERROR); in getKeyCharacteristics()
1050 cb->onFinished(KeyStoreServiceReturnCode(ResponseCode::SYSTEM_ERROR), {}); in attestKey()
1105 return AIDL_RETURN(ResponseCode::SYSTEM_ERROR); in attestDeviceIds()
1127 cb->onFinished(KeyStoreServiceReturnCode(ResponseCode::SYSTEM_ERROR), {}); in attestDeviceIds()
1147 cb->onFinished(KeyStoreServiceReturnCode(ResponseCode::SYSTEM_ERROR), {}); in attestDeviceIds()
Dkeymaster_worker.cpp160 rc = ResponseCode::SYSTEM_ERROR; in createKeyCharacteristicsCache()
175 return rc = ResponseCode::SYSTEM_ERROR, result; in createKeyCharacteristicsCache()
199 error = ResponseCode::SYSTEM_ERROR; in createKeyCharacteristicsCache()
440 return worker_cb(operationFailed(ResponseCode::SYSTEM_ERROR)); in begin()
453 return worker_cb(operationFailed(ResponseCode::SYSTEM_ERROR)); in begin()
476 return worker_cb(operationFailed(ResponseCode::SYSTEM_ERROR)); in begin()
DKeyStore.cpp170 case ResponseCode::SYSTEM_ERROR: in resetUser()
227 return rc == ResponseCode::SYSTEM_ERROR || matches.size() == 0; in isEmpty()
/system/security/keystore/include/keystore/
Dkeystore.h34 SYSTEM_ERROR = 4, enumerator