Searched refs:checkPermissionReadStorage (Results 1 – 5 of 5) sorted by relevance
/packages/providers/MediaProvider/tests/src/com/android/providers/media/util/ |
D | PermissionUtilsTest.java | 48 import static com.android.providers.media.util.PermissionUtils.checkPermissionReadStorage; 139 assertThat(checkPermissionReadStorage(context, pid, uid, packageName, null)).isTrue(); in testSelfPermissions() 185 checkPermissionReadStorage(getContext(), TEST_APP_PID, testAppUid, packageName, in testDefaultPermissionsOnTestAppWithStoragePerms() 216 assertThat(checkPermissionReadStorage( in testDefaultPermissionsOnTestAppWithMediaPerms() 246 assertThat(checkPermissionReadStorage( in testDefaultPermissionsOnLegacyTestAppWithTargetSdk35() 287 checkPermissionReadStorage( getContext(), TEST_APP_PID, testAppUid, packageName, in testDefaultPermissionsOnTestAppWithoutPerms() 335 assertThat(checkPermissionReadStorage(getContext(), TEST_APP_PID, testAppUid, in testDefaultPermissionsOnLegacyTestApp()
|
/packages/providers/MediaProvider/tests/src/com/android/providers/media/ |
D | PermissionActivityTest.java | 41 import static com.android.providers.media.util.PermissionUtils.checkPermissionReadStorage; 528 return expected == checkPermissionReadStorage(context, pid, uid, packageName, in checkPermission()
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
D | LocalCallingIdentity.java | 32 import static com.android.providers.media.util.PermissionUtils.checkPermissionReadStorage; 560 && checkPermissionReadStorage(context, pid, uid, getPackageName(), attributionTag); in isLegacyReadInternal()
|
D | PermissionActivity.java | 32 import static com.android.providers.media.util.PermissionUtils.checkPermissionReadStorage; 462 if (!checkPermissionReadStorage(context, pid, uid, packageName, attributionTag)) { in shouldShowActionDialog()
|
/packages/providers/MediaProvider/src/com/android/providers/media/util/ |
D | PermissionUtils.java | 144 public static boolean checkPermissionReadStorage(@NonNull Context context, int pid, int uid, in checkPermissionReadStorage() method in PermissionUtils
|