Home
last modified time | relevance | path

Searched refs:ALBUM_ID_FAVORITES (Results 1 – 15 of 15) sorted by relevance

/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/
DPickerDataLayerTest.java19 import static android.provider.CloudMediaProviderContract.AlbumColumns.ALBUM_ID_FAVORITES;
201 final Bundle favoriteQueryArgs = buildQueryArgs(ALBUM_ID_FAVORITES, in testFetchMediaFavorites()
234 final Bundle favoriteMimeTypeQueryArgs = buildQueryArgs(ALBUM_ID_FAVORITES, in testFetchMediaFavoritesMimeTypeFilter()
266 final Bundle favoriteSizeQueryArgs = buildQueryArgs(ALBUM_ID_FAVORITES, in testFetchMediaFavoritesSizeFilter()
298 final Bundle favoriteSizeAndMimeTypeQueryArgs = buildQueryArgs(ALBUM_ID_FAVORITES, in testFetchMediaFavoritesMimeTypeAndSizeFilter()
425 assertAlbumCursor(cr, ALBUM_ID_FAVORITES, CLOUD_PRIMARY_PROVIDER_AUTHORITY); in testFetchAlbumMedia()
459 final Bundle favoriteAlbumQueryArgs = buildQueryArgs(ALBUM_ID_FAVORITES, in testFetchAlbumMedia()
494 assertAlbumCursor(cr, ALBUM_ID_FAVORITES, LOCAL_PROVIDER_AUTHORITY); in testFetchAlbumMediaMimeTypeFilter()
545 assertAlbumCursor(cr, ALBUM_ID_FAVORITES, LOCAL_PROVIDER_AUTHORITY); in testFetchAlbumMediaSizeFilter()
600 assertAlbumCursor(cr, ALBUM_ID_FAVORITES, LOCAL_PROVIDER_AUTHORITY); in testFetchAlbumMediaMimeTypeAndSizeFilter()
[all …]
DItemsProviderTest.java22 import static android.provider.CloudMediaProviderContract.AlbumColumns.ALBUM_ID_FAVORITES;
289 assertGetCategoriesMatchSingle(ALBUM_ID_FAVORITES, /* numberOfItems */1); in testGetCategories_favorites()
309 assertGetCategoriesMatchSingle(ALBUM_ID_FAVORITES, /* numberOfItems */ 0); in testGetCategories_not_favorites()
394 Pair.create(ALBUM_ID_FAVORITES, 1), in testGetCategories_screenshots_and_favorites()
419 Pair.create(ALBUM_ID_FAVORITES, 1), in testGetCategories_downloads_and_favorites()
1141 Pair.create(ALBUM_ID_FAVORITES, 0), in testGetLocalCategories_withCloudFeatureOn()
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/util/
DCategoryOrganiserUtils.java21 import static android.provider.CloudMediaProviderContract.AlbumColumns.ALBUM_ID_FAVORITES;
53 put(ALBUM_ID_FAVORITES, 0); in populateCategoryPriorityMapping()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/data/
DPickerDbFacadeTest.java19 import static android.provider.CloudMediaProviderContract.AlbumColumns.ALBUM_ID_FAVORITES;
1668 ALBUM_ID_FAVORITES, in testGetFavoritesAlbumWithoutFilter()
1669 ALBUM_ID_FAVORITES, in testGetFavoritesAlbumWithoutFilter()
1725 ALBUM_ID_FAVORITES, in testGetVideosAlbumWithMimeTypesFilter()
1726 ALBUM_ID_FAVORITES, in testGetVideosAlbumWithMimeTypesFilter()
1747 ALBUM_ID_FAVORITES, in testGetVideosAlbumWithMimeTypesFilter()
1748 ALBUM_ID_FAVORITES, in testGetVideosAlbumWithMimeTypesFilter()
1769 ALBUM_ID_FAVORITES, in testGetVideosAlbumWithMimeTypesFilter()
1770 ALBUM_ID_FAVORITES, in testGetVideosAlbumWithMimeTypesFilter()
1819 ALBUM_ID_FAVORITES, in testGetFavoritesAlbumWithMimeTypesFilter()
[all …]
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/data/model/
DCategory.java22 import static android.provider.CloudMediaProviderContract.AlbumColumns.ALBUM_ID_FAVORITES;
55 ALBUM_ID_CAMERA, ALBUM_ID_SCREENSHOTS, ALBUM_ID_DOWNLOADS, ALBUM_ID_FAVORITES);
185 case ALBUM_ID_FAVORITES: in getLocalizedDisplayName()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/viewmodel/
DCategoryOrganiserTest.java56 CloudMediaProviderContract.AlbumColumns.ALBUM_ID_FAVORITES, in test_categoryOrder_meetsRequirements()
78 CloudMediaProviderContract.AlbumColumns.ALBUM_ID_FAVORITES, in test_categoryOrder_meetsRequirements()
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/v2/
DPickerDataLayerV2.java65 AlbumColumns.ALBUM_ID_FAVORITES,
122 AlbumColumns.ALBUM_ID_FAVORITES, queryArgs, database, in queryAlbums()
535 } else if (albumId.equals(AlbumColumns.ALBUM_ID_FAVORITES)) { in getMergedAlbumsCursor()
764 case AlbumColumns.ALBUM_ID_FAVORITES: in queryMergedAlbumMedia()
/packages/providers/MediaProvider/apex/framework/java/android/provider/
DCloudMediaProviderContract.java393 public static final String ALBUM_ID_FAVORITES = "Favorites"; field in CloudMediaProviderContract.AlbumColumns
/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/v2/
DPickerDataLayerV2Test.java772 CloudMediaProviderContract.AlbumColumns.ALBUM_ID_FAVORITES)) { in testFavoritesAlbumMediaWithCloudDisabled() argument
810 CloudMediaProviderContract.AlbumColumns.ALBUM_ID_FAVORITES)) { in testFavoritesAlbumMediaWithLocalAndCloudItems() argument
1071 /* albumId */ CloudMediaProviderContract.AlbumColumns.ALBUM_ID_FAVORITES, in testCloudVideosAlbum()
1110 /* albumId */ CloudMediaProviderContract.AlbumColumns.ALBUM_ID_FAVORITES, in testMergedLocalAndCloudVideosAlbum()
1154 /* albumId */ CloudMediaProviderContract.AlbumColumns.ALBUM_ID_FAVORITES, in testLocalFavoritesAlbum()
1191 /* albumId */ CloudMediaProviderContract.AlbumColumns.ALBUM_ID_FAVORITES, in testCloudFavoritesAlbum()
1232 /* albumId */ CloudMediaProviderContract.AlbumColumns.ALBUM_ID_FAVORITES, in testMergedLocalAndCloudFavoritesAlbum()
1302 /* albumId */ CloudMediaProviderContract.AlbumColumns.ALBUM_ID_FAVORITES, in testCloudAlbums()
1345 /* albumId */ CloudMediaProviderContract.AlbumColumns.ALBUM_ID_FAVORITES, in testCloudAndLocalAlbums()
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/ui/
DAlbumGridHolder.java79 if (CloudMediaProviderContract.AlbumColumns.ALBUM_ID_FAVORITES.equals(category.getId())) { in bind()
/packages/providers/MediaProvider/photopicker/src/com/android/photopicker/core/components/mediagrid/
DMediaGrid.kt20 import android.provider.CloudMediaProviderContract.AlbumColumns.ALBUM_ID_FAVORITES in <lambda>()
473 id.equals(ALBUM_ID_FAVORITES) && coverUri.equals(Uri.EMPTY) -> { in defaultBuildAlbumItem()
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/v2/model/
DAlbumsCursorWrapper.java46 CloudMediaProviderContract.AlbumColumns.ALBUM_ID_FAVORITES,
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/data/
DCloudProviderQueryExtras.java215 return AlbumColumns.ALBUM_ID_FAVORITES.equals(albumId); in isFavorite()
DPickerDbFacade.java20 import static android.provider.CloudMediaProviderContract.AlbumColumns.ALBUM_ID_FAVORITES;
1060 List<String> mergedAlbums = List.of(ALBUM_ID_FAVORITES, ALBUM_ID_VIDEOS); in getMergedAlbums()
1069 if (albumId.equals(ALBUM_ID_FAVORITES)) { in getMergedAlbums()
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/viewmodel/
DPickerViewModel.java23 import static android.provider.CloudMediaProviderContract.AlbumColumns.ALBUM_ID_FAVORITES;
1451 if (ALBUM_ID_FAVORITES.equals(albumId)) { in logAlbumOpened()