Home
last modified time | relevance | path

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

/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/
DFlexibilityController.java162 int mSatisfiedFlexibleConstraints; field in FlexibilityController
522 final int satisfiedConstraints = mSatisfiedFlexibleConstraints & mAppliedConstraints in hasEnoughSatisfiedConstraintsLocked()
573 final boolean old = (mSatisfiedFlexibleConstraints & constraint) != 0; in setConstraintSatisfied()
584 mLastSeenConstraintTimesElapsed.put(mSatisfiedFlexibleConstraints, nowElapsed); in setConstraintSatisfied()
591 mSatisfiedFlexibleConstraints = in setConstraintSatisfied()
592 (mSatisfiedFlexibleConstraints & ~constraint) | (state ? constraint : 0); in setConstraintSatisfied()
614 return (mSatisfiedFlexibleConstraints & constraint) != 0; in isConstraintSatisfied()
1000 mSatisfiedFlexibleConstraints & getRelevantAppliedConstraintsLocked(js)) in scheduleDropNumConstraintsAlarm()
1972 JobStatus.dumpConstraints(pw, mSatisfiedFlexibleConstraints); in dumpControllerStateLocked()
1981 if (constraints == mSatisfiedFlexibleConstraints) { in dumpControllerStateLocked()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/
DFlexibilityControllerTest.java1450 assertEquals(0, mFlexibilityController.mSatisfiedFlexibleConstraints); in testSetConstraintSatisfied_Jobs()
1461 assertEquals(constraints, mFlexibilityController.mSatisfiedFlexibleConstraints); in testSetConstraintSatisfied_Jobs()