Searched refs:backoff (Results 1 – 5 of 5) sorted by relevance
/frameworks/ex/common/java/com/android/common/ |
D | OperationScheduler.java | 182 long backoff = options.backoffFixedMillis + in getNextTimeMillis() local 187 backoff = Math.min(backoff, options.maxMoratoriumMillis); in getNextTimeMillis() 189 time = Math.max(time, lastErrorTimeMillis + backoff); in getNextTimeMillis()
|
/frameworks/base/services/backup/java/com/android/server/backup/fullbackup/ |
D | PerformFullTransportBackupTask.java | 315 long backoff = 0; in run() local 521 backoff = transport.requestFullBackupTime(); in run() 523 Slog.i(TAG, "Transport suggested backoff=" + backoff); in run() 650 backupManagerService.scheduleNextFullBackupJob(backoff); in run()
|
/frameworks/base/services/core/java/com/android/server/content/ |
D | SyncManager.java | 1379 Pair<Long, Long> backoff = mSyncStorageEngine.getBackoff(target); in clearBackoffSetting() local 1380 if (backoff != null && backoff.first == SyncStorageEngine.NOT_IN_BACKOFF_MODE && in clearBackoffSetting() 1381 backoff.second == SyncStorageEngine.NOT_IN_BACKOFF_MODE) { in clearBackoffSetting() 1427 final long backoff = now + newDelayInMs; in increaseBackoffSetting() local 1429 Slog.v(TAG, "Backoff until: " + backoff + ", delayTime: " + newDelayInMs); in increaseBackoffSetting() 1431 mSyncStorageEngine.setBackoff(target, backoff, newDelayInMs); in increaseBackoffSetting() 1474 Pair<Long, Long> backoff = mSyncStorageEngine.getBackoff(target); in isAdapterDelayed() local 1475 if (backoff != null && backoff.first != SyncStorageEngine.NOT_IN_BACKOFF_MODE in isAdapterDelayed() 1476 && backoff.first > now) { in isAdapterDelayed() 1509 Pair<Long, Long> backoff = mSyncStorageEngine.getBackoff(syncOperation.target); in scheduleSyncOperationH() local [all …]
|
/frameworks/base/core/proto/android/server/ |
D | jobscheduler.proto | 197 // The minimum backoff time to allow for linear backoff. 199 // The minimum backoff time to allow for exponential backoff.
|
/frameworks/base/services/core/java/com/android/server/job/ |
D | JobSchedulerService.java | 1383 long backoff = initialBackoffMillis; in getRescheduleJobForFailureLocked() local 1384 if (backoff < mConstants.MIN_LINEAR_BACKOFF_TIME) { in getRescheduleJobForFailureLocked() 1385 backoff = mConstants.MIN_LINEAR_BACKOFF_TIME; in getRescheduleJobForFailureLocked() 1387 delayMillis = backoff * backoffAttempts; in getRescheduleJobForFailureLocked() 1394 long backoff = initialBackoffMillis; in getRescheduleJobForFailureLocked() local 1395 if (backoff < mConstants.MIN_EXP_BACKOFF_TIME) { in getRescheduleJobForFailureLocked() 1396 backoff = mConstants.MIN_EXP_BACKOFF_TIME; in getRescheduleJobForFailureLocked() 1398 delayMillis = (long) Math.scalb(backoff, backoffAttempts - 1); in getRescheduleJobForFailureLocked()
|