Searched refs:checkPermissionWriteAudio (Results 1 – 3 of 3) sorted by relevance
/packages/providers/MediaProvider/tests/src/com/android/providers/media/util/ |
D | PermissionUtilsTest.java | 54 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/ |
D | LocalCallingIdentity.java | 37 import static com.android.providers.media.util.PermissionUtils.checkPermissionWriteAudio; 410 return checkPermissionWriteAudio( in hasPermissionInternal()
|
/packages/providers/MediaProvider/src/com/android/providers/media/util/ |
D | PermissionUtils.java | 239 public static boolean checkPermissionWriteAudio(@NonNull Context context, int pid, int uid, in checkPermissionWriteAudio() method in PermissionUtils
|