Home
last modified time | relevance | path

Searched refs:SyncTracker (Results 1 – 10 of 10) sorted by relevance

/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/sync/
DSyncTrackerRegistry.java32 private static SyncTracker sLocalSyncTracker = new SyncTracker();
33 private static SyncTracker sLocalAlbumSyncTracker = new SyncTracker();
34 private static SyncTracker sCloudSyncTracker = new SyncTracker();
35 private static SyncTracker sCloudAlbumSyncTracker = new SyncTracker();
37 public static SyncTracker getLocalSyncTracker() { in getLocalSyncTracker()
45 public static void setLocalSyncTracker(SyncTracker syncTracker) { in setLocalSyncTracker()
49 public static SyncTracker getLocalAlbumSyncTracker() { in getLocalAlbumSyncTracker()
58 SyncTracker localAlbumSyncTracker) { in setLocalAlbumSyncTracker()
62 public static SyncTracker getCloudSyncTracker() { in getCloudSyncTracker()
71 SyncTracker cloudSyncTracker) { in setCloudSyncTracker()
[all …]
DSyncCompletionWaiter.java43 @NonNull SyncTracker syncTracker, in waitForSync()
95 @NonNull SyncTracker syncTracker, in waitForSyncWithTimeout()
DProactiveSyncWorker.java83 final SyncTracker localSyncTracker = getLocalSyncTracker(); in doWork()
95 final SyncTracker cloudSyncTracker = getCloudSyncTracker(); in doWork()
DSyncTracker.java34 public class SyncTracker { class
/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/sync/
DSyncTrackerTests.java35 SyncTracker syncTracker = new SyncTracker(); in testCreateSyncFuture()
44 SyncTracker syncTracker = new SyncTracker(); in testMarkSyncAsComplete()
55 SyncTracker syncTracker = new SyncTracker(); in testCompleteOnTimeoutSyncFuture()
DProactiveSyncWorkerTest.java60 private SyncTracker mMockLocalSyncTracker;
62 private SyncTracker mMockCloudSyncTracker;
80 SyncTrackerRegistry.setLocalSyncTracker(new SyncTracker()); in teardown()
81 SyncTrackerRegistry.setCloudSyncTracker(new SyncTracker()); in teardown()
DImmediateSyncWorkerTest.java60 private SyncTracker mMockLocalSyncTracker;
62 private SyncTracker mMockCloudSyncTracker;
80 SyncTrackerRegistry.setLocalSyncTracker(new SyncTracker()); in teardown()
81 SyncTrackerRegistry.setCloudSyncTracker(new SyncTracker()); in teardown()
DImmediateAlbumSyncWorkerTest.java62 private SyncTracker mMockLocalAlbumSyncTracker;
64 private SyncTracker mMockCloudAlbumSyncTracker;
82 SyncTrackerRegistry.setLocalAlbumSyncTracker(new SyncTracker()); in teardown()
83 SyncTrackerRegistry.setCloudAlbumSyncTracker(new SyncTracker()); in teardown()
DMediaResetWorkerTest.java73 @Mock private SyncTracker mMockLocalAlbumSyncTracker;
74 @Mock private SyncTracker mMockCloudAlbumSyncTracker;
124 SyncTrackerRegistry.setLocalAlbumSyncTracker(new SyncTracker()); in teardown()
125 SyncTrackerRegistry.setCloudAlbumSyncTracker(new SyncTracker()); in teardown()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/data/
DPickerDbFacadeTest.java86 import com.android.providers.media.photopicker.sync.SyncTracker;
107 private SyncTracker mMockLocalSyncTracker;
109 private SyncTracker mMockCloudSyncTracker;
134 SyncTrackerRegistry.setLocalSyncTracker(new SyncTracker()); in tearDown()
135 SyncTrackerRegistry.setCloudSyncTracker(new SyncTracker()); in tearDown()