Searched refs:executionTimeInWindowMs (Results 1 – 2 of 2) sorted by relevance
143 public long executionTimeInWindowMs; field in QuotaController.ExecutionStats201 + "executionTimeInWindow=" + executionTimeInWindowMs + ", " in toString()223 && this.executionTimeInWindowMs == other.executionTimeInWindowMs in equals()249 result = 31 * result + hashLong(executionTimeInWindowMs); in hashCode()971 return Math.min(stats.allowedTimePerPeriodMs - stats.executionTimeInWindowMs,1254 stats.executionTimeInWindowMs = 0;1273 stats.executionTimeInWindowMs =1279 if (stats.executionTimeInWindowMs >= allowedTimeIntoQuotaMs) {1351 stats.executionTimeInWindowMs += session.endTimeElapsed - start;1353 if (stats.executionTimeInWindowMs >= allowedTimeIntoQuotaMs) {[all …]
665 expectedStats.executionTimeInWindowMs = 0; in testUpdateExecutionStatsLocked_NoTimer()678 expectedStats.executionTimeInWindowMs = 2 * MINUTE_IN_MILLIS; in testUpdateExecutionStatsLocked_NoTimer()692 expectedStats.executionTimeInWindowMs = 4 * MINUTE_IN_MILLIS; in testUpdateExecutionStatsLocked_NoTimer()706 expectedStats.executionTimeInWindowMs = 4 * MINUTE_IN_MILLIS; in testUpdateExecutionStatsLocked_NoTimer()719 expectedStats.executionTimeInWindowMs = 5 * MINUTE_IN_MILLIS; in testUpdateExecutionStatsLocked_NoTimer()903 expectedStats.executionTimeInWindowMs += 10000; in testUpdateExecutionStatsLocked_WithTimer()1027 expectedStats.executionTimeInWindowMs = MINUTE_IN_MILLIS; in testGetExecutionStatsLocked_Values_BeginningOfTime()1264 expectedStats.executionTimeInWindowMs = originalStatsActive.executionTimeInWindowMs; in testGetExecutionStatsLocked_Caching()1284 expectedStats.executionTimeInWindowMs = originalStatsWorking.executionTimeInWindowMs; in testGetExecutionStatsLocked_Caching()1301 expectedStats.executionTimeInWindowMs = originalStatsFrequent.executionTimeInWindowMs; in testGetExecutionStatsLocked_Caching()[all …]