Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/usage/
DAppStandbyControllerTests.java262 private void setChargingState(AppStandbyController controller, boolean charging) { in setChargingState() method in AppStandbyControllerTests
265 controller.setChargingState(charging); in setChargingState()
278 setChargingState(controller, false); in setupController()
299 setChargingState(mController, false); in setUp()
357 setChargingState(mController, true); in testCharging()
369 setChargingState(mController, false); in testCharging()
380 setChargingState(mController, true); in testCharging()
381 setChargingState(mController, false); in testCharging()
390 setChargingState(mController, true); in testCharging()
656 setChargingState(mController, false); in testSystemInteractionTimeout()
/frameworks/base/services/usage/java/com/android/server/usage/
DAppStandbyController.java375 setChargingState(mInjector.isCharging()); in onBootPhase()
457 void setChargingState(boolean charging) { in setChargingState() method in AppStandbyController
1691 setChargingState(true); in onReceive()
1694 setChargingState(false); in onReceive()