Lines Matching defs:operation

1034         //       operation in the specified window
1121 Log.v(TAG, "scheduleSyncOperation: dropping duplicate sync operation "
1156 void maybeRescheduleSync(SyncResult syncResult, SyncOperation operation) {
1159 Log.d(TAG, "encountered error(s) during the sync: " + syncResult + ", " + operation);
1162 operation = new SyncOperation(operation, 0L /* newRunTimeFromNow */);
1167 if (operation.extras.getBoolean(ContentResolver.SYNC_EXTRAS_IGNORE_BACKOFF, false)) {
1168 operation.extras.remove(ContentResolver.SYNC_EXTRAS_IGNORE_BACKOFF);
1171 if (operation.extras.getBoolean(ContentResolver.SYNC_EXTRAS_DO_NOT_RETRY, false)) {
1173 Log.d(TAG, "not retrying sync operation because SYNC_EXTRAS_DO_NOT_RETRY was specified "
1174 + operation);
1176 } else if (operation.extras.getBoolean(ContentResolver.SYNC_EXTRAS_UPLOAD, false)
1179 operation.extras.remove(ContentResolver.SYNC_EXTRAS_UPLOAD);
1181 Log.d(TAG, "retrying sync operation as a two-way sync because an upload-only sync "
1182 + "encountered an error: " + operation);
1184 scheduleSyncOperation(operation);
1189 Log.d(TAG, "not retrying sync operation because it retried too many times: "
1190 + operation);
1193 // If the operation succeeded to some extent then retry immediately.
1195 Log.d(TAG, "retrying sync operation because even though it had an error "
1198 scheduleSyncOperation(operation);
1201 Log.d(TAG, "retrying sync operation that failed because there was already a "
1202 + "sync in progress: " + operation);
1206 operation,
1212 Log.d(TAG, "retrying sync operation because it encountered a soft error: "
1213 + operation);
1215 scheduleSyncOperation(operation);
1218 Log.d(TAG, "not retrying sync operation because the error is a hard error: "
1219 + operation);
1279 // and unmark. And clear backoff for the operation.
2140 private PowerManager.WakeLock getSyncWakeLock(SyncOperation operation) {
2141 final String wakeLockKey = operation.wakeLockName();
2357 // skip the sync if the account of this operation no longer exists
2369 Log.v(TAG, " Not scheduling periodic operation: sync turned off.");
2376 Log.v(TAG, " Not scheduling periodic operation: isSyncable == 0.");
2383 Log.v(TAG, " Not scheduling periodic operation: isEnabled == 0.");
2393 * @return the desired start time of the earliest future periodic sync operation,
2582 Log.v(TAG, "build the operation array, syncQueue size is "
2618 Log.v(TAG, " Not running sync operation: Sync too far in future."
2649 // find the next operation to dispatch, if one is ready
2793 * @param op operation for which the sync is to be scheduled.
2802 // Drop the sync if the account of this operation no longer exists.
2806 Log.v(TAG, " Dropping sync operation: account doesn't exist.");
2814 Log.v(TAG, " Dropping sync operation: isSyncable == 0.");
2829 Log.v(TAG, " Dropping sync operation: No sync adapter registered"
2840 Log.v(TAG, " Dropping sync operation: isActive == 0.");
2851 Log.v(TAG, " Dropping sync operation: No service registered for: "
2872 Log.v(TAG, " Dropping sync operation: disallowed by settings/network.");
2882 Log.v(TAG, " Dropping sync operation: disallowed by settings/network.");
2890 Log.v(TAG, " Dropping sync operation: not allowed on metered network.");
3055 Log.d(TAG, "failed sync operation " + syncOperation + ", " + syncResult);
3056 // the operation failed so increase the backoff time