• Home
  • Raw
  • Download

Lines Matching refs:alias

1239         alias: &str,  in key_exists()
1246 KeyDescriptor { domain, nspace, alias: Some(alias.to_string()), blob: None }; in key_exists()
1282 key_type.alias, in store_super_key()
1320 alias: Some(key_type.alias.into()), in load_super_key()
1348 alias: &str, in get_or_create_key_with()
1371 .query(params![KeyType::Super, domain.0, namespace, alias, KeyLifeCycle::Live]) in get_or_create_key_with()
1401 alias, in get_or_create_key_with()
2005 for (alias, domain) in rows { in get_attestation_pool_status()
2006 match (alias, domain) { in get_attestation_pool_status()
2113 alias: &str, in rebind_alias()
2132 params![KeyLifeCycle::Unreferenced, alias, domain.0 as u32, namespace, key_type], in rebind_alias()
2141 alias, in rebind_alias()
2184 let alias = destination in migrate_key_namespace() localVariable
2185 .alias in migrate_key_namespace()
2196 params![alias, destination.domain.0, destination.nspace], in migrate_key_namespace()
2212 params![alias, destination.domain.0, destination.nspace, key_id_guard.id()], in migrate_key_namespace()
2243 let (alias, domain, namespace) = match key { in store_new_key()
2244 KeyDescriptor { alias: Some(alias), domain: Domain::APP, nspace, blob: None } in store_new_key()
2245 | KeyDescriptor { alias: Some(alias), domain: Domain::SELINUX, nspace, blob: None } => { in store_new_key()
2246 (alias, key.domain, nspace) in store_new_key()
2282 let need_gc = Self::rebind_alias(tx, &key_id, &alias, &domain, namespace, key_type) in store_new_key()
2301 let (alias, domain, namespace) = match key { in store_new_certificate()
2302 KeyDescriptor { alias: Some(alias), domain: Domain::APP, nspace, blob: None } in store_new_certificate()
2303 | KeyDescriptor { alias: Some(alias), domain: Domain::SELINUX, nspace, blob: None } => { in store_new_certificate()
2304 (alias, key.domain, nspace) in store_new_certificate()
2332 let need_gc = Self::rebind_alias(tx, &key_id, &alias, &domain, namespace, key_type) in store_new_certificate()
2343 let alias = key in load_key_entry_id() localVariable
2344 .alias in load_key_entry_id()
2360 .query(params![key_type, key.domain.0 as u32, key.nspace, alias, KeyLifeCycle::Live]) in load_key_entry_id()
2918 USER_SUPER_KEY.alias, in unbind_keys_for_user()
3014 alias: Some(row.get(0).context("Trying to extract alias.")?), in list()
3091 Ok(KeyDescriptor { domain: Domain::GRANT, nspace: grant_id, alias: None, blob: None }) in grant()
3199 alias: row.get(2)?, in load_key_descriptor()
3268 alias: &str, in rebind_alias()
3273 KeystoreDB::rebind_alias(tx, newid, alias, &domain, &namespace, KeyType::Client).no_gc() in rebind_alias()
3411 (ke.domain.unwrap(), ke.namespace.unwrap(), ke.alias.as_deref(), ke.km_uuid.unwrap()) in test_create_key_entry()
3619 (ke.domain, ke.namespace, ke.alias.as_deref(), ke.km_uuid) in test_rebind_alias()
3705 alias: Some("key".to_string()), in test_grant_ungrant()
3725 alias: Some("key".to_string()), in test_grant_ungrant()
3739 alias: None, in test_grant_ungrant()
3747 alias: Some("yek".to_string()), in test_grant_ungrant()
3761 alias: Some("yek".to_string()), in test_grant_ungrant()
3775 alias: None, in test_grant_ungrant()
3791 alias: Some("yek".to_string()), in test_grant_ungrant()
3805 alias: None, in test_grant_ungrant()
3903 alias: Some(TEST_ALIAS.to_string()), in test_insert_and_load_full_keyentry_domain_app()
3918 alias: Some(TEST_ALIAS.to_string()), in test_insert_and_load_full_keyentry_domain_app()
3933 alias: Some(TEST_ALIAS.to_string()), in test_insert_and_load_full_keyentry_domain_app()
3957 alias: Some(TEST_ALIAS.to_string()), in test_insert_and_load_certificate_entry_domain_app()
3971 alias: Some(TEST_ALIAS.to_string()), in test_insert_and_load_certificate_entry_domain_app()
3989 alias: Some(TEST_ALIAS.to_string()), in test_insert_and_load_certificate_entry_domain_app()
4004 alias: Some(TEST_ALIAS.to_string()), in test_insert_and_load_certificate_entry_domain_app()
4031 alias: Some(TEST_ALIAS.to_string()), in test_insert_and_load_full_keyentry_domain_selinux()
4046 alias: Some(TEST_ALIAS.to_string()), in test_insert_and_load_full_keyentry_domain_selinux()
4061 alias: Some(TEST_ALIAS.to_string()), in test_insert_and_load_full_keyentry_domain_selinux()
4085 &KeyDescriptor { domain: Domain::KEY_ID, nspace: key_id, alias: None, blob: None }, in test_insert_and_load_full_keyentry_domain_key_id()
4096 &KeyDescriptor { domain: Domain::KEY_ID, nspace: key_id, alias: None, blob: None }, in test_insert_and_load_full_keyentry_domain_key_id()
4106 &KeyDescriptor { domain: Domain::KEY_ID, nspace: key_id, alias: None, blob: None }, in test_insert_and_load_full_keyentry_domain_key_id()
4130 &KeyDescriptor { domain: Domain::KEY_ID, nspace: key_id, alias: None, blob: None }, in test_check_and_update_key_usage_count_with_limited_use_key()
4180 alias: Some(TEST_ALIAS.to_string()), in test_insert_and_load_full_keyentry_from_grant()
4237 alias: Some(TEST_ALIAS.to_string()), in test_insert_and_load_full_keyentry_from_grant_by_key_id()
4321 alias: Some(SOURCE_ALIAS.to_string()), in test_migrate_key_app_to_app()
4328 alias: Some(DESTINATION_ALIAS.to_string()), in test_migrate_key_app_to_app()
4390 alias: Some(SOURCE_ALIAS.to_string()), in test_migrate_key_app_to_selinux()
4397 alias: Some(DESTINATION_ALIAS.to_string()), in test_migrate_key_app_to_selinux()
4460 alias: Some(DESTINATION_ALIAS.to_string()), in test_migrate_key_destination_occupied()
4500 alias: Some(ALIAS1.to_string()), in test_upgrade_0_to_1()
4520 alias: Some(ALIAS2.to_string()), in test_upgrade_0_to_1()
4540 alias: Some(ALIAS3.to_string()), in test_upgrade_0_to_1()
4566 alias: Some(ALIAS1.to_string()), in test_upgrade_0_to_1()
4586 alias: Some(ALIAS2.to_string()), in test_upgrade_0_to_1()
4607 alias: Some(ALIAS3.to_string()), in test_upgrade_0_to_1()
4642 alias: Some(KEY_LOCK_TEST_ALIAS.to_string()), in test_insert_and_load_full_keyentry_domain_app_concurrently()
4670 alias: Some(KEY_LOCK_TEST_ALIAS.to_string()), in test_insert_and_load_full_keyentry_domain_app_concurrently()
4756 let alias = format!("test_alias_{}", count); in test_large_number_of_concurrent_db_manipulations() localVariable
4757 make_test_key_entry(&mut db, Domain::APP, 1, &alias, None) in test_large_number_of_concurrent_db_manipulations()
4771 let alias = format!("test_alias_{}", count); in test_large_number_of_concurrent_db_manipulations() localVariable
4772 make_test_key_entry(&mut db, Domain::APP, 2, &alias, None) in test_large_number_of_concurrent_db_manipulations()
4784 alias: Some(format!("test_alias_{}", count)), in test_large_number_of_concurrent_db_manipulations()
4804 alias: Some(format!("test_alias_{}", count)), in test_large_number_of_concurrent_db_manipulations()
4825 let alias = format!("test_alias_{}", count); in test_large_number_of_concurrent_db_manipulations() localVariable
4826 make_test_key_entry(&mut db, Domain::APP, 3, &alias, None) in test_large_number_of_concurrent_db_manipulations()
4831 alias: Some(alias), in test_large_number_of_concurrent_db_manipulations()
4875 .map(|(domain, ns, alias)| { in list()
4876 let entry = make_test_key_entry(&mut db, *domain, *ns, *alias, None) in list()
4878 panic!("Failed to insert {:?} {} {}. Error {:?}", domain, ns, alias, e) in list()
4889 .filter_map(|(domain, ns, alias)| match ns { in list()
4893 alias: Some(alias.to_string()), in list()
4957 alias: Option<String>, field
4974 alias: row.get(4)?, in get_keyentry()
5245 alias: &str, in make_test_key_entry()
5271 rebind_alias(db, &key_id, alias, domain, namespace)?; in make_test_key_entry()
5304 alias: &str, in make_bootlevel_key_entry()
5331 rebind_alias(db, &key_id, alias, domain, namespace)?; in make_bootlevel_key_entry()
5381 let (id, key_type, domain, namespace, alias, state, km_uuid) = r.unwrap(); in debug_dump_keyentry_table()
5384 id, key_type, domain, namespace, alias, state, km_uuid in debug_dump_keyentry_table()
5482 assert!(db.key_exists(Domain::APP, 1, &USER_SUPER_KEY.alias, KeyType::Super)?); in test_store_super_key()
5677 alias: Some(TEST_ALIAS.to_string()), in test_verify_grant_table_size_reporting()
5736 assert_eq!(key.alias, Some(TEST_ALIAS.to_string())); in test_load_key_descriptor()