Searched refs:mBatteryStopwatch (Results 1 – 2 of 2) sorted by relevance
55 private CachedDeviceState.TimeInStateStopwatch mBatteryStopwatch; field in LooperStats68 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()
118 private CachedDeviceState.TimeInStateStopwatch mBatteryStopwatch; field in BinderCallsStats192 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()