Home
last modified time | relevance | path

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

/packages/providers/MediaProvider/tests/src/com/android/providers/media/util/
DPermissionUtilsTest.java40 import static com.android.providers.media.util.PermissionUtils.checkPermissionAccessMediaLocation;
136 assertThat(checkPermissionAccessMediaLocation(context, pid, uid, in testSelfPermissions()
271 assertThat(checkPermissionAccessMediaLocation(getContext(), TEST_APP_PID, testAppUid, in testDefaultPermissionsOnTestAppWithoutPerms()
320 assertThat(checkPermissionAccessMediaLocation(getContext(), TEST_APP_PID, testAppUid, in testDefaultPermissionsOnLegacyTestApp()
635 assertThat(checkPermissionAccessMediaLocation(getContext(), TEST_APP_PID, testAppUid, in requestsAmlCompatBehaviorOnTestApp()
640 assertThat(checkPermissionAccessMediaLocation(getContext(), TEST_APP_PID, testAppUid, in requestsAmlCompatBehaviorOnTestApp()
645 assertThat(checkPermissionAccessMediaLocation(getContext(), TEST_APP_PID, testAppUid, in requestsAmlCompatBehaviorOnTestApp()
651 assertThat(checkPermissionAccessMediaLocation(getContext(), TEST_APP_PID, testAppUid, in requestsAmlCompatBehaviorOnTestApp()
655 assertThat(checkPermissionAccessMediaLocation(getContext(), TEST_APP_PID, in requestsAmlCompatBehaviorOnTestApp()
661 assertThat(checkPermissionAccessMediaLocation(getContext(), TEST_APP_PID, in requestsAmlCompatBehaviorOnTestApp()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/
DPermissionActivityTest.java36 import static com.android.providers.media.util.PermissionUtils.checkPermissionAccessMediaLocation;
549 return expected == checkPermissionAccessMediaLocation(context, pid, uid, in checkPermission()
/packages/providers/MediaProvider/src/com/android/providers/media/
DLocalCallingIdentity.java23 import static com.android.providers.media.util.PermissionUtils.checkPermissionAccessMediaLocation;
569 return !checkPermissionAccessMediaLocation(context, pid, uid, getPackageName(), in isRedactionNeededInternal()
DPermissionActivity.java27 import static com.android.providers.media.util.PermissionUtils.checkPermissionAccessMediaLocation;
476 if (TextUtils.equals(verb, VERB_WRITE) && !checkPermissionAccessMediaLocation(context, pid, in shouldShowActionDialog()
/packages/providers/MediaProvider/src/com/android/providers/media/util/
DPermissionUtils.java155 public static boolean checkPermissionAccessMediaLocation(@NonNull Context context, int pid, in checkPermissionAccessMediaLocation() method in PermissionUtils