Searched refs:executionTimeInWindowMs (Results 1 – 2 of 2) sorted by relevance
474 expectedStats.executionTimeInWindowMs = 0; in testUpdateExecutionStatsLocked_NoTimer()485 expectedStats.executionTimeInWindowMs = 2 * MINUTE_IN_MILLIS; in testUpdateExecutionStatsLocked_NoTimer()497 expectedStats.executionTimeInWindowMs = 4 * MINUTE_IN_MILLIS; in testUpdateExecutionStatsLocked_NoTimer()509 expectedStats.executionTimeInWindowMs = 4 * MINUTE_IN_MILLIS; in testUpdateExecutionStatsLocked_NoTimer()520 expectedStats.executionTimeInWindowMs = 5 * MINUTE_IN_MILLIS; in testUpdateExecutionStatsLocked_NoTimer()533 expectedStats.executionTimeInWindowMs = 6 * MINUTE_IN_MILLIS; in testUpdateExecutionStatsLocked_NoTimer()547 expectedStats.executionTimeInWindowMs = 11 * MINUTE_IN_MILLIS; in testUpdateExecutionStatsLocked_NoTimer()560 expectedStats.executionTimeInWindowMs = 12 * MINUTE_IN_MILLIS; in testUpdateExecutionStatsLocked_NoTimer()575 expectedStats.executionTimeInWindowMs = 22 * MINUTE_IN_MILLIS; in testUpdateExecutionStatsLocked_NoTimer()593 expectedStats.executionTimeInWindowMs = 22 * MINUTE_IN_MILLIS; in testUpdateExecutionStatsLocked_NoTimer()[all …]
264 public long executionTimeInWindowMs; field in QuotaController.ExecutionStats320 + "executionTimeInWindow=" + executionTimeInWindowMs + ", " in toString()340 && this.executionTimeInWindowMs == other.executionTimeInWindowMs in equals()365 result = 31 * result + hashLong(executionTimeInWindowMs); in hashCode()832 return Math.min(mAllowedTimePerPeriodMs - stats.executionTimeInWindowMs, in getRemainingExecutionTimeLocked()858 final long allowedTimeRemainingMs = mAllowedTimePerPeriodMs - stats.executionTimeInWindowMs; in getTimeUntilQuotaConsumedLocked()971 stats.executionTimeInWindowMs = 0; in updateExecutionStatsLocked()982 stats.executionTimeInWindowMs = in updateExecutionStatsLocked()988 if (stats.executionTimeInWindowMs >= mAllowedTimeIntoQuotaMs) { in updateExecutionStatsLocked()1029 stats.executionTimeInWindowMs += session.endTimeElapsed - start; in updateExecutionStatsLocked()[all …]