Home
last modified time | relevance | path

Searched refs:checkPermissionWriteAudio (Results 1 – 3 of 3) sorted by relevance

/packages/providers/MediaProvider/tests/src/com/android/providers/media/util/
DPermissionUtilsTest.java54 import static com.android.providers.media.util.PermissionUtils.checkPermissionWriteAudio;
143 assertThat(checkPermissionWriteAudio(context, pid, uid, packageName, null)).isFalse(); in testSelfPermissions()
513 checkPermissionWriteAudio(getContext(), TEST_APP_PID, testAppUid, packageName, in testWriteAudioOnTestApp()
518 checkPermissionWriteAudio(getContext(), TEST_APP_PID, testAppUid, packageName, in testWriteAudioOnTestApp()
523 checkPermissionWriteAudio(getContext(), TEST_APP_PID, testAppUid, packageName, in testWriteAudioOnTestApp()
692 checkPermissionWriteAudio(getContext(), pid, uid, packageName, null)) in checkPermissionsForGallery()
/packages/providers/MediaProvider/src/com/android/providers/media/
DLocalCallingIdentity.java37 import static com.android.providers.media.util.PermissionUtils.checkPermissionWriteAudio;
410 return checkPermissionWriteAudio( in hasPermissionInternal()
/packages/providers/MediaProvider/src/com/android/providers/media/util/
DPermissionUtils.java239 public static boolean checkPermissionWriteAudio(@NonNull Context context, int pid, int uid, in checkPermissionWriteAudio() method in PermissionUtils