Searched refs:ALLOWED_TIME_PER_PERIOD_MS (Results 1 – 2 of 2) sorted by relevance
1750 mQcConstants.ALLOWED_TIME_PER_PERIOD_MS = 10 * MINUTE_IN_MILLIS; in testMaybeScheduleStartAlarmLocked_JobCount_RateLimitingWindow()1801 mQcConstants.ALLOWED_TIME_PER_PERIOD_MS /= 2; in testMaybeScheduleStartAlarmLocked_SmallRollingQuota_UpdatedAllowedTime()1822 mQcConstants.ALLOWED_TIME_PER_PERIOD_MS /= 2; in testMaybeScheduleStartAlarmLocked_SmallRollingQuota_UpdatedEverything()1840 final long remainingTimeMs = mQcConstants.ALLOWED_TIME_PER_PERIOD_MS - contributionMs; in runTestMaybeScheduleStartAlarmLocked_SmallRollingQuota_AllowedTimeCheck()1892 mQcConstants.ALLOWED_TIME_PER_PERIOD_MS = 5 * MINUTE_IN_MILLIS; in testConstantsUpdating_ValidValues()1940 mQcConstants.ALLOWED_TIME_PER_PERIOD_MS = -MINUTE_IN_MILLIS; in testConstantsUpdating_InvalidValues()1984 mQcConstants.ALLOWED_TIME_PER_PERIOD_MS = 2 * MINUTE_IN_MILLIS; in testConstantsUpdating_InvalidValues()1993 mQcConstants.ALLOWED_TIME_PER_PERIOD_MS = 25 * HOUR_IN_MILLIS; in testConstantsUpdating_InvalidValues()
2103 public long ALLOWED_TIME_PER_PERIOD_MS = DEFAULT_ALLOWED_TIME_PER_PERIOD_MS; field in QuotaController.QcConstants2283 ALLOWED_TIME_PER_PERIOD_MS = mParser.getDurationMillis( in onChange()2349 Math.max(MINUTE_IN_MILLIS, ALLOWED_TIME_PER_PERIOD_MS)); in updateConstants()2499 pw.printPair(KEY_ALLOWED_TIME_PER_PERIOD_MS, ALLOWED_TIME_PER_PERIOD_MS).println(); in dump()2530 proto.write(ConstantsProto.QuotaController.ALLOWED_TIME_PER_PERIOD_MS, in dump()2531 ALLOWED_TIME_PER_PERIOD_MS); in dump()