Home
last modified time | relevance | path

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

/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/
DQuotaController.java186 public long executionTimeInMaxPeriodMs; field in QuotaController.ExecutionStats
240 + "executionTimeInMaxPeriod=" + executionTimeInMaxPeriodMs + ", " in toString()
261 && this.executionTimeInMaxPeriodMs == other.executionTimeInMaxPeriodMs in equals()
286 result = 31 * result + hashLong(executionTimeInMaxPeriodMs); in hashCode()
724 mMaxExecutionTimeMs - stats.executionTimeInMaxPeriodMs); in getRemainingExecutionTimeLocked()
751 mMaxExecutionTimeMs - stats.executionTimeInMaxPeriodMs; in getTimeUntilQuotaConsumedLocked()
864 stats.executionTimeInMaxPeriodMs = 0; in updateExecutionStatsLocked()
881 stats.executionTimeInMaxPeriodMs = timer.getCurrentDuration(nowElapsed); in updateExecutionStatsLocked()
890 if (stats.executionTimeInMaxPeriodMs >= mMaxExecutionTimeIntoQuotaMs) { in updateExecutionStatsLocked()
957 stats.executionTimeInMaxPeriodMs += in updateExecutionStatsLocked()
[all …]
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/
DQuotaControllerTest.java480 expectedStats.executionTimeInMaxPeriodMs = 22 * MINUTE_IN_MILLIS; in testUpdateExecutionStatsLocked_NoTimer()
491 expectedStats.executionTimeInMaxPeriodMs = 22 * MINUTE_IN_MILLIS; in testUpdateExecutionStatsLocked_NoTimer()
503 expectedStats.executionTimeInMaxPeriodMs = 22 * MINUTE_IN_MILLIS; in testUpdateExecutionStatsLocked_NoTimer()
515 expectedStats.executionTimeInMaxPeriodMs = 22 * MINUTE_IN_MILLIS; in testUpdateExecutionStatsLocked_NoTimer()
526 expectedStats.executionTimeInMaxPeriodMs = 22 * MINUTE_IN_MILLIS; in testUpdateExecutionStatsLocked_NoTimer()
539 expectedStats.executionTimeInMaxPeriodMs = 22 * MINUTE_IN_MILLIS; in testUpdateExecutionStatsLocked_NoTimer()
553 expectedStats.executionTimeInMaxPeriodMs = 22 * MINUTE_IN_MILLIS; in testUpdateExecutionStatsLocked_NoTimer()
566 expectedStats.executionTimeInMaxPeriodMs = 22 * MINUTE_IN_MILLIS; in testUpdateExecutionStatsLocked_NoTimer()
581 expectedStats.executionTimeInMaxPeriodMs = 22 * MINUTE_IN_MILLIS; in testUpdateExecutionStatsLocked_NoTimer()
599 expectedStats.executionTimeInMaxPeriodMs = 23 * MINUTE_IN_MILLIS; in testUpdateExecutionStatsLocked_NoTimer()
[all …]