Home
last modified time | relevance | path

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

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/
DFlexibilityControllerTest.java35 import static com.android.server.job.controllers.FlexibilityController.FLEXIBLE_CONSTRAINTS;
221 setDeviceConfigInt(KEY_APPLIED_CONSTRAINTS, FLEXIBLE_CONSTRAINTS); in setup()
299 assertEquals(Integer.bitCount(FLEXIBLE_CONSTRAINTS), in testDefaultVariableValues()
306 setDeviceConfigInt(KEY_APPLIED_CONSTRAINTS, FLEXIBLE_CONSTRAINTS); in testAppliedConstraints()
412 setDeviceConfigInt(KEY_APPLIED_CONSTRAINTS, FLEXIBLE_CONSTRAINTS); in testOnConstantsUpdated_AppliedConstraints()
1914 setDeviceConfigInt(KEY_APPLIED_CONSTRAINTS, FLEXIBLE_CONSTRAINTS); in runTestUnsupportedDevice()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/
DFlexibilityController.java97 static final int FLEXIBLE_CONSTRAINTS = field in FlexibilityController
345 mSupportedFlexConstraints = FLEXIBLE_CONSTRAINTS; in FlexibilityController()
1460 int[] dropPercentInt = new int[Integer.bitCount(FLEXIBLE_CONSTRAINTS)]; in parsePercentToDropString()