Home
last modified time | relevance | path

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

/packages/providers/MediaProvider/tests/src/com/android/providers/media/util/
DPermissionUtilsTest.java52 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()
/packages/providers/MediaProvider/src/com/android/providers/media/
DLocalCallingIdentity.java36 import static com.android.providers.media.util.PermissionUtils.checkPermissionShell;
381 return checkPermissionShell(uid); in hasPermissionInternal()
DMediaProvider.java158 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())) {
/packages/providers/MediaProvider/src/com/android/providers/media/util/
DPermissionUtils.java91 public static boolean checkPermissionShell(int uid) { in checkPermissionShell() method in PermissionUtils