Home
last modified time | relevance | path

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

/packages/modules/Virtualization/virtualizationservice/src/
Daidl.rs896 fn check_permission(perm: &str) -> binder::Result<()> { in check_permission() function
915 check_permission("android.permission.DEBUG_VIRTUAL_MACHINE") in check_debug_access()
920 check_permission("android.permission.MANAGE_VIRTUAL_MACHINE") in check_manage_access()
925 check_permission("android.permission.USE_CUSTOM_VIRTUAL_MACHINE") in check_use_custom_virtual_machine()
931 check_permission("android.permission.INTERNET") in check_internet_permission()
/packages/modules/Virtualization/virtualizationmanager/src/
Daidl.rs187 check_permission("android.permission.DUMP").or(Err(StatusCode::PERMISSION_DENIED))?; in dump()
1081 fn check_permission(perm: &str) -> binder::Result<()> { in check_permission() function
1100 check_permission("android.permission.MANAGE_VIRTUAL_MACHINE") in check_manage_access()
1105 check_permission("android.permission.USE_CUSTOM_VIRTUAL_MACHINE") in check_use_custom_virtual_machine()