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.java322 long backoff = 0; in run() local
529 backoff = transport.requestFullBackupTime(); in run()
531 Slog.i(TAG, "Transport suggested backoff=" + backoff); in run()
659 mUserBackupManagerService.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.java1352 Pair<Long, Long> backoff = mSyncStorageEngine.getBackoff(target); in clearBackoffSetting() local
1353 if (backoff != null && backoff.first == SyncStorageEngine.NOT_IN_BACKOFF_MODE && in clearBackoffSetting()
1354 backoff.second == SyncStorageEngine.NOT_IN_BACKOFF_MODE) { in clearBackoffSetting()
1400 final long backoff = now + newDelayInMs; in increaseBackoffSetting() local
1402 Slog.v(TAG, "Backoff until: " + backoff + ", delayTime: " + newDelayInMs); in increaseBackoffSetting()
1404 mSyncStorageEngine.setBackoff(target, backoff, newDelayInMs); in increaseBackoffSetting()
1447 Pair<Long, Long> backoff = mSyncStorageEngine.getBackoff(target); in isAdapterDelayed() local
1448 if (backoff != null && backoff.first != SyncStorageEngine.NOT_IN_BACKOFF_MODE in isAdapterDelayed()
1449 && backoff.first > now) { in isAdapterDelayed()
1482 Pair<Long, Long> backoff = mSyncStorageEngine.getBackoff(syncOperation.target); in scheduleSyncOperationH() local
[all …]
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/
DJobSchedulerService.java1692 long backoff = initialBackoffMillis;
1693 if (backoff < mConstants.MIN_LINEAR_BACKOFF_TIME) {
1694 backoff = mConstants.MIN_LINEAR_BACKOFF_TIME;
1696 delayMillis = backoff * backoffAttempts;
1703 long backoff = initialBackoffMillis;
1704 if (backoff < mConstants.MIN_EXP_BACKOFF_TIME) {
1705 backoff = mConstants.MIN_EXP_BACKOFF_TIME;
1707 delayMillis = (long) Math.scalb(backoff, backoffAttempts - 1);
/frameworks/base/core/proto/android/server/
Djobscheduler.proto207 // The minimum backoff time to allow for linear backoff.
209 // The minimum backoff time to allow for exponential backoff.