Searched refs:syncs (Results 1 – 9 of 9) sorted by relevance
98 List<SyncInfo> syncs = new ArrayList<>(); in onInit_hasActiveSyncs_actionButtonShouldSayCancelSync() local99 syncs.add(syncInfo); in onInit_hasActiveSyncs_actionButtonShouldSayCancelSync()100 ShadowContentResolver.setCurrentSyncs(syncs); in onInit_hasActiveSyncs_actionButtonShouldSayCancelSync()175 List<SyncInfo> syncs = new ArrayList<>(); in onButtonClicked_doesHaveActiveSyncs_shouldCancelSyncForSyncableAdapters() local176 syncs.add(syncInfo); in onButtonClicked_doesHaveActiveSyncs_shouldCancelSyncForSyncableAdapters()177 ShadowContentResolver.setCurrentSyncs(syncs); in onButtonClicked_doesHaveActiveSyncs_shouldCancelSyncForSyncableAdapters()
289 List<SyncInfo> syncs = new ArrayList<>(); in refreshUi_syncEnabled_activelySyncing_summaryShouldBeSet() local290 syncs.add(syncInfo); in refreshUi_syncEnabled_activelySyncing_summaryShouldBeSet()291 ShadowContentResolver.setCurrentSyncs(syncs); in refreshUi_syncEnabled_activelySyncing_summaryShouldBeSet()327 List<SyncInfo> syncs = new ArrayList<>(); in refreshUi_activelySyncing_notInitialSync_shouldHaveActiveSyncIcon() local328 syncs.add(syncInfo); in refreshUi_activelySyncing_notInitialSync_shouldHaveActiveSyncIcon()329 ShadowContentResolver.setCurrentSyncs(syncs); in refreshUi_activelySyncing_notInitialSync_shouldHaveActiveSyncIcon()
109 public static void setCurrentSyncs(List<SyncInfo> syncs) { in setCurrentSyncs() argument110 sSyncs = syncs; in setCurrentSyncs()
173 final List<PeriodicSync> syncs = in removePeriodicSyncs() local175 for (final PeriodicSync sync : syncs) { in removePeriodicSyncs()
423 final SyncAdapterType[] syncs = ContentResolver.getSyncAdapterTypes(); in loadAccountsInBackground() local427 for (SyncAdapterType sync : syncs) { in loadAccountsInBackground()
5777 final List<PeriodicSync> syncs = in updateAccountSyncInterval() local5779 for (final PeriodicSync sync : syncs) { in updateAccountSyncInterval()