Home
last modified time | relevance | path

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

/aosp14/frameworks/base/core/java/com/android/internal/os/
H A DLooperStats.java55 private CachedDeviceState.TimeInStateStopwatch mBatteryStopwatch; field in LooperStats
68 if (mBatteryStopwatch != null) { in setDeviceState()
69 mBatteryStopwatch.close(); in setDeviceState()
73 mBatteryStopwatch = deviceState.createTimeOnBatteryStopwatch(); in setDeviceState()
173 if (mAddDebugEntries && mBatteryStopwatch != null) { in getEntries()
177 createDebugEntry("battery_time_millis", mBatteryStopwatch.getMillis())); in getEntries()
201 return mBatteryStopwatch != null ? mBatteryStopwatch.getMillis() : 0; in getBatteryTimeMillis()
225 if (mBatteryStopwatch != null) { in reset()
226 mBatteryStopwatch.reset(); in reset()
H A DBinderCallsStats.java118 private CachedDeviceState.TimeInStateStopwatch mBatteryStopwatch; field in BinderCallsStats
192 if (mBatteryStopwatch != null) { in setDeviceState()
193 mBatteryStopwatch.close(); in setDeviceState()
196 mBatteryStopwatch = deviceState.createTimeOnBatteryStopwatch(); in setDeviceState()
487 if (mAddDebugEntries && mBatteryStopwatch != null) { in getExportedCallStats()
491 createDebugEntry("battery_time_millis", mBatteryStopwatch.getMillis())); in getExportedCallStats()
610 pw.println(mBatteryStopwatch != null ? mBatteryStopwatch.getMillis() : 0); in dumpLocked()
877 if (mBatteryStopwatch != null) { in reset()
878 mBatteryStopwatch.reset(); in reset()