Home
last modified time | relevance | path

Searched refs:checkPermissionReadImages (Results 1 – 5 of 5) sorted by relevance

/packages/providers/MediaProvider/tests/src/com/android/providers/media/util/
DPermissionUtilsTest.java47 import static com.android.providers.media.util.PermissionUtils.checkPermissionReadImages;
146 assertThat(checkPermissionReadImages(context, pid, uid, packageName, null, false)).isTrue(); in testSelfPermissions()
581 assertThat(checkPermissionReadImages(getContext(), TEST_APP_PID, testAppUid, in assertReadImagesOnTestApp()
585 assertThat(checkPermissionReadImages(getContext(), TEST_APP_PID, testAppUid, in assertReadImagesOnTestApp()
591 assertThat(checkPermissionReadImages(getContext(), TEST_APP_PID, testAppUid, in assertReadImagesOnTestApp()
704 checkPermissionReadImages( in assertMediaReadPermissions()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/
DPermissionActivityTest.java40 import static com.android.providers.media.util.PermissionUtils.checkPermissionReadImages;
531 return expected == checkPermissionReadImages( in checkPermission()
/packages/providers/MediaProvider/src/com/android/providers/media/
DLocalCallingIdentity.java31 import static com.android.providers.media.util.PermissionUtils.checkPermissionReadImages;
407 return checkPermissionReadImages( in hasPermissionInternal()
DPermissionActivity.java31 import static com.android.providers.media.util.PermissionUtils.checkPermissionReadImages;
437 if (shouldCheckReadImages && !checkPermissionReadImages(context, pid, uid, in shouldShowActionDialog()
/packages/providers/MediaProvider/src/com/android/providers/media/util/
DPermissionUtils.java280 public static boolean checkPermissionReadImages( in checkPermissionReadImages() method in PermissionUtils