Lines Matching refs:nspace

1238         nspace: i64,  in key_exists()
1246 KeyDescriptor { domain, nspace, alias: Some(alias.to_string()), blob: None }; in key_exists()
1319 nspace: user_id as i64, in load_super_key()
2172 Domain::APP => KeyDescriptor { nspace: caller_uid as i64, ..(*destination).clone() }, 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()
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()
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()
2360 .query(params![key_type, key.domain.0 as u32, key.nspace, alias, KeyLifeCycle::Live]) in load_key_entry_id()
2399 access_key.nspace = caller_uid as i64; in load_access_tuple()
2418 .query(params![caller_uid as i64, key.nspace, KeyLifeCycle::Live]) in load_access_tuple()
2446 .query(params![key.nspace, KeyLifeCycle::Live]) in load_access_tuple()
2471 params![caller_uid as i64, key.nspace], in load_access_tuple()
2481 let key_id = key.nspace; in load_access_tuple()
2484 access_key.nspace = namespace; in load_access_tuple()
2664 Domain::KEY_ID => Some(KEY_ID_LOCK.get(key.nspace)), in load_key_entry_internal()
2714 nspace: key_id, in load_key_entry_internal()
3013 nspace: namespace, in list()
3091 Ok(KeyDescriptor { domain: Domain::GRANT, nspace: grant_id, alias: None, blob: None }) in grant()
3198 nspace: row.get(1)?, in load_key_descriptor()
3704 nspace: 0, in test_grant_ungrant()
3724 nspace: CALLER_UID as i64, in test_grant_ungrant()
3738 nspace: next_random, in test_grant_ungrant()
3746 nspace: SELINUX_NAMESPACE, in test_grant_ungrant()
3760 nspace: SELINUX_NAMESPACE, in test_grant_ungrant()
3774 nspace: next_random + 1, in test_grant_ungrant()
3790 nspace: SELINUX_NAMESPACE, in test_grant_ungrant()
3804 nspace: next_random + 1, in test_grant_ungrant()
3902 nspace: 0, in test_insert_and_load_full_keyentry_domain_app()
3917 nspace: 0, in test_insert_and_load_full_keyentry_domain_app()
3932 nspace: 0, in test_insert_and_load_full_keyentry_domain_app()
3956 nspace: 1, in test_insert_and_load_certificate_entry_domain_app()
3970 nspace: 1, in test_insert_and_load_certificate_entry_domain_app()
3988 nspace: 1, in test_insert_and_load_certificate_entry_domain_app()
4003 nspace: 1, in test_insert_and_load_certificate_entry_domain_app()
4030 nspace: 1, in test_insert_and_load_full_keyentry_domain_selinux()
4045 nspace: 1, in test_insert_and_load_full_keyentry_domain_selinux()
4060 nspace: 1, 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()
4179 nspace: 0, in test_insert_and_load_full_keyentry_from_grant()
4236 nspace: 0, in test_insert_and_load_full_keyentry_from_grant_by_key_id()
4250 KeyDescriptor { domain: Domain::KEY_ID, nspace: key_id, ..Default::default() }; in test_insert_and_load_full_keyentry_from_grant_by_key_id()
4260 assert_eq!(OWNER_UID as i64, k.nspace); in test_insert_and_load_full_keyentry_from_grant_by_key_id()
4277 assert_eq!(OWNER_UID as i64, k.nspace); in test_insert_and_load_full_keyentry_from_grant_by_key_id()
4320 nspace: -1, in test_migrate_key_app_to_app()
4327 nspace: -1, in test_migrate_key_app_to_app()
4347 assert_eq!(DESTINATION_UID as i64, k.nspace); in test_migrate_key_app_to_app()
4389 nspace: -1, in test_migrate_key_app_to_selinux()
4396 nspace: DESTINATION_NAMESPACE, in test_migrate_key_app_to_selinux()
4416 assert_eq!(DESTINATION_NAMESPACE as i64, k.nspace); in test_migrate_key_app_to_selinux()
4459 nspace: -1, in test_migrate_key_destination_occupied()
4499 nspace: -1, in test_upgrade_0_to_1()
4508 assert_eq!(UID as i64, k.nspace); in test_upgrade_0_to_1()
4519 nspace: -1, in test_upgrade_0_to_1()
4528 assert_eq!(UID as i64, k.nspace); in test_upgrade_0_to_1()
4539 nspace: -1, in test_upgrade_0_to_1()
4548 assert_eq!(UID as i64, k.nspace); in test_upgrade_0_to_1()
4565 nspace: -1, in test_upgrade_0_to_1()
4574 assert_eq!(UID as i64, k.nspace); in test_upgrade_0_to_1()
4585 nspace: -1, in test_upgrade_0_to_1()
4594 assert_eq!(UID as i64, k.nspace); in test_upgrade_0_to_1()
4606 nspace: -1, in test_upgrade_0_to_1()
4615 assert_eq!(UID as i64, k.nspace); in test_upgrade_0_to_1()
4641 nspace: 0, in test_insert_and_load_full_keyentry_domain_app_concurrently()
4669 nspace: 0, in test_insert_and_load_full_keyentry_domain_app_concurrently()
4783 nspace: -1, in test_large_number_of_concurrent_db_manipulations()
4803 nspace: -1, in test_large_number_of_concurrent_db_manipulations()
4830 nspace: -1, in test_large_number_of_concurrent_db_manipulations()
4892 nspace: *ns, in list()
5676 nspace: 0, in test_verify_grant_table_size_reporting()
5735 assert_eq!(key.nspace, 1); in test_load_key_descriptor()