Home
last modified time | relevance | path

Searched refs:mDbFacade (Results 1 – 5 of 5) sorted by relevance

/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/
DPhotoPickerProvider.java57 private ExternalDbFacade mDbFacade; field in PhotoPickerProvider
62 mDbFacade = mMediaProvider.getExternalDbFacade(); in onCreate()
72 return mDbFacade.queryMedia(queryExtras.getGeneration(), queryExtras.getAlbumId(), in onQueryMedia()
81 return mDbFacade.queryDeletedMedia(queryExtras.getGeneration()); in onQueryDeletedMedia()
89 return mDbFacade.queryAlbums(queryExtras.getMimeTypes()); in onQueryAlbums()
131 return mDbFacade.getMediaCollectionInfo(queryExtras.getGeneration()); in onGetMediaCollectionInfo()
DPickerDataLayer.java94 private final PickerDbFacade mDbFacade; field in PickerDataLayer
109 mDbFacade = requireNonNull(dbFacade); in PickerDataLayer()
194 result = mDbFacade.queryMediaForUi(queryExtras.toQueryFilter()); in fetchMediaInternal()
217 result = mDbFacade.queryAlbumMediaForUi( in fetchMediaInternal()
289 final Cursor mergedAlbums = mDbFacade.getMergedAlbums(queryExtras.toQueryFilter(), in fetchAlbumsInternal()
341 final String cloudProvider = mDbFacade.getCloudProvider(); in fetchCloudAccountInfo()
DPickerSyncController.java144 private final PickerDbFacade mDbFacade; field in PickerSyncController
223 mDbFacade = dbFacade; in PickerSyncController()
484 mDbFacade.setCloudProvider(null); in setCloudProviderInternal()
850 mDbFacade.setCloudProviderWithTimeout(null); in disablePickerCloudMediaQueries()
864 mDbFacade.setCloudProviderWithTimeout(authority); in enablePickerCloudMediaQueries()
875 mDbFacade.beginResetMediaOperation(authority)) { in executeSyncReset()
894 mDbFacade.beginResetAlbumMediaOperation(authority, albumId)) { in executeSyncAlbumReset()
1369 return mDbFacade.beginAddMediaOperation(authority); in beginPagedOperation()
1373 return mDbFacade.beginAddAlbumMediaOperation(authority, albumId); in beginPagedOperation()
1375 return mDbFacade.beginRemoveMediaOperation(authority); in beginPagedOperation()
[all …]
/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/sync/
DMediaResetWorkerTest.java76 private PickerDbFacade mDbFacade; field in MediaResetWorkerTest
110 mDbFacade = new PickerDbFacade(mContext, new PickerSyncLockManager(), TEST_LOCAL_AUTHORITY); in setup()
111 mDbFacade.setCloudProvider(TEST_CLOUD_AUTHORITY); in setup()
439 return mDbFacade.queryAlbumMediaForUi( in queryAlbumMediaAll()
448 return mDbFacade.queryAlbumMediaForUi( in queryAlbumMediaAll()
461 mDbFacade.beginAddAlbumMediaOperation(authority, albumId)) { in assertAddAlbumMediaWithAlbumId()
/packages/providers/MediaProvider/src/com/android/providers/media/
DPickerUriResolver.java115 private final PickerDbFacade mDbFacade; field in PickerUriResolver
123 mDbFacade = dbFacade; in PickerUriResolver()
316 return mDbFacade.queryMediaIdForApps(pickerSegmentType, uri.getHost(), in queryPickerUri()