Home
last modified time | relevance | path

Searched refs:unplugged (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/core/proto/android/os/
Dpowermanager.proto64 // when the dream ends, or when unplugged. User activity may brighten
Dbatterystats.proto262 // 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/
Dpowermanagerservice.proto235 // 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/
DBatteryStatsCpuTimesTest.java1290 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/
DBatteryStatsImpl.java3981 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()