Searched refs:DozeState (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/power/batterysaver/ |
D | BatterySavingStatsTest.java | 35 import com.android.server.power.batterysaver.BatterySavingStats.DozeState; 123 DozeState.NOT_DOZING, in checkAll() 132 DozeState.NOT_DOZING, in checkAll() 141 DozeState.NOT_DOZING, in checkAll() 150 DozeState.NOT_DOZING, in checkAll() 159 DozeState.NOT_DOZING, in checkAll() 168 DozeState.LIGHT, in checkAll() 177 DozeState.DEEP, in checkAll() 186 DozeState.NOT_DOZING, in checkAll() 195 DozeState.NOT_DOZING, in checkAll() [all …]
|
/frameworks/base/services/core/java/com/android/server/power/batterysaver/ |
D | BatterySavingStats.java | 82 interface DozeState { interface in BatterySavingStats 101 int SHIFT = DozeState.SHIFT + DozeState.BITS; 214 ret |= (dozeState & DozeState.MASK) << DozeState.SHIFT; in statesToIndex() 230 + ",D=" + DozeState.fromIndex(state) in stateToString() 366 DozeState.fromIndex(mCurrentState), 462 DozeState.NOT_DOZING, "NonDoze"); 464 DozeState.NOT_DOZING, " "); 467 DozeState.DEEP, "Deep "); 469 DozeState.DEEP, " "); 472 DozeState.LIGHT, "Light "); [all …]
|
D | BatterySaverController.java | 47 import com.android.server.power.batterysaver.BatterySavingStats.DozeState; 516 pm.isDeviceIdleMode() ? DozeState.DEEP in updateBatterySavingStats() 517 : pm.isLightDeviceIdleMode() ? DozeState.LIGHT in updateBatterySavingStats() 518 : DozeState.NOT_DOZING; in updateBatterySavingStats()
|