Home
last modified time | relevance | path

Searched refs:ItemsProvider (Results 1 – 14 of 14) sorted by relevance

/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/espresso/
DPhotoPickerTestActivity.java30 import com.android.providers.media.photopicker.data.ItemsProvider;
48 pickerViewModel.setItemsProvider(new ItemsProvider( in getOrCreateViewModel()
DPhotoPickerUserSelectActivityTest.java31 import static com.android.providers.media.photopicker.data.ItemsProvider.getItemsUri;
/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/data/model/
DCategoryTest.java32 import com.android.providers.media.photopicker.data.ItemsProvider;
60 assertThat(category.getCoverUri()).isEqualTo(ItemsProvider.getItemsUri(coverId, in testConstructor()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/viewmodel/
DPickerViewModelTest.java81 import com.android.providers.media.photopicker.data.ItemsProvider;
377 when(item.getContentUri()).thenReturn(ItemsProvider.getItemsUri( in test_initialisePreSelectionItems_correctItemsLoaded()
478 private static class TestItemsProvider extends ItemsProvider {
1038 ItemsProvider mockItemsProvider = spy(ItemsProvider.class); in testMainGridInitRequest()
1063 ItemsProvider mockItemsProvider = spy(ItemsProvider.class); in testMainGridPickerChoiceInitRequest()
1087 ItemsProvider mockItemsProvider = spy(ItemsProvider.class); in testMainGridInitOnResetRequest()
DPickerViewModelPaginationTest.java55 import com.android.providers.media.photopicker.data.ItemsProvider;
151 final ItemsProvider itemsProvider = new ItemsProvider(isolatedContext); in setUp()
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/data/model/
DItem.java40 import com.android.providers.media.photopicker.data.ItemsProvider;
181 mUri = ItemsProvider.getItemsUri(mId, authority, userId); in updateFromCursor()
DCategory.java41 import com.android.providers.media.photopicker.data.ItemsProvider;
164 final Uri coverUri = ItemsProvider.getItemsUri( in fromCursor()
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/data/
DItemsProvider.java69 public class ItemsProvider { class
70 private static final String TAG = ItemsProvider.class.getSimpleName();
76 public ItemsProvider(Context context) { in ItemsProvider() method in ItemsProvider
/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/
DItemsProviderTest.java64 import com.android.providers.media.photopicker.data.ItemsProvider;
106 private ItemsProvider mItemsProvider;
122 mItemsProvider = new ItemsProvider(isolatedContext); in setUp()
1200 final Uri coverUri = ItemsProvider.getItemsUri(c.getString(coverIdIndex), in assertGetCategoriesMatchSingle()
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/viewmodel/
DPickerViewModel.java80 import com.android.providers.media.photopicker.data.ItemsProvider;
162 private ItemsProvider mItemsProvider;
203 mItemsProvider = new ItemsProvider(mAppContext); in PickerViewModel()
278 public void setItemsProvider(@NonNull ItemsProvider itemsProvider) { in setItemsProvider()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/
DMediaProviderTest.java77 import com.android.providers.media.photopicker.data.ItemsProvider;
114 private static ItemsProvider sItemsProvider;
1861 sItemsProvider = new ItemsProvider(sIsolatedContext); in resetIsolatedContext()
DMediaGrantsTest.java21 import static com.android.providers.media.photopicker.data.ItemsProvider.getItemsUri;
/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/v2/
DPickerDataLayerV2Test.java73 import com.android.providers.media.photopicker.data.ItemsProvider;
1676 ItemsProvider.getItemsUri(id, authority, UserId.CURRENT_USER), in getMediaUri()
/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaProvider.java128 import static com.android.providers.media.photopicker.data.ItemsProvider.EXTRA_MIME_TYPE_SELECTION;