Home
last modified time | relevance | path

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

/system/security/keystore2/src/
Dpermission.rs506 let shell_ctx = Context::new("u:r:shell:s0")?; in check_keystore_permission_test() localVariable
507 assert_perm_failed!(check_keystore_permission(&shell_ctx, KeystorePerm::AddAuth)); in check_keystore_permission_test()
508 assert_perm_failed!(check_keystore_permission(&shell_ctx, KeystorePerm::ClearNs)); in check_keystore_permission_test()
509 assert_perm_failed!(check_keystore_permission(&shell_ctx, KeystorePerm::List)); in check_keystore_permission_test()
510 assert_perm_failed!(check_keystore_permission(&shell_ctx, KeystorePerm::Lock)); in check_keystore_permission_test()
511 assert_perm_failed!(check_keystore_permission(&shell_ctx, KeystorePerm::Reset)); in check_keystore_permission_test()
512 assert_perm_failed!(check_keystore_permission(&shell_ctx, KeystorePerm::Unlock)); in check_keystore_permission_test()
513 assert_perm_failed!(check_keystore_permission(&shell_ctx, KeystorePerm::ChangeUser)); in check_keystore_permission_test()
514 assert_perm_failed!(check_keystore_permission(&shell_ctx, KeystorePerm::ChangePassword)); in check_keystore_permission_test()
515 assert_perm_failed!(check_keystore_permission(&shell_ctx, KeystorePerm::ClearUID)); in check_keystore_permission_test()
[all …]