Home
last modified time | relevance | path

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

/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/
DQuotaController.java2149 public long MAX_EXECUTION_TIME_MS = DEFAULT_MAX_EXECUTION_TIME_MS; field in QuotaController.QcConstants
2297 MAX_EXECUTION_TIME_MS = mParser.getDurationMillis( in onChange()
2342 Math.min(MAX_PERIOD_MS, MAX_EXECUTION_TIME_MS)); in updateConstants()
2506 pw.printPair(KEY_MAX_EXECUTION_TIME_MS, MAX_EXECUTION_TIME_MS).println(); in dump()
2542 proto.write(ConstantsProto.QuotaController.MAX_EXECUTION_TIME_MS, in dump()
2543 MAX_EXECUTION_TIME_MS); in dump()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/
DQuotaControllerTest.java1131 assertEquals(mQcConstants.MAX_EXECUTION_TIME_MS - 9 * MINUTE_IN_MILLIS, in testGetTimeUntilQuotaConsumedLocked_BucketWindow()
1811 mQcConstants.MAX_EXECUTION_TIME_MS /= 2; in testMaybeScheduleStartAlarmLocked_SmallRollingQuota_UpdatedMaxTime()
1823 mQcConstants.MAX_EXECUTION_TIME_MS /= 2; in testMaybeScheduleStartAlarmLocked_SmallRollingQuota_UpdatedEverything()
1870 final long remainingTimeMs = mQcConstants.MAX_EXECUTION_TIME_MS - contributionMs; in runTestMaybeScheduleStartAlarmLocked_SmallRollingQuota_MaxTimeCheck()
1898 mQcConstants.MAX_EXECUTION_TIME_MS = 3 * HOUR_IN_MILLIS; in testConstantsUpdating_ValidValues()
1946 mQcConstants.MAX_EXECUTION_TIME_MS = -MINUTE_IN_MILLIS; in testConstantsUpdating_InvalidValues()
1999 mQcConstants.MAX_EXECUTION_TIME_MS = 25 * HOUR_IN_MILLIS; in testConstantsUpdating_InvalidValues()