Lines Matching defs:operation

815                 Log.v(TAG, "scheduleSyncOperation: dropping duplicate sync operation "
834 void maybeRescheduleSync(SyncResult syncResult, SyncOperation operation) {
837 Log.d(TAG, "encountered error(s) during the sync: " + syncResult + ", " + operation);
840 operation = new SyncOperation(operation);
845 if (operation.extras.getBoolean(ContentResolver.SYNC_EXTRAS_IGNORE_BACKOFF, false)) {
846 operation.extras.remove(ContentResolver.SYNC_EXTRAS_IGNORE_BACKOFF);
851 // If the operation succeeded to some extent then retry immediately.
855 if (operation.extras.getBoolean(ContentResolver.SYNC_EXTRAS_DO_NOT_RETRY, false)) {
856 Log.d(TAG, "not retrying sync operation because SYNC_EXTRAS_DO_NOT_RETRY was specified "
857 + operation);
858 } else if (operation.extras.getBoolean(ContentResolver.SYNC_EXTRAS_UPLOAD, false)
860 operation.extras.remove(ContentResolver.SYNC_EXTRAS_UPLOAD);
861 Log.d(TAG, "retrying sync operation as a two-way sync because an upload-only sync "
862 + "encountered an error: " + operation);
863 scheduleSyncOperation(operation);
865 Log.d(TAG, "not retrying sync operation because it retried too many times: "
866 + operation);
869 Log.d(TAG, "retrying sync operation because even though it had an error "
872 scheduleSyncOperation(operation);
875 Log.d(TAG, "retrying sync operation that failed because there was already a "
876 + "sync in progress: " + operation);
878 scheduleSyncOperation(new SyncOperation(operation.account, operation.syncSource,
879 operation.authority, operation.extras,
881 operation.backoff, operation.delayUntil, operation.allowParallelSyncs));
884 Log.d(TAG, "retrying sync operation because it encountered a soft error: "
885 + operation);
887 scheduleSyncOperation(operation);
889 Log.d(TAG, "not retrying sync operation because the error is a hard error: "
890 + operation);
1730 * @return the desired start time of the earliest future periodic sync operation,
1743 // skip the sync if the account of this operation no longer exists
1851 Log.v(TAG, "build the operation array, syncQueue size is "
1859 // drop the sync if the account of this operation no longer exists
1916 // find the next operation to dispatch, if one is ready
2124 Log.d(TAG, "failed sync operation " + syncOperation + ", " + syncResult);
2125 // the operation failed so increase the backoff time