Home
last modified time | relevance | path

Searched refs:APPLICATION_ID (Results 1 – 14 of 14) sorted by relevance

/system/security/keystore2/tests/
Dkeystore2_client_grant_key_tests.rs92 const APPLICATION_ID: u32 = 10001; in keystore2_grant_key_with_invalid_perm_expecting_syserror() constant
93 let grantee_uid = USER_ID * AID_USER_OFFSET + APPLICATION_ID; in keystore2_grant_key_with_invalid_perm_expecting_syserror()
113 const APPLICATION_ID: u32 = 10001; in keystore2_grant_key_with_perm_none() constant
114 static GRANTEE_UID: u32 = USER_ID * AID_USER_OFFSET + APPLICATION_ID; in keystore2_grant_key_with_perm_none()
169 const APPLICATION_ID: u32 = 10001; in keystore2_grant_get_info_use_key_perm() constant
170 static GRANTEE_UID: u32 = USER_ID * AID_USER_OFFSET + APPLICATION_ID; in keystore2_grant_get_info_use_key_perm()
252 const APPLICATION_ID: u32 = 10001; in keystore2_grant_delete_key_success() constant
253 static GRANTEE_UID: u32 = USER_ID * AID_USER_OFFSET + APPLICATION_ID; in keystore2_grant_delete_key_success()
325 const APPLICATION_ID: u32 = 10001; in keystore2_grant_key_fails_with_permission_denied() constant
326 static GRANTEE_UID: u32 = USER_ID * AID_USER_OFFSET + APPLICATION_ID; in keystore2_grant_key_fails_with_permission_denied()
[all …]
Dkeystore2_client_operation_tests.rs289 const APPLICATION_ID: u32 = 10601; in keystore2_ops_prune_test() constant
291 let uid = USER_ID * AID_USER_OFFSET + APPLICATION_ID; in keystore2_ops_prune_test()
292 let gid = USER_ID * AID_USER_OFFSET + APPLICATION_ID; in keystore2_ops_prune_test()
389 const APPLICATION_ID: u32 = 10601; in keystore2_forced_op_perm_denied_test() constant
391 let uid = USER_ID * AID_USER_OFFSET + APPLICATION_ID; in keystore2_forced_op_perm_denied_test()
392 let gid = USER_ID * AID_USER_OFFSET + APPLICATION_ID; in keystore2_forced_op_perm_denied_test()
420 const APPLICATION_ID: u32 = 10601; in keystore2_forced_op_success_test() constant
422 let uid = USER_ID * AID_USER_OFFSET + APPLICATION_ID; in keystore2_forced_op_success_test()
423 let gid = USER_ID * AID_USER_OFFSET + APPLICATION_ID; in keystore2_forced_op_success_test()
Dkeystore2_client_list_entries_tests.rs59 const APPLICATION_ID: u32 = 10006; in keystore2_list_entries_success() constant
60 static GRANTEE_UID: u32 = USER_ID * AID_USER_OFFSET + APPLICATION_ID; in keystore2_list_entries_success()
200 const APPLICATION_ID: u32 = 10002; in keystore2_list_entries_with_long_aliases_success() constant
201 static CLIENT_UID: u32 = USER_ID * AID_USER_OFFSET + APPLICATION_ID; in keystore2_list_entries_with_long_aliases_success()
267 const APPLICATION_ID: u32 = 10002; in keystore2_list_entries_batched_with_long_aliases_success() constant
268 static CLIENT_UID: u32 = USER_ID * AID_USER_OFFSET + APPLICATION_ID; in keystore2_list_entries_batched_with_long_aliases_success()
334 const APPLICATION_ID: u32 = 10002; in keystore2_list_entries_batched_with_multi_procs_success() constant
335 static CLIENT_UID: u32 = USER_ID * AID_USER_OFFSET + APPLICATION_ID; in keystore2_list_entries_batched_with_multi_procs_success()
434 const APPLICATION_ID: u32 = 10002; in keystore2_list_entries_batched_with_empty_keystore_success() constant
435 static CLIENT_UID: u32 = USER_ID * AID_USER_OFFSET + APPLICATION_ID; in keystore2_list_entries_batched_with_empty_keystore_success()
[all …]
Dkeystore2_client_keystore_engine_tests.rs165 const APPLICATION_ID: u32 = 10001; in keystore2_perofrm_crypto_op_using_keystore2_engine_rsa_key_success() constant
166 static GRANTEE_UID: u32 = USER_ID * AID_USER_OFFSET + APPLICATION_ID; in keystore2_perofrm_crypto_op_using_keystore2_engine_rsa_key_success()
208 const APPLICATION_ID: u32 = 10001; in keystore2_perofrm_crypto_op_using_keystore2_engine_ec_key_success() constant
209 static GRANTEE_UID: u32 = USER_ID * AID_USER_OFFSET + APPLICATION_ID; in keystore2_perofrm_crypto_op_using_keystore2_engine_ec_key_success()
251 const APPLICATION_ID: u32 = 10001; in keystore2_perofrm_crypto_op_using_keystore2_engine_pem_pub_key_success() constant
252 static GRANTEE_UID: u32 = USER_ID * AID_USER_OFFSET + APPLICATION_ID; in keystore2_perofrm_crypto_op_using_keystore2_engine_pem_pub_key_success()
Dkeystore2_client_update_subcomponent_tests.rs161 const APPLICATION_ID: u32 = 10001; in keystore2_update_subcomponent_fails_permission_denied() constant
162 static GRANTEE_1_UID: u32 = USER_ID_1 * AID_USER_OFFSET + APPLICATION_ID; in keystore2_update_subcomponent_fails_permission_denied()
166 static GRANTEE_2_UID: u32 = USER_ID_2 * AID_USER_OFFSET + APPLICATION_ID; in keystore2_update_subcomponent_fails_permission_denied()
/system/security/keystore2/test_utils/
Dauthorizations.rs335 self.0.push(KeyParameter { tag: Tag::APPLICATION_ID, value: KeyParameterValue::Blob(b) }); in app_id()
/system/security/keystore2/src/
Dkey_parameter.rs931 #[key_param(tag = APPLICATION_ID, field = Blob)]
1297 Tag::APPLICATION_ID.0, in test_new_from_sql_vec_u8()
1302 assert_eq!(Tag::APPLICATION_ID, key_param.get_tag()); in test_new_from_sql_vec_u8()
Dsw_keyblob.rs278 if let Some(app_id) = get_tag_value(params, Tag::APPLICATION_ID) { in hidden_params()
279 results.push(KeyParameter { tag: Tag::APPLICATION_ID, value: app_id.clone() }); in hidden_params()
/system/keymaster/ng/include/
Dkeymaster_tags.h150 DECLARE_TYPED_TAG(APPLICATION_ID);
/system/keymaster/include/keymaster/km_openssl/
Dattestation_record.h266 APPLICATION_ID = convert_to_eat_claim(KM_TAG_APPLICATION_ID), enumerator
/system/keymint/hal/src/
Dhal.rs361 KeyParam::ApplicationId(v) => (Tag::APPLICATION_ID, KeyParameterValue::Blob(v)), in fromm()
670 keymint::Tag::Tag::APPLICATION_ID => Some(KeyParam::ApplicationId(clone_blob!(val)?)), in try_fromm()
/system/security/keystore2/src/km_compat/
Dkm_compat_type_conversion.h608 case KMV1::Tag::APPLICATION_ID: in convertKeyParameterToLegacy()
920 case V4_0::Tag::APPLICATION_ID: in convertKeyParameterFromLegacy()
Dkm_compat.cpp67 case Tag::APPLICATION_ID: in isAttestationParameter()
93 case Tag::APPLICATION_ID: in isKeyCreationParameter()
/system/keymaster/km_openssl/
Dattestation_record.cpp1801 case EatClaim::APPLICATION_ID: in parse_submod_values()