Searched refs:SYNC_CLOUD_ONLY (Results 1 – 8 of 8) sorted by relevance
19 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()
68 public static final int SYNC_CLOUD_ONLY = 2; field in PickerSyncManager71 @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()
20 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()
19 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()
20 import static com.android.providers.media.photopicker.sync.PickerSyncManager.SYNC_CLOUD_ONLY;117 if (syncSource != SYNC_LOCAL_ONLY && syncSource != SYNC_CLOUD_ONLY) { in validateWorkInput()
19 import static com.android.providers.media.photopicker.sync.PickerSyncManager.SYNC_CLOUD_ONLY;179 if (mSyncSource == SYNC_CLOUD_ONLY && mAlbumId == null) { in beginResetOperation()
19 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()
19 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()