Home
last modified time | relevance | path

Searched refs:maxMoratoriumMillis (Results 1 – 2 of 2) sorted by relevance

/frameworks/ex/common/java/com/android/common/
DOperationScheduler.java48 public long maxMoratoriumMillis = 24 * 3600 * 1000; field in OperationScheduler.Options
63 maxMoratoriumMillis / 1000.0, minTriggerMillis / 1000.0, in toString()
69 maxMoratoriumMillis / 1000.0, minTriggerMillis / 1000.0, in toString()
125 options.maxMoratoriumMillis = parseSeconds(param.substring(4)); in parseOptions()
168 moratoriumSetMillis + options.maxMoratoriumMillis); in getNextTimeMillis()
187 backoff = Math.min(backoff, options.maxMoratoriumMillis); in getNextTimeMillis()
/frameworks/ex/common/tests/src/com/android/common/
DOperationSchedulerTest.java170 options.maxMoratoriumMillis = 24 * 3600 * 1000; in testExponentialBackoffBoundedByMoratorium()
178 nextTime < timeAfterOperation + options.maxMoratoriumMillis); in testExponentialBackoffBoundedByMoratorium()
225 options.maxMoratoriumMillis = Long.MAX_VALUE / 2; in testMoratoriumWithHttpDate()