Home
last modified time | relevance | path

Searched refs:INVALID_ARGUMENT (Results 1 – 25 of 28) sorted by relevance

12

/system/security/keystore2/src/
Dattestation_key_utils.rs102 Domain::BLOB => Err(Error::Km(ErrorCode::INVALID_ARGUMENT)) in load_attest_key_blob_and_cert()
117 .ok_or(Error::Rc(ResponseCode::INVALID_ARGUMENT)) in load_attest_key_blob_and_cert()
121 .ok_or(Error::Rc(ResponseCode::INVALID_ARGUMENT)) in load_attest_key_blob_and_cert()
Dsecurity_level.rs295 Err(Error::Km(ErrorCode::INVALID_ARGUMENT)) in create_operation()
299 _ => Err(Error::Km(ErrorCode::INVALID_ARGUMENT)) in create_operation()
414 return Err(Error::Rc(ResponseCode::INVALID_ARGUMENT)).context(ks_err!( in add_required_parameters()
520 return Err(error::Error::Km(ErrorCode::INVALID_ARGUMENT)) in generate_key()
641 return Err(error::Error::Km(ErrorCode::INVALID_ARGUMENT)) in import_key()
666 .ok_or(error::Error::Km(ErrorCode::INVALID_ARGUMENT)) in import_key()
674 v => Err(error::Error::Km(ErrorCode::INVALID_ARGUMENT)) in import_key()
704 return Err(error::Error::Km(ErrorCode::INVALID_ARGUMENT)).context(ks_err!( in import_wrapped_key()
712 return Err(error::Error::Km(ErrorCode::INVALID_ARGUMENT)) in import_wrapped_key()
917 return Err(error::Error::Km(ErrorCode::INVALID_ARGUMENT)) in convert_storage_key_to_ephemeral()
[all …]
Dauthorization.rs76 KsResponseCode::INVALID_ARGUMENT => ResponseCode::INVALID_ARGUMENT.0, in into_logged_binder()
214 return Err(Error::Rc(ResponseCode::INVALID_ARGUMENT)) in get_auth_tokens_for_credstore()
Dmaintenance.rs233 return Err(Error::Rc(ResponseCode::INVALID_ARGUMENT)) in migrate_key_namespace()
241 return Err(Error::Rc(ResponseCode::INVALID_ARGUMENT)) in migrate_key_namespace()
Dservice.rs237 return Err(Error::Rc(ResponseCode::INVALID_ARGUMENT)) in update_subcomponent()
271 return Err(Error::Rc(ResponseCode::INVALID_ARGUMENT)).context(ks_err!( in get_key_descriptor_for_lookup()
Ddatabase.rs1686 return Err(KsError::Rc(ResponseCode::INVALID_ARGUMENT)) in migrate_key_namespace()
1697 .ok_or(KsError::Rc(ResponseCode::INVALID_ARGUMENT)) in migrate_key_namespace()
1713 return Err(KsError::Rc(ResponseCode::INVALID_ARGUMENT)) in migrate_key_namespace()
1759 return Err(KsError::Rc(ResponseCode::INVALID_ARGUMENT)) in store_new_key()
1838 return Err(KsError::Rc(ResponseCode::INVALID_ARGUMENT)) in store_new_certificate()
2018 _ => Err(anyhow!(KsError::Rc(ResponseCode::INVALID_ARGUMENT))), in load_access_tuple()
2322 return Err(KsError::Rc(ResponseCode::INVALID_ARGUMENT)).context(ks_err!()); in unbind_keys_for_namespace()
3970 Some(&KsError::Rc(ResponseCode::INVALID_ARGUMENT)), in test_migrate_key_destination_occupied()
/system/security/keystore2/tests/
Dkeystore2_client_delete_key_tests.rs88 assert_eq!(Error::Rc(ResponseCode::INVALID_ARGUMENT), result.unwrap_err()); in keystore2_delete_key_with_blob_domain_fail()
126 assert_eq!(Error::Km(ErrorCode::INVALID_ARGUMENT), result.unwrap_err()); in keystore2_delete_key_fails_with_missing_key_blob()
149 assert_eq!(Error::Km(ErrorCode::INVALID_ARGUMENT), result.unwrap_err()); in keystore2_delete_key_blob_fail()
Dkeystore2_client_list_entries_tests.rs190 assert_eq!(Error::Rc(ResponseCode::INVALID_ARGUMENT), result.unwrap_err()); in keystore2_list_entries_fails_invalid_arg()
687 assert_eq!(Error::Rc(ResponseCode::INVALID_ARGUMENT), result.unwrap_err()); in keystore2_list_entries_batched_fails_invalid_arg()
724 assert_eq!(Error::Rc(ResponseCode::INVALID_ARGUMENT), result.unwrap_err()); in keystore2_get_number_of_entries_fails_invalid_arg()
Dkeystore2_client_key_agreement_tests.rs178 assert_eq!(Error::Km(ErrorCode::INVALID_ARGUMENT), result.unwrap_err()); in keystore2_ec_agree_key_with_different_curves_fail()
Dkeystore2_client_ec_key_tests.rs218 assert_eq!(Error::Rc(ResponseCode::INVALID_ARGUMENT), result.unwrap_err()); in keystore2_get_key_entry_blob_fail()
240 assert_eq!(Error::Rc(ResponseCode::INVALID_ARGUMENT), result.unwrap_err()); in keystore2_generate_key_invalid_domain()
Dkeystore2_client_device_unique_attestation_tests.rs186 Error::Km(ErrorCode::INVALID_ARGUMENT) | Error::Km(ErrorCode::UNSUPPORTED_TAG) in keystore2_gen_key_device_unique_attest_with_default_sec_level_unimplemented()
Dkeystore2_client_attest_key_tests.rs437 assert_eq!(Error::Rc(ResponseCode::INVALID_ARGUMENT), result.unwrap_err()); in keystore2_attest_rsa_key_with_symmetric_key_fails_sys_error()
/system/security/keystore2/aidl/android/security/authorization/
DResponseCode.aidl55 INVALID_ARGUMENT = 20, enumConstant
/system/chre/host/common/include/chre_host/
Dhal_error.h30 INVALID_ARGUMENT = -3, enumerator
/system/hardware/interfaces/keystore2/aidl/aidl_api/android.system.keystore2/1/android/system/keystore2/
DResponseCode.aidl47 INVALID_ARGUMENT = 20, enumConstant
/system/hardware/interfaces/keystore2/aidl/aidl_api/android.system.keystore2/2/android/system/keystore2/
DResponseCode.aidl47 INVALID_ARGUMENT = 20, enumConstant
/system/hardware/interfaces/keystore2/aidl/aidl_api/android.system.keystore2/3/android/system/keystore2/
DResponseCode.aidl47 INVALID_ARGUMENT = 20, enumConstant
/system/hardware/interfaces/keystore2/aidl/aidl_api/android.system.keystore2/4/android/system/keystore2/
DResponseCode.aidl47 INVALID_ARGUMENT = 20, enumConstant
/system/hardware/interfaces/keystore2/aidl/android/system/keystore2/
DResponseCode.aidl76 INVALID_ARGUMENT = 20, enumConstant
/system/hardware/interfaces/keystore2/aidl/aidl_api/android.system.keystore2/current/android/system/keystore2/
DResponseCode.aidl47 INVALID_ARGUMENT = 20, enumConstant
/system/nfc/tools/casimir/src/
Dmain-grpc.rs358 grpcio::RpcStatusCode::INVALID_ARGUMENT, in get_device()
376 grpcio::RpcStatusCode::INVALID_ARGUMENT, in move_device()
/system/security/keystore2/src/km_compat/
Dparameter_conversion_test.cpp196 TEST_ERROR_CODE_CONVERSION(INVALID_ARGUMENT); in TEST()
Dkm_compat_type_conversion.h108 case V4_0::ErrorCode::INVALID_ARGUMENT: in convert()
109 return KMV1::ErrorCode::INVALID_ARGUMENT; in convert()
/system/chre/host/hal_generic/common/
Dmulti_client_context_hub_base.cc452 return fromServiceError(HalError::INVALID_ARGUMENT); in onHostEndpointConnected()
459 return fromServiceError(HalError::INVALID_ARGUMENT); in onHostEndpointConnected()
/system/security/keystore/
Dkeystore_cli_v2.cpp284 return static_cast<int>(ks2::ResponseCode::INVALID_ARGUMENT); in loadOrCreateAndVerifyEncryptionKey()
337 return static_cast<int>(ks2::ResponseCode::INVALID_ARGUMENT); in loadOrCreateAndVerifyAuthenticationKey()

12