Home
last modified time | relevance | path

Searched refs:USE_HEARTBEATS (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/
DConnectivityControllerTest.java357 mConstants.USE_HEARTBEATS = true; in testEvaluateStateLocked_HeartbeatsOn()
371 mConstants.USE_HEARTBEATS = false; in testEvaluateStateLocked_JobWithoutConnectivity()
383 mConstants.USE_HEARTBEATS = false; in testEvaluateStateLocked_JobWouldBeReady()
422 mConstants.USE_HEARTBEATS = false; in testEvaluateStateLocked_JobWouldNotBeReady()
458 mConstants.USE_HEARTBEATS = false; in testReevaluateStateLocked()
DQuotaControllerTest.java137 mJsConstants.USE_HEARTBEATS = false; in setUp()
1792 mJsConstants.USE_HEARTBEATS = true; in testThrottleToggling()
1797 mJsConstants.USE_HEARTBEATS = false; in testThrottleToggling()
/frameworks/base/services/core/java/com/android/server/job/controllers/
DConnectivityController.java143 if (mConstants.USE_HEARTBEATS) { in onConstantsUpdatedLocked()
231 if (mConstants.USE_HEARTBEATS) { in evaluateStateLocked()
257 if (mConstants.USE_HEARTBEATS) { in reevaluateStateLocked()
DQuotaController.java597 mShouldThrottle = !mConstants.USE_HEARTBEATS; in QuotaController()
677 if (mShouldThrottle == mConstants.USE_HEARTBEATS) { in onConstantsUpdatedLocked()
678 mShouldThrottle = !mConstants.USE_HEARTBEATS; in onConstantsUpdatedLocked()
/frameworks/base/services/core/java/com/android/server/job/
DJobSchedulerService.java312 if (mConstants.USE_HEARTBEATS) { in updateConstants()
633 public boolean USE_HEARTBEATS = DEFAULT_USE_HEARTBEATS; field in JobSchedulerService.Constants
697 USE_HEARTBEATS = mParser.getBoolean(KEY_USE_HEARTBEATS, DEFAULT_USE_HEARTBEATS); in updateConstantsLocked()
739 pw.printPair(KEY_USE_HEARTBEATS, USE_HEARTBEATS).println(); in dump()
771 proto.write(ConstantsProto.USE_HEARTBEATS, USE_HEARTBEATS); in dump()
1408 if (mConstants.USE_HEARTBEATS) { in onBootPhase()
2152 if (!mConstants.USE_HEARTBEATS) { in advanceHeartbeatLocked()
2190 if (!mConstants.USE_HEARTBEATS) { in setNextHeartbeatAlarm()
2277 if (mConstants.USE_HEARTBEATS) { in isReadyToBeExecutedLocked()