Home
last modified time | relevance | path

Searched refs:createSyncFuture (Results 1 – 8 of 8) sorted by relevance

/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/sync/
DImmediateAlbumSyncWorkerTest.java109 .createSyncFuture(any()); in testLocalAlbumImmediateSync()
114 .createSyncFuture(any()); in testLocalAlbumImmediateSync()
142 .createSyncFuture(any()); in testCloudAlbumImmediateSync()
147 .createSyncFuture(any()); in testCloudAlbumImmediateSync()
176 .createSyncFuture(any()); in testInvalidSyncSourceImmediateAlbumSync()
181 .createSyncFuture(any()); in testInvalidSyncSourceImmediateAlbumSync()
210 .createSyncFuture(any()); in testLocalAndCloudImmediateSyncFailure()
215 .createSyncFuture(any()); in testLocalAndCloudImmediateSyncFailure()
244 .createSyncFuture(any()); in testInvalidAlbumIdImmediateSyncFailure()
249 .createSyncFuture(any()); in testInvalidAlbumIdImmediateSyncFailure()
[all …]
DProactiveSyncWorkerTest.java106 .createSyncFuture(any()); in testLocalProactiveSync()
111 .createSyncFuture(any()); in testLocalProactiveSync()
138 .createSyncFuture(any()); in testCloudProactiveSync()
143 .createSyncFuture(any()); in testCloudProactiveSync()
170 .createSyncFuture(any()); in testLocalAndCloudProactiveSync()
175 .createSyncFuture(any()); in testLocalAndCloudProactiveSync()
202 .createSyncFuture(any()); in testProactiveSyncFailure()
207 .createSyncFuture(any()); in testProactiveSyncFailure()
225 .createSyncFuture(any()); in testProactiveSyncWorkerOnStopped()
230 .createSyncFuture(any()); in testProactiveSyncWorkerOnStopped()
DImmediateSyncWorkerTest.java107 .createSyncFuture(any()); in testLocalImmediateSync()
112 .createSyncFuture(any()); in testLocalImmediateSync()
139 .createSyncFuture(any()); in testCloudImmediateSync()
144 .createSyncFuture(any()); in testCloudImmediateSync()
172 .createSyncFuture(any()); in testLocalAndCloudImmediateSync()
177 .createSyncFuture(any()); in testLocalAndCloudImmediateSync()
206 .createSyncFuture(any()); in testLocalAndCloudImmediateSyncFailure()
211 .createSyncFuture(any()); in testLocalAndCloudImmediateSyncFailure()
229 .createSyncFuture(any()); in testImmediateSyncWorkerOnStopped()
234 .createSyncFuture(any()); in testImmediateSyncWorkerOnStopped()
DMediaResetWorkerTest.java175 .createSyncFuture(any()); in testResetCloudAlbumMediaForAlbumId()
219 .createSyncFuture(any()); in testResetLocalAlbumMediaForAlbumId()
265 .createSyncFuture(any()); in testResetAllAlbumMedia()
305 .createSyncFuture(any()); in testPeriodicWorkerAlbumReset_WithCloudProvider()
307 .createSyncFuture(any()); in testPeriodicWorkerAlbumReset_WithCloudProvider()
355 .createSyncFuture(any()); in testPeriodicWorkerAlbumReset_WithLocalProvider()
357 .createSyncFuture(any()); in testPeriodicWorkerAlbumReset_WithLocalProvider()
373 .createSyncFuture(any()); in testMediaResetWorkerOnStopped()
378 .createSyncFuture(any()); in testMediaResetWorkerOnStopped()
DSyncTrackerTests.java36 syncTracker.createSyncFuture(PLACEHOLDER_UUID); in testCreateSyncFuture()
45 syncTracker.createSyncFuture(PLACEHOLDER_UUID); in testMarkSyncAsComplete()
56 syncTracker.createSyncFuture(PLACEHOLDER_UUID, 100L, TimeUnit.MILLISECONDS); in testCompleteOnTimeoutSyncFuture()
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/sync/
DSyncTrackerRegistry.java123 getLocalSyncTracker().createSyncFuture(syncRequestId); in trackNewSyncRequests()
126 getCloudSyncTracker().createSyncFuture(syncRequestId); in trackNewSyncRequests()
138 getLocalAlbumSyncTracker().createSyncFuture(syncRequestId); in trackNewAlbumMediaSyncRequests()
141 getCloudAlbumSyncTracker().createSyncFuture(syncRequestId); in trackNewAlbumMediaSyncRequests()
DSyncTracker.java47 public void createSyncFuture(UUID workRequestID) { in createSyncFuture() method in SyncTracker
48 createSyncFuture(workRequestID, SYNC_FUTURE_TIMEOUT, TimeUnit.MINUTES); in createSyncFuture()
56 public void createSyncFuture(UUID workRequestID, long syncFutureTimeout, TimeUnit timeUnit) { in createSyncFuture() method in SyncTracker
DProactiveSyncWorker.java84 localSyncTracker.createSyncFuture(getId()); in doWork()
96 cloudSyncTracker.createSyncFuture(getId()); in doWork()