Searched refs:ALLOWED_TIME_PER_PERIOD_MS (Results 1 – 2 of 2) sorted by relevance
2059 public long ALLOWED_TIME_PER_PERIOD_MS = DEFAULT_ALLOWED_TIME_PER_PERIOD_MS; field in QuotaController.QcConstants2217 ALLOWED_TIME_PER_PERIOD_MS = mParser.getDurationMillis( in onChange()2275 Math.max(MINUTE_IN_MILLIS, ALLOWED_TIME_PER_PERIOD_MS)); in updateConstants()2400 pw.printPair(KEY_ALLOWED_TIME_PER_PERIOD_MS, ALLOWED_TIME_PER_PERIOD_MS).println(); in dump()2427 proto.write(ConstantsProto.QuotaController.ALLOWED_TIME_PER_PERIOD_MS, in dump()2428 ALLOWED_TIME_PER_PERIOD_MS); in dump()
1639 mQcConstants.ALLOWED_TIME_PER_PERIOD_MS = 10 * MINUTE_IN_MILLIS; in testMaybeScheduleStartAlarmLocked_JobCount_RateLimitingWindow()1690 mQcConstants.ALLOWED_TIME_PER_PERIOD_MS /= 2; in testMaybeScheduleStartAlarmLocked_SmallRollingQuota_UpdatedAllowedTime()1711 mQcConstants.ALLOWED_TIME_PER_PERIOD_MS /= 2; in testMaybeScheduleStartAlarmLocked_SmallRollingQuota_UpdatedEverything()1729 final long remainingTimeMs = mQcConstants.ALLOWED_TIME_PER_PERIOD_MS - contributionMs; in runTestMaybeScheduleStartAlarmLocked_SmallRollingQuota_AllowedTimeCheck()1805 mQcConstants.ALLOWED_TIME_PER_PERIOD_MS = 5 * MINUTE_IN_MILLIS; in testConstantsUpdating_ValidValues()1853 mQcConstants.ALLOWED_TIME_PER_PERIOD_MS = -MINUTE_IN_MILLIS; in testConstantsUpdating_InvalidValues()1896 mQcConstants.ALLOWED_TIME_PER_PERIOD_MS = 25 * HOUR_IN_MILLIS; in testConstantsUpdating_InvalidValues()