Searched refs:system_server_ctx (Results 1 – 1 of 1) sorted by relevance
497 let system_server_ctx = Context::new("u:r:system_server:s0")?; in check_keystore_permission_test() localVariable498 assert!(check_keystore_permission(&system_server_ctx, KeystorePerm::AddAuth).is_ok()); in check_keystore_permission_test()499 assert!(check_keystore_permission(&system_server_ctx, KeystorePerm::ClearNs).is_ok()); in check_keystore_permission_test()500 assert!(check_keystore_permission(&system_server_ctx, KeystorePerm::Lock).is_ok()); in check_keystore_permission_test()501 assert!(check_keystore_permission(&system_server_ctx, KeystorePerm::Reset).is_ok()); in check_keystore_permission_test()502 assert!(check_keystore_permission(&system_server_ctx, KeystorePerm::Unlock).is_ok()); in check_keystore_permission_test()503 assert!(check_keystore_permission(&system_server_ctx, KeystorePerm::ChangeUser).is_ok()); in check_keystore_permission_test()504 … assert!(check_keystore_permission(&system_server_ctx, KeystorePerm::ChangePassword).is_ok()); in check_keystore_permission_test()505 assert!(check_keystore_permission(&system_server_ctx, KeystorePerm::ClearUID).is_ok()); in check_keystore_permission_test()521 let system_server_ctx = Context::new("u:r:system_server:s0")?; in check_grant_permission_app() localVariable[all …]