Lines Matching refs:Client
294 Client, enumerator
303 KeyType::Client => 0, in to_sql()
312 0 => Ok(KeyType::Client), in column_result()
2331 params![domain.0, namespace, KeyType::Client], in unbind_keys_for_namespace()
2340 params![domain.0, namespace, KeyType::Client], in unbind_keys_for_namespace()
2349 params![domain.0, namespace, KeyType::Client], in unbind_keys_for_namespace()
2355 params![domain.0, namespace, KeyType::Client], in unbind_keys_for_namespace()
2439 KeyType::Client, in unbind_keys_for_user()
2508 .query(params![KeyType::Client, Domain::APP.0 as u32, user_id, KeyLifeCycle::Live,]) in unbind_auth_bound_keys_for_user()
2686 Self::load_access_tuple(tx, key, KeyType::Client, caller_uid).context(ks_err!())?; in grant()
2745 Self::load_access_tuple(tx, key, KeyType::Client, caller_uid).context(ks_err!())?; in ungrant()
2853 .query(params![KeyType::Client, Domain::APP.0 as u32, user_id, KeyLifeCycle::Live,]) in get_app_uids_affected_by_sid()
2945 KeystoreDB::rebind_alias(tx, newid, alias, &domain, &namespace, KeyType::Client).no_gc() in rebind_alias()
3081 create_key_entry(&mut db, &Domain::APP, &100, KeyType::Client, &KEYSTORE_UUID)?; in test_persistence_for_files()
3100 create_key_entry(&mut db, &Domain::APP, &100, KeyType::Client, &KEYSTORE_UUID)?; in test_create_key_entry()
3101 create_key_entry(&mut db, &Domain::SELINUX, &101, KeyType::Client, &KEYSTORE_UUID)?; in test_create_key_entry()
3110 create_key_entry(&mut db, &Domain::GRANT, &102, KeyType::Client, &KEYSTORE_UUID), in test_create_key_entry()
3114 create_key_entry(&mut db, &Domain::BLOB, &103, KeyType::Client, &KEYSTORE_UUID), in test_create_key_entry()
3118 create_key_entry(&mut db, &Domain::KEY_ID, &104, KeyType::Client, &KEYSTORE_UUID), in test_create_key_entry()
3134 create_key_entry(&mut db, &Domain::APP, &42, KeyType::Client, &KEYSTORE_UUID)?; in test_rebind_alias()
3135 create_key_entry(&mut db, &Domain::APP, &42, KeyType::Client, &KEYSTORE_UUID)?; in test_rebind_alias()
3411 KeyType::Client, in test_insert_and_load_full_keyentry_domain_app()
3426 KeyType::Client, in test_insert_and_load_full_keyentry_domain_app()
3441 KeyType::Client, in test_insert_and_load_full_keyentry_domain_app()
3465 KeyType::Client, in test_insert_and_load_certificate_entry_domain_app()
3479 KeyType::Client, in test_insert_and_load_certificate_entry_domain_app()
3497 KeyType::Client, in test_insert_and_load_certificate_entry_domain_app()
3512 KeyType::Client, in test_insert_and_load_certificate_entry_domain_app()
3539 KeyType::Client, in test_insert_and_load_full_keyentry_domain_selinux()
3554 KeyType::Client, in test_insert_and_load_full_keyentry_domain_selinux()
3569 KeyType::Client, in test_insert_and_load_full_keyentry_domain_selinux()
3591 KeyType::Client, in test_insert_and_load_full_keyentry_domain_key_id()
3602 KeyType::Client, in test_insert_and_load_full_keyentry_domain_key_id()
3612 KeyType::Client, in test_insert_and_load_full_keyentry_domain_key_id()
3636 KeyType::Client, in test_check_and_update_key_usage_count_with_limited_use_key()
3698 .load_key_entry(&granted_key, KeyType::Client, KeyEntryLoadBits::BOTH, 2, |k, av| { in test_insert_and_load_full_keyentry_from_grant()
3707 db.unbind_key(&granted_key, KeyType::Client, 2, |_, _| Ok(())).unwrap(); in test_insert_and_load_full_keyentry_from_grant()
3713 KeyType::Client, in test_insert_and_load_full_keyentry_from_grant()
3760 KeyType::Client, in test_insert_and_load_full_keyentry_from_grant_by_key_id()
3777 KeyType::Client, in test_insert_and_load_full_keyentry_from_grant_by_key_id()
3791 db.unbind_key(&id_descriptor, KeyType::Client, OWNER_UID, |_, _| Ok(())).unwrap(); in test_insert_and_load_full_keyentry_from_grant_by_key_id()
3797 KeyType::Client, in test_insert_and_load_full_keyentry_from_grant_by_key_id()
3847 KeyType::Client, in test_migrate_key_app_to_app()
3865 KeyType::Client, in test_migrate_key_app_to_app()
3916 KeyType::Client, in test_migrate_key_app_to_selinux()
3934 KeyType::Client, in test_migrate_key_app_to_selinux()
4008 KeyType::Client, in test_upgrade_0_to_1()
4028 KeyType::Client, in test_upgrade_0_to_1()
4048 KeyType::Client, in test_upgrade_0_to_1()
4072 KeyType::Client, in test_upgrade_0_to_1()
4092 KeyType::Client, in test_upgrade_0_to_1()
4113 KeyType::Client, in test_upgrade_0_to_1()
4148 KeyType::Client, in test_insert_and_load_full_keyentry_domain_app_concurrently()
4176 KeyType::Client, in test_insert_and_load_full_keyentry_domain_app_concurrently()
4290 db.unbind_key(&key, KeyType::Client, 2, |_, _| Ok(())).expect("Unbind Failed."); in test_large_number_of_concurrent_db_manipulations()
4310 db.unbind_key(&key, KeyType::Client, 1, |_, _| Ok(())).expect("Unbind Failed."); in test_large_number_of_concurrent_db_manipulations()
4337 db.unbind_key(&key, KeyType::Client, 3, |_, _| Ok(())).expect("Unbind Failed."); in test_large_number_of_concurrent_db_manipulations()
4403 let mut list_result = db.list_past_alias(*domain, *namespace, KeyType::Client, None)?; in list()
4413 KeyType::Client, in list()
4435 db.list_past_alias(Domain::SELINUX, 101, KeyType::Client, None)? in list()
4750 let key_id = create_key_entry(db, &domain, &namespace, KeyType::Client, &KEYSTORE_UUID)?; in make_test_key_entry_with_sids()
4809 let key_id = create_key_entry(db, &domain, &namespace, KeyType::Client, &KEYSTORE_UUID)?; in make_bootlevel_key_entry()
4849 let key_id = create_key_entry(db, &domain, &namespace, KeyType::Client, &KEYSTORE_UUID)?; in make_superencrypted_key_entry()
4985 assert_eq!(1, db.list_past_alias(Domain::APP, 110000, KeyType::Client, None)?.len()); in test_unbind_keys_for_user()
4986 assert_eq!(0, db.list_past_alias(Domain::APP, 210000, KeyType::Client, None)?.len()); in test_unbind_keys_for_user()
4989 assert_eq!(0, db.list_past_alias(Domain::APP, 110000, KeyType::Client, None)?.len()); in test_unbind_keys_for_user()
5071 db.key_exists(Domain::APP, nspace, alias, KeyType::Client) in app_key_exists()
5275 let key_id = create_key_entry(&mut db, &Domain::APP, &42, KeyType::Client, &KEYSTORE_UUID)?; in test_verify_key_table_size_reporting()