Lines Matching defs:periodicSyncs
205 final ArrayList<Pair<Bundle, Long>> periodicSyncs;
223 periodicSyncs = new ArrayList<Pair<Bundle, Long>>();
224 for (Pair<Bundle, Long> sync : toCopy.periodicSyncs) {
226 periodicSyncs.add(Pair.create(new Bundle(sync.first), sync.second));
239 periodicSyncs = new ArrayList<Pair<Bundle, Long>>();
240 periodicSyncs.add(Pair.create(new Bundle(), DEFAULT_POLL_FREQUENCY_SECONDS));
711 // exist in the periodicSyncs array
713 for (int i = 0, N = authority.periodicSyncs.size(); i < N; i++) {
714 Pair<Bundle, Long> syncInfo = authority.periodicSyncs.get(i);
720 authority.periodicSyncs.set(i, Pair.create(extras, period));
725 // if we added an entry to the periodicSyncs array also add an entry to
728 authority.periodicSyncs.add(Pair.create(extras, period));
730 status.setPeriodicSyncTime(authority.periodicSyncs.size() - 1, 0);
736 Iterator<Pair<Bundle, Long>> iterator = authority.periodicSyncs.iterator();
743 // if we removed an entry from the periodicSyncs array also
783 for (Pair<Bundle, Long> item : authority.periodicSyncs) {
1677 authority.periodicSyncs.clear();
1713 authority.periodicSyncs.add(periodicSync);
1793 for (Pair<Bundle, Long> periodicSync : authority.periodicSyncs) {