Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/usage/
DAppStandbyControllerTests.java275 private void setChargingState(AppStandbyController controller, boolean charging) { in setChargingState() method in AppStandbyControllerTests
278 controller.setChargingState(charging); in setChargingState()
298 setChargingState(controller, false); in setupController()
319 setChargingState(mController, false); in setUp()
390 setChargingState(mController, true); in testCharging()
402 setChargingState(mController, false); in testCharging()
413 setChargingState(mController, true); in testCharging()
414 setChargingState(mController, false); in testCharging()
423 setChargingState(mController, true); in testCharging()
440 setChargingState(mController, false); in testEnabledState()
[all …]
/frameworks/base/services/usage/java/com/android/server/usage/
DAppStandbyController.java399 setChargingState(mInjector.isCharging()); in onBootPhase()
500 void setChargingState(boolean charging) { in setChargingState() method in AppStandbyController
1793 setChargingState(true); in onReceive()
1796 setChargingState(false); in onReceive()
/frameworks/base/services/
Dart-profile13670 HSPLcom/android/server/usage/AppStandbyController;->setChargingState(Z)V