Searched refs:getNumRequiredFlexibleConstraints (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/ |
D | FlexibilityControllerTest.java | 422 assertEquals(0, js.getNumRequiredFlexibleConstraints()); in testOnConstantsUpdated_DeadlineProximity() 1109 assertEquals(3, js.getNumRequiredFlexibleConstraints()); in testExceptions_None() 1625 assertEquals(3, jsHigh.getNumRequiredFlexibleConstraints()); in testCalculateNumDroppedConstraints() 1627 assertEquals(3, jsDefault.getNumRequiredFlexibleConstraints()); in testCalculateNumDroppedConstraints() 1629 assertEquals(3, jsLow.getNumRequiredFlexibleConstraints()); in testCalculateNumDroppedConstraints() 1631 assertEquals(3, jsMin.getNumRequiredFlexibleConstraints()); in testCalculateNumDroppedConstraints() 1649 assertEquals(2, jsHigh.getNumRequiredFlexibleConstraints()); in testCalculateNumDroppedConstraints() 1651 assertEquals(3, jsDefault.getNumRequiredFlexibleConstraints()); in testCalculateNumDroppedConstraints() 1653 assertEquals(3, jsLow.getNumRequiredFlexibleConstraints()); in testCalculateNumDroppedConstraints() 1655 assertEquals(3, jsMin.getNumRequiredFlexibleConstraints()); in testCalculateNumDroppedConstraints() [all …]
|
D | JobStatusTest.java | 275 assertEquals(1, js.getNumRequiredFlexibleConstraints()); in testFlexibleConstraintCounts()
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/ |
D | FlexibilityController.java | 526 if (numSatisfied >= js.getNumRequiredFlexibleConstraints()) { in hasEnoughSatisfiedConstraintsLocked() 853 if (js.getNumRequiredFlexibleConstraints() < 0) { in add() 856 mTrackedJobs.get(js.getNumRequiredFlexibleConstraints()).add(js); in add() 861 mTrackedJobs.get(js.getNumRequiredFlexibleConstraints()).remove(js); in remove() 868 final int prevNumRequired = js.getNumRequiredFlexibleConstraints(); in updateFlexibleConstraints() 885 if (prevNumRequired == js.getNumRequiredFlexibleConstraints()) { in updateFlexibleConstraints() 942 pw.print(js.getNumRequiredFlexibleConstraints()); in dump() 998 + " numRequired: " + js.getNumRequiredFlexibleConstraints() in scheduleDropNumConstraintsAlarm() 1043 if (js.getNumRequiredFlexibleConstraints() > 0) { in processExpiredAlarms()
|
D | JobStatus.java | 1610 public int getNumRequiredFlexibleConstraints() { in getNumRequiredFlexibleConstraints() method in JobStatus 2844 pw.print(getNumRequiredFlexibleConstraints()); in dump()
|
/frameworks/base/services/ |
D | art-wear-profile | 13288 HPLcom/android/server/job/controllers/JobStatus;->getNumRequiredFlexibleConstraints()I
|