Home
last modified time | relevance | path

Searched refs:backoff (Results 1 – 6 of 6) sorted by relevance

/frameworks/ex/common/java/com/android/common/
DOperationScheduler.java182 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/
DPerformFullTransportBackupTask.java319 long backoff = 0; in run() local
525 backoff = transport.requestFullBackupTime(); in run()
527 Slog.i(TAG, "Transport suggested backoff=" + backoff); in run()
653 backupManagerService.scheduleNextFullBackupJob(backoff); in run()
/frameworks/base/services/core/java/com/android/server/am/
DBroadcastDispatcher.java55 Deferrals(int uid, long now, long backoff, int count) { in Deferrals() argument
58 this.deferredBy = backoff; in Deferrals()
59 this.deferUntil = now + backoff; in Deferrals()
/frameworks/base/services/core/java/com/android/server/content/
DSyncManager.java1349 Pair<Long, Long> backoff = mSyncStorageEngine.getBackoff(target); in clearBackoffSetting() local
1350 if (backoff != null && backoff.first == SyncStorageEngine.NOT_IN_BACKOFF_MODE && in clearBackoffSetting()
1351 backoff.second == SyncStorageEngine.NOT_IN_BACKOFF_MODE) { in clearBackoffSetting()
1397 final long backoff = now + newDelayInMs; in increaseBackoffSetting() local
1399 Slog.v(TAG, "Backoff until: " + backoff + ", delayTime: " + newDelayInMs); in increaseBackoffSetting()
1401 mSyncStorageEngine.setBackoff(target, backoff, newDelayInMs); in increaseBackoffSetting()
1444 Pair<Long, Long> backoff = mSyncStorageEngine.getBackoff(target); in isAdapterDelayed() local
1445 if (backoff != null && backoff.first != SyncStorageEngine.NOT_IN_BACKOFF_MODE in isAdapterDelayed()
1446 && backoff.first > now) { in isAdapterDelayed()
1479 Pair<Long, Long> backoff = mSyncStorageEngine.getBackoff(syncOperation.target); in scheduleSyncOperationH() local
[all …]
/frameworks/base/services/core/java/com/android/server/job/
DJobSchedulerService.java1594 long backoff = initialBackoffMillis; in getRescheduleJobForFailureLocked() local
1595 if (backoff < mConstants.MIN_LINEAR_BACKOFF_TIME) { in getRescheduleJobForFailureLocked()
1596 backoff = mConstants.MIN_LINEAR_BACKOFF_TIME; in getRescheduleJobForFailureLocked()
1598 delayMillis = backoff * backoffAttempts; in getRescheduleJobForFailureLocked()
1605 long backoff = initialBackoffMillis; in getRescheduleJobForFailureLocked() local
1606 if (backoff < mConstants.MIN_EXP_BACKOFF_TIME) { in getRescheduleJobForFailureLocked()
1607 backoff = mConstants.MIN_EXP_BACKOFF_TIME; in getRescheduleJobForFailureLocked()
1609 delayMillis = (long) Math.scalb(backoff, backoffAttempts - 1); in getRescheduleJobForFailureLocked()
/frameworks/base/core/proto/android/server/
Djobscheduler.proto204 // The minimum backoff time to allow for linear backoff.
206 // The minimum backoff time to allow for exponential backoff.