Home
last modified time | relevance | path

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

/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/sync/
DSyncTrackerTests.java67 assertThat(SyncTrackerRegistry.getSyncTracker(/* isLocal */ true)) in getSyncTrackerFromRegistry()
68 .isEqualTo(SyncTrackerRegistry.getLocalSyncTracker()); in getSyncTrackerFromRegistry()
69 assertThat(SyncTrackerRegistry.getSyncTracker(/* isLocal */ false)) in getSyncTrackerFromRegistry()
70 .isEqualTo(SyncTrackerRegistry.getCloudSyncTracker()); in getSyncTrackerFromRegistry()
71 assertThat(SyncTrackerRegistry.getAlbumSyncTracker(/* isLocal */ true)) in getSyncTrackerFromRegistry()
72 .isEqualTo(SyncTrackerRegistry.getLocalAlbumSyncTracker()); in getSyncTrackerFromRegistry()
73 assertThat(SyncTrackerRegistry.getAlbumSyncTracker(/* isLocal */ false)) in getSyncTrackerFromRegistry()
74 .isEqualTo(SyncTrackerRegistry.getCloudAlbumSyncTracker()); in getSyncTrackerFromRegistry()
DProactiveSyncWorkerTest.java70 SyncTrackerRegistry.setLocalSyncTracker(mMockLocalSyncTracker); in setup()
71 SyncTrackerRegistry.setCloudSyncTracker(mMockCloudSyncTracker); in setup()
80 SyncTrackerRegistry.setLocalSyncTracker(new SyncTracker()); in teardown()
81 SyncTrackerRegistry.setCloudSyncTracker(new SyncTracker()); in teardown()
DImmediateSyncWorkerTest.java70 SyncTrackerRegistry.setLocalSyncTracker(mMockLocalSyncTracker); in setup()
71 SyncTrackerRegistry.setCloudSyncTracker(mMockCloudSyncTracker); in setup()
80 SyncTrackerRegistry.setLocalSyncTracker(new SyncTracker()); in teardown()
81 SyncTrackerRegistry.setCloudSyncTracker(new SyncTracker()); in teardown()
DImmediateAlbumSyncWorkerTest.java72 SyncTrackerRegistry.setLocalAlbumSyncTracker(mMockLocalAlbumSyncTracker); in setup()
73 SyncTrackerRegistry.setCloudAlbumSyncTracker(mMockCloudAlbumSyncTracker); in setup()
82 SyncTrackerRegistry.setLocalAlbumSyncTracker(new SyncTracker()); in teardown()
83 SyncTrackerRegistry.setCloudAlbumSyncTracker(new SyncTracker()); in teardown()
DMediaResetWorkerTest.java96 SyncTrackerRegistry.setLocalAlbumSyncTracker(mMockLocalAlbumSyncTracker); in setup()
97 SyncTrackerRegistry.setCloudAlbumSyncTracker(mMockCloudAlbumSyncTracker); in setup()
124 SyncTrackerRegistry.setLocalAlbumSyncTracker(new SyncTracker()); in teardown()
125 SyncTrackerRegistry.setCloudAlbumSyncTracker(new SyncTracker()); in teardown()
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/sync/
DImmediateSyncWorker.java24 import static com.android.providers.media.photopicker.sync.SyncTrackerRegistry.getCloudSyncTracker;
25 import static com.android.providers.media.photopicker.sync.SyncTrackerRegistry.getLocalSyncTracker;
26 import static com.android.providers.media.photopicker.sync.SyncTrackerRegistry.markSyncAsComplete;
DProactiveSyncWorker.java23 import static com.android.providers.media.photopicker.sync.SyncTrackerRegistry.getCloudSyncTracker;
24 import static com.android.providers.media.photopicker.sync.SyncTrackerRegistry.getLocalSyncTracker;
25 import static com.android.providers.media.photopicker.sync.SyncTrackerRegistry.markSyncAsComplete;
DPickerSyncManager.java19 import static com.android.providers.media.photopicker.sync.SyncTrackerRegistry.markAlbumMediaSyncAs…
20 import static com.android.providers.media.photopicker.sync.SyncTrackerRegistry.markSyncAsComplete;
21 import static com.android.providers.media.photopicker.sync.SyncTrackerRegistry.trackNewAlbumMediaSy…
22 import static com.android.providers.media.photopicker.sync.SyncTrackerRegistry.trackNewSyncRequests;
DMediaResetWorker.java28 import static com.android.providers.media.photopicker.sync.SyncTrackerRegistry.markAlbumMediaSyncAs…
29 import static com.android.providers.media.photopicker.sync.SyncTrackerRegistry.trackNewAlbumMediaSy…
DSyncTrackerRegistry.java31 public class SyncTrackerRegistry { class
DImmediateAlbumSyncWorker.java24 import static com.android.providers.media.photopicker.sync.SyncTrackerRegistry.markAlbumMediaSyncAs…
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/
DPickerDataLayer.java58 import com.android.providers.media.photopicker.sync.SyncTrackerRegistry;
177 SyncTrackerRegistry.getLocalSyncTracker(), in fetchMediaInternal()
184 SyncTrackerRegistry.getCloudSyncTracker(), in fetchMediaInternal()
211 SyncTrackerRegistry.getAlbumSyncTracker(isLocal(albumAuthority)), in fetchMediaInternal()
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/v2/
DPickerDataLayerV2.java45 import com.android.providers.media.photopicker.sync.SyncTrackerRegistry;
289 SyncTrackerRegistry.getLocalSyncTracker(), in waitForOngoingSync()
296 SyncTrackerRegistry.getCloudSyncTracker(), in waitForOngoingSync()
317 SyncTrackerRegistry.getAlbumSyncTracker(isLocal), in waitForOngoingAlbumSync()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/data/
DPickerDbFacadeTest.java87 import com.android.providers.media.photopicker.sync.SyncTrackerRegistry;
123 SyncTrackerRegistry.setLocalSyncTracker(mMockLocalSyncTracker); in setUp()
124 SyncTrackerRegistry.setCloudSyncTracker(mMockCloudSyncTracker); in setUp()
134 SyncTrackerRegistry.setLocalSyncTracker(new SyncTracker()); in tearDown()
135 SyncTrackerRegistry.setCloudSyncTracker(new SyncTracker()); in tearDown()
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/data/
DPickerDbFacade.java56 import com.android.providers.media.photopicker.sync.SyncTrackerRegistry;
1720 if (SyncTrackerRegistry.getCloudSyncTracker().pendingSyncFutures().size() > 0) { in maybeInsertFileToMedia()