Home
last modified time | relevance | path

Searched refs:system_server_ctx (Results 1 – 1 of 1) sorted by relevance

/system/security/keystore2/src/
Dpermission.rs674 let system_server_ctx = Context::new("u:r:system_server:s0")?; in check_keystore_permission_test() localVariable
675 assert!(check_keystore_permission(&system_server_ctx, KeystorePerm::add_auth()).is_ok()); in check_keystore_permission_test()
676 assert!(check_keystore_permission(&system_server_ctx, KeystorePerm::clear_ns()).is_ok()); in check_keystore_permission_test()
677 assert!(check_keystore_permission(&system_server_ctx, KeystorePerm::get_state()).is_ok()); in check_keystore_permission_test()
678 assert!(check_keystore_permission(&system_server_ctx, KeystorePerm::lock()).is_ok()); in check_keystore_permission_test()
679 assert!(check_keystore_permission(&system_server_ctx, KeystorePerm::reset()).is_ok()); in check_keystore_permission_test()
680 assert!(check_keystore_permission(&system_server_ctx, KeystorePerm::unlock()).is_ok()); in check_keystore_permission_test()
681 assert!(check_keystore_permission(&system_server_ctx, KeystorePerm::change_user()).is_ok()); in check_keystore_permission_test()
683 check_keystore_permission(&system_server_ctx, KeystorePerm::change_password()).is_ok() in check_keystore_permission_test()
685 assert!(check_keystore_permission(&system_server_ctx, KeystorePerm::clear_uid()).is_ok()); in check_keystore_permission_test()
[all …]