Searched refs:check_permission (Results 1 – 2 of 2) sorted by relevance
896 fn check_permission(perm: &str) -> binder::Result<()> { in check_permission() function915 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()
187 check_permission("android.permission.DUMP").or(Err(StatusCode::PERMISSION_DENIED))?; in dump()1081 fn check_permission(perm: &str) -> binder::Result<()> { in check_permission() function1100 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()