Searched refs:targetSdkIsAtLeastT (Results 1 – 3 of 3) sorted by relevance
/packages/providers/MediaProvider/src/com/android/providers/media/util/ |
D | PermissionUtils.java | 226 boolean targetSdkIsAtLeastT) { in checkPermissionReadAudio() argument 228 String permission = targetSdkIsAtLeastT && SdkLevel.isAtLeastT() in checkPermissionReadAudio() 256 boolean targetSdkIsAtLeastT) { in checkPermissionReadVideo() argument 257 String permission = targetSdkIsAtLeastT && SdkLevel.isAtLeastT() in checkPermissionReadVideo() 286 boolean targetSdkIsAtLeastT) { in checkPermissionReadImages() argument 287 String permission = targetSdkIsAtLeastT && SdkLevel.isAtLeastT() in checkPermissionReadImages() 320 boolean targetSdkIsAtLeastT) { in checkPermissionReadVisualUserSelected() argument 321 if (!SdkLevel.isAtLeastU() || !targetSdkIsAtLeastT) { in checkPermissionReadVisualUserSelected()
|
/packages/providers/MediaProvider/tests/src/com/android/providers/media/util/ |
D | PermissionUtilsTest.java | 457 boolean targetSdkIsAtLeastT = true; in testReadMediaVisualUserSelectedOnTestApp() 465 packageName, null, targetSdkIsAtLeastT)).isTrue(); in testReadMediaVisualUserSelectedOnTestApp() 471 packageName, null, targetSdkIsAtLeastT)).isFalse(); in testReadMediaVisualUserSelectedOnTestApp() 477 packageName, null, targetSdkIsAtLeastT)).isTrue(); in testReadMediaVisualUserSelectedOnTestApp() 697 int pid, int uid, String packageName, boolean targetSdkIsAtLeastT, boolean expected) { in assertMediaReadPermissions() argument 701 getContext(), pid, uid, packageName, null, targetSdkIsAtLeastT)); in assertMediaReadPermissions() 705 getContext(), pid, uid, packageName, null, targetSdkIsAtLeastT)); in assertMediaReadPermissions() 709 getContext(), pid, uid, packageName, null, targetSdkIsAtLeastT)); in assertMediaReadPermissions()
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
D | LocalCallingIdentity.java | 369 boolean targetSdkIsAtLeastT = getTargetSdkVersion() > Build.VERSION_CODES.S_V2; in hasPermissionInternal() 388 return isRedactionNeededInternal(targetSdkIsAtLeastT); in hasPermissionInternal() 402 context, pid, uid, getPackageName(), attributionTag, targetSdkIsAtLeastT); in hasPermissionInternal() 405 context, pid, uid, getPackageName(), attributionTag, targetSdkIsAtLeastT); in hasPermissionInternal() 408 context, pid, uid, getPackageName(), attributionTag, targetSdkIsAtLeastT); in hasPermissionInternal() 432 attributionTag, targetSdkIsAtLeastT); in hasPermissionInternal()
|