Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/job/controllers/
DQuotaController.java2098 public long MAX_EXECUTION_TIME_MS = DEFAULT_MAX_EXECUTION_TIME_MS; field in QuotaController.QcConstants
2229 MAX_EXECUTION_TIME_MS = mParser.getDurationMillis( in onChange()
2268 Math.min(MAX_PERIOD_MS, MAX_EXECUTION_TIME_MS)); in updateConstants()
2406 pw.printPair(KEY_MAX_EXECUTION_TIME_MS, MAX_EXECUTION_TIME_MS).println(); in dump()
2437 proto.write(ConstantsProto.QuotaController.MAX_EXECUTION_TIME_MS, in dump()
2438 MAX_EXECUTION_TIME_MS); in dump()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/
DQuotaControllerTest.java1023 assertEquals(mQcConstants.MAX_EXECUTION_TIME_MS - 9 * MINUTE_IN_MILLIS, in testGetTimeUntilQuotaConsumedLocked_BucketWindow()
1700 mQcConstants.MAX_EXECUTION_TIME_MS /= 2; in testMaybeScheduleStartAlarmLocked_SmallRollingQuota_UpdatedMaxTime()
1712 mQcConstants.MAX_EXECUTION_TIME_MS /= 2; in testMaybeScheduleStartAlarmLocked_SmallRollingQuota_UpdatedEverything()
1759 final long remainingTimeMs = mQcConstants.MAX_EXECUTION_TIME_MS - contributionMs; in runTestMaybeScheduleStartAlarmLocked_SmallRollingQuota_MaxTimeCheck()
1811 mQcConstants.MAX_EXECUTION_TIME_MS = 3 * HOUR_IN_MILLIS; in testConstantsUpdating_ValidValues()
1859 mQcConstants.MAX_EXECUTION_TIME_MS = -MINUTE_IN_MILLIS; in testConstantsUpdating_InvalidValues()
1902 mQcConstants.MAX_EXECUTION_TIME_MS = 25 * HOUR_IN_MILLIS; in testConstantsUpdating_InvalidValues()