Searched refs:SyncTrackerRegistry (Results 1 – 15 of 15) sorted by relevance
67 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()
70 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()
72 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()
96 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()
24 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;
23 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;
19 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;
28 import static com.android.providers.media.photopicker.sync.SyncTrackerRegistry.markAlbumMediaSyncAs…29 import static com.android.providers.media.photopicker.sync.SyncTrackerRegistry.trackNewAlbumMediaSy…
31 public class SyncTrackerRegistry { class
24 import static com.android.providers.media.photopicker.sync.SyncTrackerRegistry.markAlbumMediaSyncAs…
58 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()
45 import com.android.providers.media.photopicker.sync.SyncTrackerRegistry;289 SyncTrackerRegistry.getLocalSyncTracker(), in waitForOngoingSync()296 SyncTrackerRegistry.getCloudSyncTracker(), in waitForOngoingSync()317 SyncTrackerRegistry.getAlbumSyncTracker(isLocal), in waitForOngoingAlbumSync()
87 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()
56 import com.android.providers.media.photopicker.sync.SyncTrackerRegistry;1720 if (SyncTrackerRegistry.getCloudSyncTracker().pendingSyncFutures().size() > 0) { in maybeInsertFileToMedia()