Home
last modified time | relevance | path

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

/packages/providers/MediaProvider/tests/src/com/android/providers/media/util/
DPermissionUtilsTest.java45 import static com.android.providers.media.util.PermissionUtils.checkPermissionManager;
133 assertThat(checkPermissionManager(context, pid, uid, packageName, null)).isFalse(); in testSelfPermissions()
263 checkPermissionManager(getContext(), TEST_APP_PID, testAppUid, packageName, in testDefaultPermissionsOnTestAppWithoutPerms()
312 checkPermissionManager(getContext(), TEST_APP_PID, testAppUid, packageName, in testDefaultPermissionsOnLegacyTestApp()
354 assertThat(checkPermissionManager(getContext(), TEST_APP_PID, testAppUid, packageName, in testManageExternalStoragePermissionsOnTestApp()
359 assertThat(checkPermissionManager(getContext(), TEST_APP_PID, testAppUid, packageName, in testManageExternalStoragePermissionsOnTestApp()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/
DPermissionActivityTest.java38 import static com.android.providers.media.util.PermissionUtils.checkPermissionManager;
540 return expected == checkPermissionManager(context, pid, uid, packageName, in checkPermission()
/packages/providers/MediaProvider/src/com/android/providers/media/
DLocalCallingIdentity.java28 import static com.android.providers.media.util.PermissionUtils.checkPermissionManager;
383 return checkPermissionManager(context, pid, uid, getPackageName(), attributionTag); in hasPermissionInternal()
DPermissionActivity.java29 import static com.android.providers.media.util.PermissionUtils.checkPermissionManager;
427 if (!checkPermissionManager(context, pid, uid, packageName, attributionTag)) { in shouldShowActionDialog()
DMediaProvider.java2596 return PermissionUtils.checkPermissionManager(context, /* pid */ -1, ai.uid, in hasPermissionToClearCaches()
/packages/providers/MediaProvider/src/com/android/providers/media/util/
DPermissionUtils.java113 public static boolean checkPermissionManager(@NonNull Context context, int pid, in checkPermissionManager() method in PermissionUtils