Home
last modified time | relevance | path

Searched refs:QueryFilterBuilder (Results 1 – 11 of 11) sorted by relevance

/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaGrants.java170 QueryFilterBuilder.newInstance() in getMediaGrantsForPackages()
205 QueryFilterBuilder.newInstance() in removeMediaGrantsForPackage()
296 String[] selectionArgs = buildSelectionArg(queryBuilder, QueryFilterBuilder.newInstance()
480 MediaGrantsQueryFilter(QueryFilterBuilder builder) {
493 static class QueryFilterBuilder {
508 public static QueryFilterBuilder newInstance() {
509 return new QueryFilterBuilder();
512 private QueryFilterBuilder() {}
515 public QueryFilterBuilder setUriSelection(List<Uri> uris) {
520 public QueryFilterBuilder setPackageNameSelection(String[] packageNames) {
[all …]
/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/data/
DPickerDbFacadeTest.java830 PickerDbFacade.QueryFilterBuilder qfbBefore = new PickerDbFacade.QueryFilterBuilder(5); in testQueryWithDateTakenFilter()
839 PickerDbFacade.QueryFilterBuilder qfbAfter = new PickerDbFacade.QueryFilterBuilder(5); in testQueryWithDateTakenFilter()
861 PickerDbFacade.QueryFilterBuilder qfbBefore = new PickerDbFacade.QueryFilterBuilder(5); in testQueryWithIdFilter()
872 PickerDbFacade.QueryFilterBuilder qfbAfter = new PickerDbFacade.QueryFilterBuilder(5); in testQueryWithIdFilter()
894 PickerDbFacade.QueryFilterBuilder qfbBefore = new PickerDbFacade.QueryFilterBuilder(1); in testQueryWithLimit()
907 PickerDbFacade.QueryFilterBuilder qfbAfter = new PickerDbFacade.QueryFilterBuilder(1); in testQueryWithLimit()
921 new PickerDbFacade.QueryFilterBuilder(1).build())) { in testQueryWithLimit()
943 PickerDbFacade.QueryFilterBuilder qfbAll = new PickerDbFacade.QueryFilterBuilder(1000); in testQueryWithSizeFilter()
960 PickerDbFacade.QueryFilterBuilder qfbAfter = new PickerDbFacade.QueryFilterBuilder(1000); in testQueryWithSizeFilter()
985 PickerDbFacade.QueryFilterBuilder qfbBefore = new PickerDbFacade.QueryFilterBuilder(1000); in testQueryWithSizeFilter()
[all …]
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/data/
DCloudProviderQueryExtras.java25 import static com.android.providers.media.photopicker.data.PickerDbFacade.QueryFilterBuilder.BOOLEA…
26 import static com.android.providers.media.photopicker.data.PickerDbFacade.QueryFilterBuilder.INT_DE…
27 import static com.android.providers.media.photopicker.data.PickerDbFacade.QueryFilterBuilder.LIMIT_…
28 import static com.android.providers.media.photopicker.data.PickerDbFacade.QueryFilterBuilder.LIST_D…
29 import static com.android.providers.media.photopicker.data.PickerDbFacade.QueryFilterBuilder.LONG_D…
30 import static com.android.providers.media.photopicker.data.PickerDbFacade.QueryFilterBuilder.STRING…
31 import static com.android.providers.media.photopicker.data.PickerDbFacade.QueryFilterBuilder.STRING…
181 PickerDbFacade.QueryFilterBuilder qfb = new PickerDbFacade.QueryFilterBuilder(mLimit); in toQueryFilter()
DPickerDbFacade.java747 public static class QueryFilterBuilder { class in PickerDbFacade
773 public QueryFilterBuilder(int limit) { in QueryFilterBuilder() method in PickerDbFacade.QueryFilterBuilder
777 public QueryFilterBuilder setDateTakenBeforeMs(long dateTakenBeforeMs) { in setDateTakenBeforeMs()
782 public QueryFilterBuilder setDateTakenAfterMs(long dateTakenAfterMs) { in setDateTakenAfterMs()
799 public QueryFilterBuilder setId(long id) { in setId()
804 public QueryFilterBuilder setAlbumId(String albumId) { in setAlbumId()
809 public QueryFilterBuilder setSizeBytes(long sizeBytes) { in setSizeBytes()
814 public QueryFilterBuilder setMimeTypes(String[] mimeTypes) { in setMimeTypes()
822 public QueryFilterBuilder setShouldScreenSelectionUris(boolean shouldScreenSelectionUris) { in setShouldScreenSelectionUris()
830 public QueryFilterBuilder setLocalPreSelectedIds(List<String> localPreSelectedIds) { in setLocalPreSelectedIds()
[all …]
DPaginationParameters.java19 import static com.android.providers.media.photopicker.data.PickerDbFacade.QueryFilterBuilder.INT_DE…
DExternalDbFacade.java31 import static com.android.providers.media.photopicker.data.PickerDbFacade.QueryFilterBuilder.INT_DE…
32 import static com.android.providers.media.photopicker.data.PickerDbFacade.QueryFilterBuilder.LONG_D…
/packages/providers/MediaProvider/tests/src/com/android/providers/media/
DPickerProviderMediaGenerator.java26 import static com.android.providers.media.photopicker.data.PickerDbFacade.QueryFilterBuilder.LONG_D…
27 import static com.android.providers.media.photopicker.data.PickerDbFacade.QueryFilterBuilder.STRING…
28 import static com.android.providers.media.photopicker.data.PickerDbFacade.QueryFilterBuilder.STRING…
/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/sync/
DMediaResetWorkerTest.java440 new PickerDbFacade.QueryFilterBuilder(1000).build(), authority); in queryAlbumMediaAll()
449 new PickerDbFacade.QueryFilterBuilder(1000).setAlbumId(albumId).build(), authority); in queryAlbumMediaAll()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/util/
DPickerDbTestUtils.java68 new PickerDbFacade.QueryFilterBuilder(1000).build()); in queryMediaAll()
75 new PickerDbFacade.QueryFilterBuilder(1000).setAlbumId(albumId).build(), in queryAlbumMedia()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/
DPickerDataLayerTest.java23 import static com.android.providers.media.photopicker.data.PickerDbFacade.QueryFilterBuilder.LONG_D…
24 import static com.android.providers.media.photopicker.data.PickerDbFacade.QueryFilterBuilder.STRING…
826 new PickerDbFacade.QueryFilterBuilder(1000).build()); in queryMedia()
DPickerSyncControllerTest.java1902 new PickerDbFacade.QueryFilterBuilder(1000).build()); in queryMedia()
1914 new PickerDbFacade.QueryFilterBuilder(1000).build()); in queryMedia()
1921 new PickerDbFacade.QueryFilterBuilder(1000).setAlbumId(albumId).build(), authority); in queryAlbumMedia()