Home
last modified time | relevance | path

Searched refs:mBatteryStopwatch (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/java/com/android/internal/os/
DLooperStats.java54 private CachedDeviceState.TimeInStateStopwatch mBatteryStopwatch; field in LooperStats
66 if (mBatteryStopwatch != null) { in setDeviceState()
67 mBatteryStopwatch.close(); in setDeviceState()
71 mBatteryStopwatch = deviceState.createTimeOnBatteryStopwatch(); in setDeviceState()
163 if (mAddDebugEntries && mBatteryStopwatch != null) { in getEntries()
167 createDebugEntry("battery_time_millis", mBatteryStopwatch.getMillis())); in getEntries()
191 return mBatteryStopwatch != null ? mBatteryStopwatch.getMillis() : 0; in getBatteryTimeMillis()
215 if (mBatteryStopwatch != null) { in reset()
216 mBatteryStopwatch.reset(); in reset()
DBinderCallsStats.java94 private CachedDeviceState.TimeInStateStopwatch mBatteryStopwatch; field in BinderCallsStats
108 if (mBatteryStopwatch != null) { in setDeviceState()
109 mBatteryStopwatch.close(); in setDeviceState()
112 mBatteryStopwatch = deviceState.createTimeOnBatteryStopwatch(); in setDeviceState()
342 if (mAddDebugEntries && mBatteryStopwatch != null) { in getExportedCallStats()
346 createDebugEntry("battery_time_millis", mBatteryStopwatch.getMillis())); in getExportedCallStats()
387 pw.println(mBatteryStopwatch != null ? mBatteryStopwatch.getMillis() : 0); in dumpLocked()
565 if (mBatteryStopwatch != null) { in reset()
566 mBatteryStopwatch.reset(); in reset()