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; 119 BatterySaverState.OFF, in checkAll() 127 BatterySaverState.OFF, in checkAll() 135 BatterySaverState.OFF, in checkAll() 143 BatterySaverState.OFF, in checkAll() 151 BatterySaverState.OFF, in checkAll() 159 BatterySaverState.OFF, in checkAll() 167 BatterySaverState.OFF, in checkAll() 175 BatterySaverState.ON, in checkAll() 183 BatterySaverState.OFF, in checkAll() [all …]
|
/frameworks/base/services/core/java/com/android/server/power/batterysaver/ |
D | BatterySavingStats.java | 53 interface BatterySaverState { interface in BatterySavingStats 72 int SHIFT = BatterySaverState.SHIFT + BatterySaverState.BITS; 193 int ret = batterySaverState & BatterySaverState.MASK; in statesToIndex() 210 return "BS=" + BatterySaverState.fromIndex(state) in stateToString() 291 BatterySaverState.fromIndex(mCurrentState) != BatterySaverState.OFF; in transitionStateLocked() 293 BatterySaverState.fromIndex(newState) != BatterySaverState.OFF; in transitionStateLocked() 337 BatterySaverState.fromIndex(mCurrentState), in endLastStateLocked() 439 final Stat offStat = getStat(BatterySaverState.OFF, interactiveState, dozeState); in dumpLineLocked() 440 final Stat onStat = getStat(BatterySaverState.ON, interactiveState, dozeState); in dumpLineLocked()
|
D | BatterySaverController.java | 47 import com.android.server.power.batterysaver.BatterySavingStats.BatterySaverState; 520 mFullEnabled ? BatterySaverState.ON : in updateBatterySavingStats() 521 (mAdaptiveEnabled ? BatterySaverState.ADAPTIVE : BatterySaverState.OFF), in updateBatterySavingStats()
|
/frameworks/base/services/ |
D | art-profile | 20147 Lcom/android/server/power/batterysaver/BatterySavingStats$BatterySaverState;
|