Lines Matching refs:Client
253 Client, enumerator
264 KeyType::Client => 0, in to_sql()
274 0 => Ok(KeyType::Client), in column_result()
2802 params![domain.0, namespace, KeyType::Client], in unbind_keys_for_namespace()
2811 params![domain.0, namespace, KeyType::Client], in unbind_keys_for_namespace()
2820 params![domain.0, namespace, KeyType::Client], in unbind_keys_for_namespace()
2826 params![domain.0, namespace, KeyType::Client], in unbind_keys_for_namespace()
2911 KeyType::Client, in unbind_keys_for_user()
3051 Self::load_access_tuple(&tx, key, KeyType::Client, caller_uid) in grant()
3111 Self::load_access_tuple(&tx, key, KeyType::Client, caller_uid) in ungrant()
3273 KeystoreDB::rebind_alias(tx, newid, alias, &domain, &namespace, KeyType::Client).no_gc() in rebind_alias()
3397 db.create_key_entry(&Domain::APP, &100, KeyType::Client, &KEYSTORE_UUID)?; in test_persistence_for_files()
3416 db.create_key_entry(&Domain::APP, &100, KeyType::Client, &KEYSTORE_UUID)?; in test_create_key_entry()
3417 db.create_key_entry(&Domain::SELINUX, &101, KeyType::Client, &KEYSTORE_UUID)?; in test_create_key_entry()
3426 db.create_key_entry(&Domain::GRANT, &102, KeyType::Client, &KEYSTORE_UUID), in test_create_key_entry()
3430 db.create_key_entry(&Domain::BLOB, &103, KeyType::Client, &KEYSTORE_UUID), in test_create_key_entry()
3434 db.create_key_entry(&Domain::KEY_ID, &104, KeyType::Client, &KEYSTORE_UUID), in test_create_key_entry()
3602 db.create_key_entry(&Domain::APP, &42, KeyType::Client, &KEYSTORE_UUID)?; in test_delete_all_attestation_keys()
3623 db.create_key_entry(&Domain::APP, &42, KeyType::Client, &KEYSTORE_UUID)?; in test_rebind_alias()
3624 db.create_key_entry(&Domain::APP, &42, KeyType::Client, &KEYSTORE_UUID)?; in test_rebind_alias()
3906 KeyType::Client, in test_insert_and_load_full_keyentry_domain_app()
3921 KeyType::Client, in test_insert_and_load_full_keyentry_domain_app()
3936 KeyType::Client, in test_insert_and_load_full_keyentry_domain_app()
3960 KeyType::Client, in test_insert_and_load_certificate_entry_domain_app()
3974 KeyType::Client, in test_insert_and_load_certificate_entry_domain_app()
3992 KeyType::Client, in test_insert_and_load_certificate_entry_domain_app()
4007 KeyType::Client, in test_insert_and_load_certificate_entry_domain_app()
4034 KeyType::Client, in test_insert_and_load_full_keyentry_domain_selinux()
4049 KeyType::Client, in test_insert_and_load_full_keyentry_domain_selinux()
4064 KeyType::Client, in test_insert_and_load_full_keyentry_domain_selinux()
4086 KeyType::Client, in test_insert_and_load_full_keyentry_domain_key_id()
4097 KeyType::Client, in test_insert_and_load_full_keyentry_domain_key_id()
4107 KeyType::Client, in test_insert_and_load_full_keyentry_domain_key_id()
4131 KeyType::Client, in test_check_and_update_key_usage_count_with_limited_use_key()
4193 .load_key_entry(&granted_key, KeyType::Client, KeyEntryLoadBits::BOTH, 2, |k, av| { in test_insert_and_load_full_keyentry_from_grant()
4202 db.unbind_key(&granted_key, KeyType::Client, 2, |_, _| Ok(())).unwrap(); in test_insert_and_load_full_keyentry_from_grant()
4208 KeyType::Client, in test_insert_and_load_full_keyentry_from_grant()
4255 KeyType::Client, in test_insert_and_load_full_keyentry_from_grant_by_key_id()
4272 KeyType::Client, in test_insert_and_load_full_keyentry_from_grant_by_key_id()
4286 db.unbind_key(&id_descriptor, KeyType::Client, OWNER_UID, |_, _| Ok(())).unwrap(); in test_insert_and_load_full_keyentry_from_grant_by_key_id()
4292 KeyType::Client, in test_insert_and_load_full_keyentry_from_grant_by_key_id()
4342 KeyType::Client, in test_migrate_key_app_to_app()
4360 KeyType::Client, in test_migrate_key_app_to_app()
4411 KeyType::Client, in test_migrate_key_app_to_selinux()
4429 KeyType::Client, in test_migrate_key_app_to_selinux()
4503 KeyType::Client, in test_upgrade_0_to_1()
4523 KeyType::Client, in test_upgrade_0_to_1()
4543 KeyType::Client, in test_upgrade_0_to_1()
4569 KeyType::Client, in test_upgrade_0_to_1()
4589 KeyType::Client, in test_upgrade_0_to_1()
4610 KeyType::Client, in test_upgrade_0_to_1()
4645 KeyType::Client, in test_insert_and_load_full_keyentry_domain_app_concurrently()
4673 KeyType::Client, in test_insert_and_load_full_keyentry_domain_app_concurrently()
4787 db.unbind_key(&key, KeyType::Client, 2, |_, _| Ok(())).expect("Unbind Failed."); in test_large_number_of_concurrent_db_manipulations()
4807 db.unbind_key(&key, KeyType::Client, 1, |_, _| Ok(())).expect("Unbind Failed."); in test_large_number_of_concurrent_db_manipulations()
4834 db.unbind_key(&key, KeyType::Client, 3, |_, _| Ok(())).expect("Unbind Failed."); in test_large_number_of_concurrent_db_manipulations()
4900 let mut list_result = db.list(*domain, *namespace, KeyType::Client)?; in list()
4910 KeyType::Client, in list()
4930 assert_eq!(Vec::<KeyDescriptor>::new(), db.list(Domain::SELINUX, 101, KeyType::Client)?); in list()
5248 let key_id = db.create_key_entry(&domain, &namespace, KeyType::Client, &KEYSTORE_UUID)?; in make_test_key_entry()
5307 let key_id = db.create_key_entry(&domain, &namespace, KeyType::Client, &KEYSTORE_UUID)?; in make_bootlevel_key_entry()
5453 assert_eq!(1, db.list(Domain::APP, 110000, KeyType::Client)?.len()); in test_unbind_keys_for_user()
5454 assert_eq!(0, db.list(Domain::APP, 210000, KeyType::Client)?.len()); in test_unbind_keys_for_user()
5457 assert_eq!(0, db.list(Domain::APP, 110000, KeyType::Client)?.len()); in test_unbind_keys_for_user()
5598 let key_id = db.create_key_entry(&Domain::APP, &42, KeyType::Client, &KEYSTORE_UUID)?; in test_verify_key_table_size_reporting()