Lines Matching refs:APP

1280                         Domain::APP.0,  in store_super_key()
1318 domain: Domain::APP, in load_super_key()
1510 Domain::APP | Domain::SELINUX => {} in create_key_entry_internal()
1791 Domain::APP | Domain::SELINUX => {} in assign_attestation_key()
2034 Domain::APP | Domain::SELINUX => {} in retrieve_attestation_key_and_cert_chain()
2119 Domain::APP | Domain::SELINUX => {} in rebind_alias()
2172 Domain::APP => KeyDescriptor { nspace: caller_uid as i64, ..(*destination).clone() }, in migrate_key_namespace()
2244 KeyDescriptor { alias: Some(alias), domain: Domain::APP, nspace, blob: None } in store_new_key()
2302 KeyDescriptor { alias: Some(alias), domain: Domain::APP, nspace, blob: None } in store_new_certificate()
2396 Domain::APP | Domain::SELINUX => { in load_access_tuple()
2398 if access_key.domain == Domain::APP { in load_access_tuple()
2466 if domain != Domain::APP || namespace != caller_uid as i64 { in load_access_tuple()
2791 if !(domain == Domain::APP || domain == Domain::SELINUX) { in unbind_keys_for_namespace()
2911 Domain::APP.0 as u32, in unbind_keys_for_user()
3395 db.create_key_entry(&Domain::APP, &100, KeyType::Client, &KEYSTORE_UUID)?; in test_persistence_for_files()
3414 db.create_key_entry(&Domain::APP, &100, KeyType::Client, &KEYSTORE_UUID)?; in test_create_key_entry()
3419 assert_eq!(extractor(&entries[0]), (Domain::APP, 100, None, KEYSTORE_UUID)); in test_create_key_entry()
3466 db.retrieve_attestation_key_and_cert_chain(Domain::APP, namespace, &KEYSTORE_UUID)?; in test_store_signed_attestation_certificate_chain()
3561 db.retrieve_attestation_key_and_cert_chain(Domain::APP, namespace, &KEYSTORE_UUID)?; in test_remove_expired_certs()
3569 Domain::APP, in test_remove_expired_certs()
3575 Domain::APP, in test_remove_expired_certs()
3600 db.create_key_entry(&Domain::APP, &42, KeyType::Client, &KEYSTORE_UUID)?; in test_delete_all_attestation_keys()
3621 db.create_key_entry(&Domain::APP, &42, KeyType::Client, &KEYSTORE_UUID)?; in test_rebind_alias()
3622 db.create_key_entry(&Domain::APP, &42, KeyType::Client, &KEYSTORE_UUID)?; in test_rebind_alias()
3627 (Some(Domain::APP), Some(42), None, Some(KEYSTORE_UUID)) in test_rebind_alias()
3631 (Some(Domain::APP), Some(42), None, Some(KEYSTORE_UUID)) in test_rebind_alias()
3635 rebind_alias(&mut db, &KEY_ID_LOCK.get(entries[0].id), "foo", Domain::APP, 42)?; in test_rebind_alias()
3640 (Some(Domain::APP), Some(42), Some("foo"), Some(KEYSTORE_UUID)) in test_rebind_alias()
3644 (Some(Domain::APP), Some(42), None, Some(KEYSTORE_UUID)) in test_rebind_alias()
3648 rebind_alias(&mut db, &KEY_ID_LOCK.get(entries[1].id), "foo", Domain::APP, 42)?; in test_rebind_alias()
3654 (Some(Domain::APP), Some(42), Some("foo"), Some(KEYSTORE_UUID)) in test_rebind_alias()
3682 (Some(Domain::APP), Some(42), Some("foo"), Some(KEYSTORE_UUID)) in test_rebind_alias()
3701 domain: super::Domain::APP, in test_grant_ungrant()
3720 domain: super::Domain::APP, in test_grant_ungrant()
3893 let key_id = make_test_key_entry(&mut db, Domain::APP, 1, TEST_ALIAS, None) in test_insert_and_load_full_keyentry_domain_app()
3899 domain: Domain::APP, in test_insert_and_load_full_keyentry_domain_app()
3914 domain: Domain::APP, in test_insert_and_load_full_keyentry_domain_app()
3929 domain: Domain::APP, in test_insert_and_load_full_keyentry_domain_app()
3953 domain: Domain::APP, in test_insert_and_load_certificate_entry_domain_app()
3967 domain: Domain::APP, in test_insert_and_load_certificate_entry_domain_app()
3985 domain: Domain::APP, in test_insert_and_load_certificate_entry_domain_app()
4000 domain: Domain::APP, in test_insert_and_load_certificate_entry_domain_app()
4169 let key_id = make_test_key_entry(&mut db, Domain::APP, 1, TEST_ALIAS, None) in test_insert_and_load_full_keyentry_from_grant()
4176 domain: Domain::APP, in test_insert_and_load_full_keyentry_from_grant()
4227 let key_id = make_test_key_entry(&mut db, Domain::APP, OWNER_UID as i64, TEST_ALIAS, None) in test_insert_and_load_full_keyentry_from_grant_by_key_id()
4233 domain: Domain::APP, in test_insert_and_load_full_keyentry_from_grant_by_key_id()
4257 assert_eq!(Domain::APP, k.domain); in test_insert_and_load_full_keyentry_from_grant_by_key_id()
4274 assert_eq!(Domain::APP, k.domain); in test_insert_and_load_full_keyentry_from_grant_by_key_id()
4313 make_test_key_entry(&mut db, Domain::APP, SOURCE_UID as i64, SOURCE_ALIAS, None) in test_migrate_key_app_to_app()
4317 domain: Domain::APP, in test_migrate_key_app_to_app()
4324 domain: Domain::APP, in test_migrate_key_app_to_app()
4344 assert_eq!(Domain::APP, k.domain); in test_migrate_key_app_to_app()
4382 make_test_key_entry(&mut db, Domain::APP, SOURCE_UID as i64, SOURCE_ALIAS, None) in test_migrate_key_app_to_selinux()
4386 domain: Domain::APP, in test_migrate_key_app_to_selinux()
4450 make_test_key_entry(&mut db, Domain::APP, SOURCE_UID as i64, SOURCE_ALIAS, None) in test_migrate_key_destination_occupied()
4452 make_test_key_entry(&mut db, Domain::APP, DESTINATION_UID as i64, DESTINATION_ALIAS, None) in test_migrate_key_destination_occupied()
4456 domain: Domain::APP, in test_migrate_key_destination_occupied()
4487 make_test_key_entry(&mut db, Domain::APP, UID as i64, ALIAS1, None).unwrap().id(); in test_upgrade_0_to_1()
4489 make_bootlevel_key_entry(&mut db, Domain::APP, UID as i64, ALIAS2, false).unwrap().id(); in test_upgrade_0_to_1()
4491 make_bootlevel_key_entry(&mut db, Domain::APP, UID as i64, ALIAS3, true).unwrap().id(); in test_upgrade_0_to_1()
4496 domain: Domain::APP, in test_upgrade_0_to_1()
4505 assert_eq!(Domain::APP, k.domain); in test_upgrade_0_to_1()
4516 domain: Domain::APP, in test_upgrade_0_to_1()
4525 assert_eq!(Domain::APP, k.domain); in test_upgrade_0_to_1()
4536 domain: Domain::APP, in test_upgrade_0_to_1()
4545 assert_eq!(Domain::APP, k.domain); in test_upgrade_0_to_1()
4562 domain: Domain::APP, in test_upgrade_0_to_1()
4571 assert_eq!(Domain::APP, k.domain); in test_upgrade_0_to_1()
4582 domain: Domain::APP, in test_upgrade_0_to_1()
4591 assert_eq!(Domain::APP, k.domain); in test_upgrade_0_to_1()
4603 domain: Domain::APP, in test_upgrade_0_to_1()
4612 assert_eq!(Domain::APP, k.domain); in test_upgrade_0_to_1()
4632 let key_id = make_test_key_entry(&mut db, Domain::APP, 33, KEY_LOCK_TEST_ALIAS, None) in test_insert_and_load_full_keyentry_domain_app_concurrently()
4638 domain: Domain::APP, in test_insert_and_load_full_keyentry_domain_app_concurrently()
4666 domain: Domain::APP, in test_insert_and_load_full_keyentry_domain_app_concurrently()
4755 make_test_key_entry(&mut db, Domain::APP, 1, &alias, None) in test_large_number_of_concurrent_db_manipulations()
4770 make_test_key_entry(&mut db, Domain::APP, 2, &alias, None) in test_large_number_of_concurrent_db_manipulations()
4780 domain: Domain::APP, in test_large_number_of_concurrent_db_manipulations()
4800 domain: Domain::APP, in test_large_number_of_concurrent_db_manipulations()
4824 make_test_key_entry(&mut db, Domain::APP, 3, &alias, None) in test_large_number_of_concurrent_db_manipulations()
4827 domain: Domain::APP, in test_large_number_of_concurrent_db_manipulations()
4848 (Domain::APP, 1, "test1"), in list()
4849 (Domain::APP, 1, "test2"), in list()
4850 (Domain::APP, 1, "test3"), in list()
4851 (Domain::APP, 1, "test4"), in list()
4852 (Domain::APP, 1, "test5"), in list()
4853 (Domain::APP, 1, "test6"), in list()
4854 (Domain::APP, 1, "test7"), in list()
4855 (Domain::APP, 2, "test1"), in list()
4856 (Domain::APP, 2, "test2"), in list()
4857 (Domain::APP, 2, "test3"), in list()
4858 (Domain::APP, 2, "test4"), in list()
4859 (Domain::APP, 2, "test5"), in list()
4860 (Domain::APP, 2, "test6"), in list()
4861 (Domain::APP, 2, "test8"), in list()
4883 &[(Domain::APP, 1i64), (Domain::APP, 2i64), (Domain::SELINUX, 100i64)] in list()
5006 db.assign_attestation_key(Domain::APP, namespace, &KEYSTORE_UUID)?; in load_attestation_key_pool()
5447 make_test_key_entry(&mut db, Domain::APP, 210000, TEST_ALIAS, None)?; in test_unbind_keys_for_user()
5448 make_test_key_entry(&mut db, Domain::APP, 110000, TEST_ALIAS, None)?; in test_unbind_keys_for_user()
5451 assert_eq!(1, db.list(Domain::APP, 110000, KeyType::Client)?.len()); in test_unbind_keys_for_user()
5452 assert_eq!(0, db.list(Domain::APP, 210000, KeyType::Client)?.len()); in test_unbind_keys_for_user()
5455 assert_eq!(0, db.list(Domain::APP, 110000, KeyType::Client)?.len()); in test_unbind_keys_for_user()
5554 assert!(db.key_exists(Domain::APP, 1, &USER_SUPER_KEY.alias, KeyType::Super)?); in test_store_super_key()
5671 let key_id = db.create_key_entry(&Domain::APP, &42, KeyType::Client, &KEYSTORE_UUID)?; in test_verify_key_table_size_reporting()
5743 make_test_key_entry(&mut db, Domain::APP, OWNER, TEST_ALIAS, None)?; in test_verify_grant_table_size_reporting()
5748 domain: Domain::APP, in test_verify_grant_table_size_reporting()
5803 let key_id = make_test_key_entry(&mut db, Domain::APP, 1, TEST_ALIAS, None)?.0; in test_load_key_descriptor()
5807 assert_eq!(key.domain, Domain::APP); in test_load_key_descriptor()