Searched refs:syncs (Results 1 – 7 of 7) sorted by relevance
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()
379 ArrayList<SyncRunnable> syncs = new ArrayList<>(size); in completeAllHandlerThreadTasks() local394 syncs.add(sr); in completeAllHandlerThreadTasks()397 for (int i = 0; i < syncs.size(); i++) { in completeAllHandlerThreadTasks()398 syncs.get(i).waitForComplete(SYNC_RUNNABLE_MAX_WAIT_TIME); in completeAllHandlerThreadTasks()
423 final SyncAdapterType[] syncs = ContentResolver.getSyncAdapterTypes(); in loadAccountsInBackground() local427 for (SyncAdapterType sync : syncs) { in loadAccountsInBackground()