Home
last modified time | relevance | path

Searched refs:checkPermissionWriteStorage (Results 1 – 3 of 3) sorted by relevance

/packages/providers/MediaProvider/tests/src/com/android/providers/media/util/
DPermissionUtilsTest.java56 import static com.android.providers.media.util.PermissionUtils.checkPermissionWriteStorage;
140 assertThat(checkPermissionWriteStorage(context, pid, uid, packageName, null)).isTrue(); in testSelfPermissions()
182 checkPermissionWriteStorage(getContext(), TEST_APP_PID, testAppUid, in testDefaultPermissionsOnTestAppWithStoragePerms()
214 assertThat(checkPermissionWriteStorage( in testDefaultPermissionsOnTestAppWithMediaPerms()
244 assertThat(checkPermissionWriteStorage( in testDefaultPermissionsOnLegacyTestAppWithTargetSdk35()
284 checkPermissionWriteStorage(getContext(), TEST_APP_PID, testAppUid, packageName, in testDefaultPermissionsOnTestAppWithoutPerms()
333 checkPermissionWriteStorage(getContext(), TEST_APP_PID, testAppUid, in testDefaultPermissionsOnLegacyTestApp()
/packages/providers/MediaProvider/src/com/android/providers/media/
DLocalCallingIdentity.java39 import static com.android.providers.media.util.PermissionUtils.checkPermissionWriteStorage;
397 return checkPermissionWriteStorage( in hasPermissionInternal()
555 && checkPermissionWriteStorage(context, pid, uid, getPackageName(), attributionTag); in isLegacyWriteInternal()
/packages/providers/MediaProvider/src/com/android/providers/media/util/
DPermissionUtils.java137 public static boolean checkPermissionWriteStorage(@NonNull Context context, int pid, int uid, in checkPermissionWriteStorage() method in PermissionUtils