Searched refs:unplugged (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/core/proto/android/os/ |
D | powermanager.proto | 64 // when the dream ends, or when unplugged. User activity may brighten
|
D | batterystats.proto | 262 // Kernel wakelock metrics are only recorded when the device is unplugged 830 // Partial wakelock metrics are only recorded when the device is unplugged
|
/frameworks/base/core/proto/android/server/ |
D | powermanagerservice.proto | 235 // True if the device should wake up when plugged or unplugged. 237 // True if the device should wake up when plugged or unplugged in theater mode.
|
/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | BatteryStatsCpuTimesTest.java | 1290 private void updateTimeBasesLocked(boolean unplugged, int screenState, in updateTimeBasesLocked() argument 1295 mBatteryStatsImpl.updateTimeBasesLocked(unplugged, screenState, upTime, realTime); in updateTimeBasesLocked()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | BatteryStatsImpl.java | 3981 public void updateTimeBasesLocked(boolean unplugged, int screenState, long uptime, in updateTimeBasesLocked() argument 3984 final boolean updateOnBatteryTimeBase = unplugged != mOnBatteryTimeBase.isRunning(); in updateTimeBasesLocked() 3986 (unplugged && screenOff) != mOnBatteryScreenOffTimeBase.isRunning(); in updateTimeBasesLocked() 4002 + " and battery is " + (unplugged ? "on" : "off")); in updateTimeBasesLocked() 4005 mOnBatteryTimeBase.setRunning(unplugged, uptime, realtime); in updateTimeBasesLocked() 4012 mOnBatteryScreenOffTimeBase.setRunning(unplugged && screenOff, uptime, realtime); in updateTimeBasesLocked()
|