Lines Matching defs:sync

43  * This class manages message sync with the Telephony SmsProvider/MmsProvider.
86 * Timestamp of in progress sync - used to keep track of whether sync is running
91 * Timestamp of current sync batch upper bound - used to determine if message makes batch dirty
96 * Timestamp of messages inserted since sync batch started - used to determine if batch dirty
104 * a full sync.
109 * Start an incremental sync (backed off a few seconds)
111 public static void sync() {
112 SyncMessagesAction.sync();
116 * Start an incremental sync (with no backoff)
123 * Start a full sync (for debugging)
130 * Called from data model thread when starting a sync batch
131 * @param upperBoundTimestamp upper bound timestamp for sync batch
141 * @param lowerBoundTimestamp lower bound timestamp for sync batch
169 // Message insert in current sync window
173 + "current sync batch " + mCurrentUpperBoundTimestamp);
177 + "current sync batch " + mCurrentUpperBoundTimestamp);
182 * Synchronously checks whether sync is allowed and starts sync if allowed
183 * @param full - true indicates a full (not incremental) sync operation
184 * @param startTimestamp - starttimestamp for this sync (if allowed)
185 * @return - true if sync should start
197 LogUtil.d(TAG, "SyncManager: Full sync requested for " + startTimestamp
207 + "sync yet; still running sync started at " + mSyncInProgressTimestamp);
212 LogUtil.d(TAG, "SyncManager: Starting " + (full ? "full " : "") + "sync at "
222 * Return delay (in ms) until allowed to run a full sync (0 meaning can run immediately)
223 * @param startTimestamp Timestamp used to start the sync
245 * Check if sync currently in progress (public for asserts/logging).
252 * Check if sync batch should be in progress - compares upperBound with in memory value
253 * @param upperBoundTimestamp - upperbound timestamp for sync batch
262 * Check if sync has completed for the first time.
272 * Called once sync is complete
289 * Register content observer when necessary and kick off a catch up sync
293 // Trigger an sms sync in case we missed and messages before registering this observer or
364 // If sync is already running this will do nothing - but at end of each sync