Searched refs:checkPermissionReadAudio (Results 1 – 5 of 5) sorted by relevance
/packages/providers/MediaProvider/tests/src/com/android/providers/media/util/ |
D | PermissionUtilsTest.java | 46 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/ |
D | PermissionActivityTest.java | 39 import static com.android.providers.media.util.PermissionUtils.checkPermissionReadAudio; 534 return expected == checkPermissionReadAudio( in checkPermission()
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
D | PermissionActivity.java | 30 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()
|
D | LocalCallingIdentity.java | 30 import static com.android.providers.media.util.PermissionUtils.checkPermissionReadAudio; 401 return checkPermissionReadAudio( in hasPermissionInternal()
|
/packages/providers/MediaProvider/src/com/android/providers/media/util/ |
D | PermissionUtils.java | 220 public static boolean checkPermissionReadAudio( in checkPermissionReadAudio() method in PermissionUtils
|