Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/power/batterysaver/
DBatterySaverStateMachine.java477 public void setBatteryStatus(boolean newPowered, int newLevel, boolean newBatteryLevelLow) { in setBatteryStatus() argument
479 Slog.d(TAG, "setBatteryStatus: powered=" + newPowered + " level=" + newLevel in setBatteryStatus()
485 final boolean poweredChanged = mIsPowered != newPowered; in setBatteryStatus()
493 mIsPowered = newPowered; in setBatteryStatus()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/power/batterysaver/
DBatterySaverStateMachineTest.java103 public void setPowered(boolean newPowered) { in setPowered() argument
104 mPersistedState.powered = newPowered; in setPowered()