Searched refs:SYNC_LOCAL_AND_CLOUD (Results 1 – 7 of 7) sorted by relevance
20 import static com.android.providers.media.photopicker.sync.PickerSyncManager.SYNC_LOCAL_AND_CLOUD;122 if (syncSource == SYNC_LOCAL_ONLY || syncSource == SYNC_LOCAL_AND_CLOUD) { in trackNewSyncRequests()125 if (syncSource == SYNC_CLOUD_ONLY || syncSource == SYNC_LOCAL_AND_CLOUD) { in trackNewSyncRequests()137 if (syncSource == SYNC_LOCAL_ONLY || syncSource == SYNC_LOCAL_AND_CLOUD) { in trackNewAlbumMediaSyncRequests()140 if (syncSource == SYNC_CLOUD_ONLY || syncSource == SYNC_LOCAL_AND_CLOUD) { in trackNewAlbumMediaSyncRequests()151 if (syncSource == SYNC_LOCAL_ONLY || syncSource == SYNC_LOCAL_AND_CLOUD) { in markSyncAsComplete()154 if (syncSource == SYNC_CLOUD_ONLY || syncSource == SYNC_LOCAL_AND_CLOUD) { in markSyncAsComplete()165 if (syncSource == SYNC_LOCAL_ONLY || syncSource == SYNC_LOCAL_AND_CLOUD) { in markAlbumMediaSyncAsComplete()168 if (syncSource == SYNC_CLOUD_ONLY || syncSource == SYNC_LOCAL_AND_CLOUD) { in markAlbumMediaSyncAsComplete()
20 import static com.android.providers.media.photopicker.sync.PickerSyncManager.SYNC_LOCAL_AND_CLOUD;74 SYNC_LOCAL_AND_CLOUD); in doWork()81 if (syncSource == SYNC_LOCAL_AND_CLOUD || syncSource == SYNC_LOCAL_ONLY) { in doWork()93 if (syncSource == SYNC_LOCAL_AND_CLOUD || syncSource == SYNC_CLOUD_ONLY) { in doWork()135 .getInt(SYNC_WORKER_INPUT_SYNC_SOURCE, /* defaultValue */ SYNC_LOCAL_AND_CLOUD); in onStopped()
21 import static com.android.providers.media.photopicker.sync.PickerSyncManager.SYNC_LOCAL_AND_CLOUD;80 if (syncSource == SYNC_LOCAL_AND_CLOUD || syncSource == SYNC_LOCAL_ONLY) { in doWork()87 if (syncSource == SYNC_LOCAL_AND_CLOUD || syncSource == SYNC_CLOUD_ONLY) { in doWork()124 .getInt(SYNC_WORKER_INPUT_SYNC_SOURCE, /* defaultValue */ SYNC_LOCAL_AND_CLOUD); in onStopped()
69 public static final int SYNC_LOCAL_AND_CLOUD = 3; field in PickerSyncManager71 @IntDef(value = { SYNC_LOCAL_ONLY, SYNC_CLOUD_ONLY, SYNC_LOCAL_AND_CLOUD })184 new Data(Map.of(SYNC_WORKER_INPUT_SYNC_SOURCE, SYNC_LOCAL_AND_CLOUD)); in schedulePeriodicSyncs()211 SYNC_LOCAL_AND_CLOUD, in schedulePeriodicAlbumReset()241 final int syncSource = localOnly ? SYNC_LOCAL_ONLY : SYNC_LOCAL_AND_CLOUD; in syncMediaProactively()
20 import static com.android.providers.media.photopicker.sync.PickerSyncManager.SYNC_LOCAL_AND_CLOUD;92 return new Data(Map.of(SYNC_WORKER_INPUT_SYNC_SOURCE, SYNC_LOCAL_AND_CLOUD)); in getLocalAndCloudSyncInputData()97 return new Data(Map.of(SYNC_WORKER_INPUT_SYNC_SOURCE, SYNC_LOCAL_AND_CLOUD, in getLocalAndCloudAlbumSyncInputData()
20 import static com.android.providers.media.photopicker.sync.PickerSyncManager.SYNC_LOCAL_AND_CLOUD;132 .isEqualTo(SYNC_LOCAL_AND_CLOUD); in testSchedulePeriodicSyncs()145 .isEqualTo(SYNC_LOCAL_AND_CLOUD); in testSchedulePeriodicSyncs()184 .isEqualTo(SYNC_LOCAL_AND_CLOUD); in testPeriodicWorkIsScheduledOnDeviceConfigChanges()197 .isEqualTo(SYNC_LOCAL_AND_CLOUD); in testPeriodicWorkIsScheduledOnDeviceConfigChanges()253 .isEqualTo(SYNC_LOCAL_AND_CLOUD); in testAdhocProactiveSync()
19 import static com.android.providers.media.photopicker.sync.PickerSyncManager.SYNC_LOCAL_AND_CLOUD;240 SYNC_LOCAL_AND_CLOUD)); in testResetAllAlbumMedia()287 SYNC_LOCAL_AND_CLOUD)); in testPeriodicWorkerAlbumReset_WithCloudProvider()337 SYNC_LOCAL_AND_CLOUD)); in testPeriodicWorkerAlbumReset_WithLocalProvider()