Home
last modified time | relevance | path

Searched refs:executionTimeInMaxPeriodMs (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/core/java/com/android/server/job/controllers/
DQuotaController.java268 public long executionTimeInMaxPeriodMs; field in QuotaController.ExecutionStats
322 + "executionTimeInMaxPeriod=" + executionTimeInMaxPeriodMs + ", " in toString()
342 && this.executionTimeInMaxPeriodMs == other.executionTimeInMaxPeriodMs in equals()
367 result = 31 * result + hashLong(executionTimeInMaxPeriodMs); in hashCode()
833 mMaxExecutionTimeMs - stats.executionTimeInMaxPeriodMs); in getRemainingExecutionTimeLocked()
860 mMaxExecutionTimeMs - stats.executionTimeInMaxPeriodMs; in getTimeUntilQuotaConsumedLocked()
973 stats.executionTimeInMaxPeriodMs = 0; in updateExecutionStatsLocked()
983 stats.executionTimeInMaxPeriodMs = timer.getCurrentDuration(nowElapsed); in updateExecutionStatsLocked()
992 if (stats.executionTimeInMaxPeriodMs >= mMaxExecutionTimeIntoQuotaMs) { in updateExecutionStatsLocked()
1055 stats.executionTimeInMaxPeriodMs += in updateExecutionStatsLocked()
[all …]
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/
DQuotaControllerTest.java476 expectedStats.executionTimeInMaxPeriodMs = 22 * MINUTE_IN_MILLIS; in testUpdateExecutionStatsLocked_NoTimer()
487 expectedStats.executionTimeInMaxPeriodMs = 22 * MINUTE_IN_MILLIS; in testUpdateExecutionStatsLocked_NoTimer()
499 expectedStats.executionTimeInMaxPeriodMs = 22 * MINUTE_IN_MILLIS; in testUpdateExecutionStatsLocked_NoTimer()
511 expectedStats.executionTimeInMaxPeriodMs = 22 * MINUTE_IN_MILLIS; in testUpdateExecutionStatsLocked_NoTimer()
522 expectedStats.executionTimeInMaxPeriodMs = 22 * MINUTE_IN_MILLIS; in testUpdateExecutionStatsLocked_NoTimer()
535 expectedStats.executionTimeInMaxPeriodMs = 22 * MINUTE_IN_MILLIS; in testUpdateExecutionStatsLocked_NoTimer()
549 expectedStats.executionTimeInMaxPeriodMs = 22 * MINUTE_IN_MILLIS; in testUpdateExecutionStatsLocked_NoTimer()
562 expectedStats.executionTimeInMaxPeriodMs = 22 * MINUTE_IN_MILLIS; in testUpdateExecutionStatsLocked_NoTimer()
577 expectedStats.executionTimeInMaxPeriodMs = 22 * MINUTE_IN_MILLIS; in testUpdateExecutionStatsLocked_NoTimer()
595 expectedStats.executionTimeInMaxPeriodMs = 23 * MINUTE_IN_MILLIS; in testUpdateExecutionStatsLocked_NoTimer()
[all …]