Searched refs:checkPermissionShell (Results 1 – 4 of 4) sorted by relevance
52 import static com.android.providers.media.util.PermissionUtils.checkPermissionShell;132 assertThat(checkPermissionShell(uid)).isFalse(); in testSelfPermissions()171 assertThat(checkPermissionShell(testAppUid)).isFalse(); in testDefaultPermissionsOnTestAppWithStoragePerms()207 assertThat(checkPermissionShell(testAppUid)).isFalse(); in testDefaultPermissionsOnTestAppWithMediaPerms()237 assertThat(checkPermissionShell(testAppUid)).isFalse(); in testDefaultPermissionsOnLegacyTestAppWithTargetSdk35()261 assertThat(checkPermissionShell(testAppUid)).isFalse(); in testDefaultPermissionsOnTestAppWithoutPerms()310 assertThat(checkPermissionShell(testAppUid)).isFalse(); in testDefaultPermissionsOnLegacyTestApp()
36 import static com.android.providers.media.util.PermissionUtils.checkPermissionShell;381 return checkPermissionShell(uid); in hasPermissionInternal()
158 import static com.android.providers.media.util.PermissionUtils.checkPermissionShell;6888 } else if (checkPermissionShell(caller)) {7191 } else if (checkPermissionShell(caller)) {7241 if (!checkPermissionShell(Binder.getCallingUid())7253 if (!checkPermissionShell(Binder.getCallingUid())7288 } else if (checkPermissionShell(Binder.getCallingUid())) {
91 public static boolean checkPermissionShell(int uid) { in checkPermissionShell() method in PermissionUtils