Home
last modified time | relevance | path

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

/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/
H A DFlexibilityControllerTest.java247 .setOverrideDeadline(MIN_WINDOW_FOR_FLEXIBILITY_MS); in testOnConstantsUpdated_PercentsToDropConstraints()
249 assertEquals(FROZEN_TIME + MIN_WINDOW_FOR_FLEXIBILITY_MS / 10 * 5, in testOnConstantsUpdated_PercentsToDropConstraints()
255 assertEquals(FROZEN_TIME + MIN_WINDOW_FOR_FLEXIBILITY_MS / 10, in testOnConstantsUpdated_PercentsToDropConstraints()
258 assertEquals(FROZEN_TIME + MIN_WINDOW_FOR_FLEXIBILITY_MS / 10 * 2, in testOnConstantsUpdated_PercentsToDropConstraints()
261 assertEquals(FROZEN_TIME + MIN_WINDOW_FOR_FLEXIBILITY_MS / 10 * 3, in testOnConstantsUpdated_PercentsToDropConstraints()
297 assertEquals(FROZEN_TIME + MIN_WINDOW_FOR_FLEXIBILITY_MS / 10 * 5, in testGetNextConstraintDropTimeElapsedLocked()
302 assertEquals(FROZEN_TIME + MIN_WINDOW_FOR_FLEXIBILITY_MS / 10 * 6, in testGetNextConstraintDropTimeElapsedLocked()
307 assertEquals(FROZEN_TIME + MIN_WINDOW_FOR_FLEXIBILITY_MS / 10 * 7, in testGetNextConstraintDropTimeElapsedLocked()
344 .setOverrideDeadline(2 * MIN_WINDOW_FOR_FLEXIBILITY_MS) in testGetNextConstraintDropTimeElapsedLocked()
345 .setMinimumLatency(MIN_WINDOW_FOR_FLEXIBILITY_MS); in testGetNextConstraintDropTimeElapsedLocked()
[all …]
/aosp14/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/
H A DJobStatus.java405 static final long MIN_WINDOW_FOR_FLEXIBILITY_MS = HOUR_IN_MILLIS; field in JobStatus
671 >= MIN_WINDOW_FOR_FLEXIBILITY_MS; in JobStatus()