Searched refs:BatterySaverState (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/power/batterysaver/ |
D | BatterySavingStatsTest.java | 33 import com.android.server.power.batterysaver.BatterySavingStats.BatterySaverState; 130 BatterySaverState.OFF, in checkAll() 138 BatterySaverState.OFF, in checkAll() 146 BatterySaverState.OFF, in checkAll() 154 BatterySaverState.OFF, in checkAll() 162 BatterySaverState.OFF, in checkAll() 170 BatterySaverState.OFF, in checkAll() 178 BatterySaverState.OFF, in checkAll() 186 BatterySaverState.ON, in checkAll() 194 BatterySaverState.OFF, in checkAll() [all …]
|
/frameworks/base/services/core/java/com/android/server/power/batterysaver/ |
D | BatterySavingStats.java | 58 interface BatterySaverState { interface in BatterySavingStats 76 int SHIFT = BatterySaverState.SHIFT + BatterySaverState.BITS; 215 int ret = batterySaverState & BatterySaverState.MASK; in statesToIndex() 232 return "BS=" + BatterySaverState.fromIndex(state) in stateToString() 313 BatterySaverState.fromIndex(mCurrentState) != BatterySaverState.OFF; in transitionStateLocked() 315 BatterySaverState.fromIndex(newState) != BatterySaverState.OFF; in transitionStateLocked() 360 BatterySaverState.fromIndex(mCurrentState), in endLastStateLocked() 462 final Stat offStat = getStat(BatterySaverState.OFF, interactiveState, dozeState); in dumpLineLocked() 463 final Stat onStat = getStat(BatterySaverState.ON, interactiveState, dozeState); in dumpLineLocked() 484 (BatterySaverState.MASK << BatterySaverState.SHIFT) | [all …]
|
D | BatterySaverController.java | 45 import com.android.server.power.batterysaver.BatterySavingStats.BatterySaverState; 391 mEnabled ? BatterySaverState.ON : BatterySaverState.OFF, in updateBatterySavingStats()
|
/frameworks/base/services/ |
D | art-profile | 3232 Lcom/android/server/power/batterysaver/BatterySavingStats$BatterySaverState;
|