Searched refs:executionTimeInWindowMs (Results 1 – 2 of 2) sorted by relevance
690 expectedStats.executionTimeInWindowMs = 0; in testUpdateExecutionStatsLocked_NoTimer()703 expectedStats.executionTimeInWindowMs = 2 * MINUTE_IN_MILLIS; in testUpdateExecutionStatsLocked_NoTimer()717 expectedStats.executionTimeInWindowMs = 4 * MINUTE_IN_MILLIS; in testUpdateExecutionStatsLocked_NoTimer()731 expectedStats.executionTimeInWindowMs = 4 * MINUTE_IN_MILLIS; in testUpdateExecutionStatsLocked_NoTimer()744 expectedStats.executionTimeInWindowMs = 5 * MINUTE_IN_MILLIS; in testUpdateExecutionStatsLocked_NoTimer()759 expectedStats.executionTimeInWindowMs = 6 * MINUTE_IN_MILLIS; in testUpdateExecutionStatsLocked_NoTimer()775 expectedStats.executionTimeInWindowMs = 11 * MINUTE_IN_MILLIS; in testUpdateExecutionStatsLocked_NoTimer()790 expectedStats.executionTimeInWindowMs = 12 * MINUTE_IN_MILLIS; in testUpdateExecutionStatsLocked_NoTimer()807 expectedStats.executionTimeInWindowMs = 22 * MINUTE_IN_MILLIS; in testUpdateExecutionStatsLocked_NoTimer()827 expectedStats.executionTimeInWindowMs = 22 * MINUTE_IN_MILLIS; in testUpdateExecutionStatsLocked_NoTimer()[all …]
184 public long executionTimeInWindowMs; field in QuotaController.ExecutionStats242 + "executionTimeInWindow=" + executionTimeInWindowMs + ", " in toString()264 && this.executionTimeInWindowMs == other.executionTimeInWindowMs in equals()290 result = 31 * result + hashLong(executionTimeInWindowMs); in hashCode()1063 return Math.min(stats.allowedTimePerPeriodMs - stats.executionTimeInWindowMs, in getRemainingExecutionTimeLocked()1164 final long allowedTimeRemainingMs = allowedTimePerPeriodMs - stats.executionTimeInWindowMs; in getTimeUntilQuotaConsumedLocked()1337 stats.executionTimeInWindowMs = 0; in updateExecutionStatsLocked()1356 stats.executionTimeInWindowMs = in updateExecutionStatsLocked()1362 if (stats.executionTimeInWindowMs >= allowedTimeIntoQuotaMs) { in updateExecutionStatsLocked()1408 stats.executionTimeInWindowMs += session.endTimeElapsed - start; in updateExecutionStatsLocked()[all …]