Searched refs:checkPermissionReadImages (Results 1 – 5 of 5) sorted by relevance
/packages/providers/MediaProvider/tests/src/com/android/providers/media/util/ |
D | PermissionUtilsTest.java | 47 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/ |
D | PermissionActivityTest.java | 40 import static com.android.providers.media.util.PermissionUtils.checkPermissionReadImages; 531 return expected == checkPermissionReadImages( in checkPermission()
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
D | LocalCallingIdentity.java | 31 import static com.android.providers.media.util.PermissionUtils.checkPermissionReadImages; 407 return checkPermissionReadImages( in hasPermissionInternal()
|
D | PermissionActivity.java | 31 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/ |
D | PermissionUtils.java | 280 public static boolean checkPermissionReadImages( in checkPermissionReadImages() method in PermissionUtils
|