Searched refs:checkPermissionAccessMediaLocation (Results 1 – 5 of 5) sorted by relevance
/packages/providers/MediaProvider/tests/src/com/android/providers/media/util/ |
D | PermissionUtilsTest.java | 40 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/ |
D | PermissionActivityTest.java | 36 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/ |
D | LocalCallingIdentity.java | 23 import static com.android.providers.media.util.PermissionUtils.checkPermissionAccessMediaLocation; 569 return !checkPermissionAccessMediaLocation(context, pid, uid, getPackageName(), in isRedactionNeededInternal()
|
D | PermissionActivity.java | 27 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/ |
D | PermissionUtils.java | 155 public static boolean checkPermissionAccessMediaLocation(@NonNull Context context, int pid, in checkPermissionAccessMediaLocation() method in PermissionUtils
|