Home
last modified time | relevance | path

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

/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/sync/
DSyncTrackerRegistry.java19 import static com.android.providers.media.photopicker.sync.PickerSyncManager.SYNC_CLOUD_ONLY;
125 if (syncSource == SYNC_CLOUD_ONLY || syncSource == SYNC_LOCAL_AND_CLOUD) { in trackNewSyncRequests()
140 if (syncSource == SYNC_CLOUD_ONLY || syncSource == SYNC_LOCAL_AND_CLOUD) { in trackNewAlbumMediaSyncRequests()
154 if (syncSource == SYNC_CLOUD_ONLY || syncSource == SYNC_LOCAL_AND_CLOUD) { in markSyncAsComplete()
168 if (syncSource == SYNC_CLOUD_ONLY || syncSource == SYNC_LOCAL_AND_CLOUD) { in markAlbumMediaSyncAsComplete()
DPickerSyncManager.java68 public static final int SYNC_CLOUD_ONLY = 2; field in PickerSyncManager
71 @IntDef(value = { SYNC_LOCAL_ONLY, SYNC_CLOUD_ONLY, SYNC_LOCAL_AND_CLOUD })
265 syncMediaImmediately(PickerSyncManager.SYNC_CLOUD_ONLY, IMMEDIATE_CLOUD_SYNC_WORK_NAME); in syncMediaImmediately()
405 : SYNC_CLOUD_ONLY; in getSyncSource()
DImmediateSyncWorker.java20 import static com.android.providers.media.photopicker.sync.PickerSyncManager.SYNC_CLOUD_ONLY;
87 if (syncSource == SYNC_LOCAL_AND_CLOUD || syncSource == SYNC_CLOUD_ONLY) { in doWork()
DProactiveSyncWorker.java19 import static com.android.providers.media.photopicker.sync.PickerSyncManager.SYNC_CLOUD_ONLY;
93 if (syncSource == SYNC_LOCAL_AND_CLOUD || syncSource == SYNC_CLOUD_ONLY) { in doWork()
DImmediateAlbumSyncWorker.java20 import static com.android.providers.media.photopicker.sync.PickerSyncManager.SYNC_CLOUD_ONLY;
117 if (syncSource != SYNC_LOCAL_ONLY && syncSource != SYNC_CLOUD_ONLY) { in validateWorkInput()
DMediaResetWorker.java19 import static com.android.providers.media.photopicker.sync.PickerSyncManager.SYNC_CLOUD_ONLY;
179 if (mSyncSource == SYNC_CLOUD_ONLY && mAlbumId == null) { in beginResetOperation()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/sync/
DSyncWorkerTestUtils.java19 import static com.android.providers.media.photopicker.sync.PickerSyncManager.SYNC_CLOUD_ONLY;
67 return new Data(Map.of(SYNC_WORKER_INPUT_SYNC_SOURCE, SYNC_CLOUD_ONLY)); in getCloudSyncInputData()
78 SYNC_WORKER_INPUT_SYNC_SOURCE, isLocal ? SYNC_LOCAL_ONLY : SYNC_CLOUD_ONLY, in getAlbumResetInputData()
86 return new Data(Map.of(SYNC_WORKER_INPUT_SYNC_SOURCE, SYNC_CLOUD_ONLY, in getCloudAlbumSyncInputData()
DPickerSyncManagerTest.java19 import static com.android.providers.media.photopicker.sync.PickerSyncManager.SYNC_CLOUD_ONLY;
313 .isEqualTo(SYNC_CLOUD_ONLY); in testImmediateCloudSync()
379 .isEqualTo(SYNC_CLOUD_ONLY); in testImmediateCloudAlbumSync()
390 .isEqualTo(SYNC_CLOUD_ONLY); in testImmediateCloudAlbumSync()