Home
last modified time | relevance | path

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

/packages/providers/MediaProvider/tests/src/com/android/providers/media/
DAccessCheckerTest.java25 import static com.android.providers.media.AccessChecker.getWhereForConstrainedAccess;
367 .that(getWhereForConstrainedAccess(hasNoPerms, AUDIO_MEDIA, false, Bundle.EMPTY)) in testGetWhereForConstrainedAccess_forRead_noPerms()
371 .that(getWhereForConstrainedAccess(hasNoPerms, VIDEO_MEDIA, false, Bundle.EMPTY)) in testGetWhereForConstrainedAccess_forRead_noPerms()
374 .that(getWhereForConstrainedAccess(hasNoPerms, IMAGES_MEDIA, false, Bundle.EMPTY)) in testGetWhereForConstrainedAccess_forRead_noPerms()
379 .that(getWhereForConstrainedAccess(hasNoPerms, DOWNLOADS, false, Bundle.EMPTY)) in testGetWhereForConstrainedAccess_forRead_noPerms()
382 .that(getWhereForConstrainedAccess(hasNoPerms, FILES, false, Bundle.EMPTY)) in testGetWhereForConstrainedAccess_forRead_noPerms()
397 .that(getWhereForConstrainedAccess(hasReadMedia, DOWNLOADS, false, Bundle.EMPTY)) in testGetWhereForConstrainedAccess_forRead_hasReadMediaPerms()
400 .that(getWhereForConstrainedAccess(hasReadMedia, FILES, false, Bundle.EMPTY)) in testGetWhereForConstrainedAccess_forRead_hasReadMediaPerms()
412 .that(getWhereForConstrainedAccess(noPerms, AUDIO_MEDIA, true, Bundle.EMPTY)) in testGetWhereForConstrainedAccess_forWrite_noPerms()
416 .that(getWhereForConstrainedAccess(noPerms, VIDEO_MEDIA, true, Bundle.EMPTY)) in testGetWhereForConstrainedAccess_forWrite_noPerms()
[all …]
/packages/providers/MediaProvider/src/com/android/providers/media/
DAccessChecker.java268 public static String getWhereForConstrainedAccess( in getWhereForConstrainedAccess() method in AccessChecker
DMediaProvider.java59 import static com.android.providers.media.AccessChecker.getWhereForConstrainedAccess;
2852 final String writeAccessCheckSql = getWhereForConstrainedAccess(mCallingIdentity.get(), in getWhereClauseForMatchableVisibleFromFilePath()
6318 options.add(getWhereForConstrainedAccess(mCallingIdentity.get(), uriType, forWrite,
6328 options.add(getWhereForConstrainedAccess(mCallingIdentity.get(), uriType, forWrite,