Home
last modified time | relevance | path

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

/packages/providers/MediaProvider/tests/src/com/android/providers/media/util/
DPermissionUtilsTest.java46 import static com.android.providers.media.util.PermissionUtils.checkPermissionReadAudio;
142 assertThat(checkPermissionReadAudio(context, pid, uid, packageName, null, false)).isTrue(); in testSelfPermissions()
547 assertThat(checkPermissionReadAudio(getContext(), TEST_APP_PID, testAppUid, in assertReadAudioOnTestApp()
551 assertThat(checkPermissionReadAudio(getContext(), TEST_APP_PID, testAppUid, in assertReadAudioOnTestApp()
557 assertThat(checkPermissionReadAudio(getContext(), TEST_APP_PID, testAppUid, in assertReadAudioOnTestApp()
700 checkPermissionReadAudio( in assertMediaReadPermissions()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/
DPermissionActivityTest.java39 import static com.android.providers.media.util.PermissionUtils.checkPermissionReadAudio;
534 return expected == checkPermissionReadAudio( in checkPermission()
/packages/providers/MediaProvider/src/com/android/providers/media/
DPermissionActivity.java30 import static com.android.providers.media.util.PermissionUtils.checkPermissionReadAudio;
430 if (shouldCheckReadAudio && !checkPermissionReadAudio(context, pid, uid, in shouldShowActionDialog()
452 && !checkPermissionReadAudio(context, pid, uid, packageName, attributionTag, in shouldShowActionDialog()
DLocalCallingIdentity.java30 import static com.android.providers.media.util.PermissionUtils.checkPermissionReadAudio;
401 return checkPermissionReadAudio( in hasPermissionInternal()
/packages/providers/MediaProvider/src/com/android/providers/media/util/
DPermissionUtils.java220 public static boolean checkPermissionReadAudio( in checkPermissionReadAudio() method in PermissionUtils