Home
last modified time | relevance | path

Searched refs:getCloudProvider (Results 1 – 7 of 7) sorted by relevance

/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/
DPickerSyncControllerTest.java757 .that(mFacade.getCloudProvider()).isNull(); in testSetCloudProvider()
763 .that(mController.getCloudProvider()).isEqualTo(CLOUD_PRIMARY_PROVIDER_AUTHORITY); in testSetCloudProvider()
770 .that(mFacade.getCloudProvider()).isNull(); in testSetCloudProvider()
773 .that(mFacade.getCloudProvider()).isEqualTo(CLOUD_PRIMARY_PROVIDER_AUTHORITY); in testSetCloudProvider()
779 .that(mController.getCloudProvider()).isNull(); in testSetCloudProvider()
789 .that(mFacade.getCloudProvider()).isNull(); in testSetCloudProvider()
792 .that(mFacade.getCloudProvider()).isNull(); in testSetCloudProvider()
798 .that(mController.getCloudProvider()).isEqualTo(CLOUD_PRIMARY_PROVIDER_AUTHORITY); in testSetCloudProvider()
805 .that(mFacade.getCloudProvider()).isNull(); in testSetCloudProvider()
808 .that(mFacade.getCloudProvider()).isEqualTo(CLOUD_PRIMARY_PROVIDER_AUTHORITY); in testSetCloudProvider()
[all …]
/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/sync/
DMediaResetWorkerTest.java101 doReturn(TEST_CLOUD_AUTHORITY).when(mMockPickerSyncController).getCloudProvider(); in setup()
326 doReturn(null).when(mMockPickerSyncController).getCloudProvider(); in testPeriodicWorkerAlbumReset_WithLocalProvider()
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/
DPickerDataLayer.java279 final String cloudProvider = mSyncController.getCloudProvider(); in fetchAlbumsInternal()
341 final String cloudProvider = mDbFacade.getCloudProvider(); in fetchCloudAccountInfo()
DPickerSyncController.java384 resetAllMedia(getCloudProvider(), /* isLocal */ false); in resetAllMedia()
537 public String getCloudProvider() { in getCloudProvider() method in PickerSyncController
1864 && cloudProvider.equals(mDbFacade.getCloudProvider()); in shouldQueryCloudMedia()
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/data/
DPickerDbFacade.java258 public String getCloudProvider() { in getCloudProvider() method in PickerDbFacade
931 final String cloudProvider = getCloudProvider(); in queryMediaForUi()
951 batchedQueryForIdSelection(query, resultCursor, getCloudProvider(), in queryMediaForUiWithIdSelection()
1777 writer.println(" mCloudProvider=" + getCloudProvider()); in dump()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/v2/
DPickerDataLayerV2Test.java140 doReturn(CLOUD_PROVIDER).when(mMockSyncController).getCloudProvider(); in setUp()
/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaProvider.java1408 mStorageManager.setCloudMediaProvider(mPickerSyncController.getCloudProvider()); in onCreate()
3787 mPickerSyncController.getCloudProvider(), mPickerDataLayer); in queryInternal()
7260 mPickerSyncController.getCloudProvider());