Searched refs:minPeriod (Results 1 – 3 of 3) sorted by relevance
93 int minPeriod = firstEvent.mMaxPeriod; in recalculatePeriods() local96 e.mPeriod = e.mMaxPeriod / minPeriod * minPeriod; in recalculatePeriods()99 interval = interval / minPeriod * minPeriod; in recalculatePeriods()123 int minPeriod = firstEvent.mPeriod; in insertEvent() local124 if (minPeriod <= event.mMaxPeriod) { in insertEvent()125 event.mPeriod = event.mMaxPeriod / minPeriod * minPeriod; in insertEvent()128 interval = interval / minPeriod * minPeriod; in insertEvent()
1393 final long minPeriod = getMinPeriodMillis(); in setPeriodic() local1394 if (intervalMillis < minPeriod) { in setPeriodic()1396 + mJobId + " is too small; raising to " + formatDuration(minPeriod)); in setPeriodic()1397 intervalMillis = minPeriod; in setPeriodic()
555 long minPeriod = JobInfo.getMinPeriodMillis() / 1000; in clampPeriod() local556 if (period < minPeriod) { in clampPeriod()558 + " seconds being rounded up to " + minPeriod + "s."); in clampPeriod()559 period = minPeriod; in clampPeriod()