Home
last modified time | relevance | path

Searched refs:mLocalProvider (Results 1 – 4 of 4) sorted by relevance

/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/
DPickerDataLayer.java100 private final String mLocalProvider; field in PickerDataLayer
111 mLocalProvider = requireNonNull(dbFacade.getLocalProvider()); in PickerDataLayer()
286 cursorExtra.putString(MediaStore.EXTRA_LOCAL_PROVIDER, mLocalProvider); in fetchAlbumsInternal()
295 final Cursor localAlbums = queryProviderAlbums(mLocalProvider, cloudMediaArgs); in fetchAlbumsInternal()
297 cursors.add(new AlbumsCursorWrapper(localAlbums, mLocalProvider)); in fetchAlbumsInternal()
412 return mLocalProvider.equals(authority); in isLocal()
DPickerSyncController.java148 private final String mLocalProvider; field in PickerSyncController
225 mLocalProvider = localProvider; in PickerSyncController()
299 syncAllMediaFromProvider(mLocalProvider, /* isLocal */ true, /* retryOnFailure */ true, in syncAllMediaFromLocalProvider()
356 syncAlbumMediaFromProvider(mLocalProvider, /* isLocal */ true, albumId, in syncAlbumMediaFromLocalProvider()
378 resetAllMedia(mLocalProvider, /* isLocal */ true); in resetAllMedia()
580 return mLocalProvider; in getLocalProvider()
600 if (mLocalProvider.equals(authority)) { in isProviderEnabled()
616 if (uid == MY_UID && mLocalProvider.equals(authority)) { in isProviderEnabled()
632 if (uid == MY_UID && mLocalProvider.equals(authority)) { in isProviderSupported()
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/data/
DPickerDbFacade.java76 private final String mLocalProvider; field in PickerDbFacade
96 mLocalProvider = localProvider; in PickerDbFacade()
266 return mLocalProvider; in getLocalProvider()
1032 if (authority.equals(mLocalProvider)) { in queryMediaIdForApps()
1139 KEY_CLOUD_ID, mLocalProvider, mCloudProvider, AlbumColumns.AUTHORITY) in getMergedAlbumProjection()
1144 return mLocalProvider.equals(authority); in isLocal()
1261 KEY_CLOUD_ID, mLocalProvider, mCloudProvider, MediaColumns.AUTHORITY); in getProjectionAuthorityLocked()
1269 KEY_CLOUD_ID, mLocalProvider, mCloudProvider); in getProjectionDataLocked()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/v2/
DPickerDataLayerV2Test.java100 private TestContentProvider mLocalProvider; field in PickerDataLayerV2Test
133 mLocalProvider = new TestContentProvider(); in setUp()
136 mMockContentResolver.addProvider(LOCAL_PROVIDER, mLocalProvider); in setUp()
1257 mLocalProvider.setQueryResult(cursor2); in testLocalAlbums()
1330 mLocalProvider.setQueryResult(cursor2); in testCloudAndLocalAlbums()