Searched refs:checkPermissionManager (Results 1 – 6 of 6) sorted by relevance
/packages/providers/MediaProvider/tests/src/com/android/providers/media/util/ |
D | PermissionUtilsTest.java | 45 import static com.android.providers.media.util.PermissionUtils.checkPermissionManager; 133 assertThat(checkPermissionManager(context, pid, uid, packageName, null)).isFalse(); in testSelfPermissions() 263 checkPermissionManager(getContext(), TEST_APP_PID, testAppUid, packageName, in testDefaultPermissionsOnTestAppWithoutPerms() 312 checkPermissionManager(getContext(), TEST_APP_PID, testAppUid, packageName, in testDefaultPermissionsOnLegacyTestApp() 354 assertThat(checkPermissionManager(getContext(), TEST_APP_PID, testAppUid, packageName, in testManageExternalStoragePermissionsOnTestApp() 359 assertThat(checkPermissionManager(getContext(), TEST_APP_PID, testAppUid, packageName, in testManageExternalStoragePermissionsOnTestApp()
|
/packages/providers/MediaProvider/tests/src/com/android/providers/media/ |
D | PermissionActivityTest.java | 38 import static com.android.providers.media.util.PermissionUtils.checkPermissionManager; 540 return expected == checkPermissionManager(context, pid, uid, packageName, in checkPermission()
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
D | LocalCallingIdentity.java | 28 import static com.android.providers.media.util.PermissionUtils.checkPermissionManager; 383 return checkPermissionManager(context, pid, uid, getPackageName(), attributionTag); in hasPermissionInternal()
|
D | PermissionActivity.java | 29 import static com.android.providers.media.util.PermissionUtils.checkPermissionManager; 427 if (!checkPermissionManager(context, pid, uid, packageName, attributionTag)) { in shouldShowActionDialog()
|
D | MediaProvider.java | 2596 return PermissionUtils.checkPermissionManager(context, /* pid */ -1, ai.uid, in hasPermissionToClearCaches()
|
/packages/providers/MediaProvider/src/com/android/providers/media/util/ |
D | PermissionUtils.java | 113 public static boolean checkPermissionManager(@NonNull Context context, int pid, in checkPermissionManager() method in PermissionUtils
|