diff options
| author | 2022-09-07 19:04:42 -0700 | |
|---|---|---|
| committer | 2022-09-09 14:40:15 -0700 | |
| commit | b48df1b4d1d6d711efaed42f018f36f2b256af0f (patch) | |
| tree | a5f927d680e6280a7f4d1e279d9122b414195ad1 /tools/stringslint/stringslint.py | |
| parent | 6488a9380a8bb362bf72a586d164962e8f40b8aa (diff) | |
Export BatteryStats info to Atrace.
This is a tm-qpr re-write of http://ag/19779936 and http://ag/19806033. There was large refactor of BatteryStatsHistory that prevent the changes from being cherry-picked directly. Instead, this change copies the relevant sections and stitches together the rest.
Things that are identical
* The whole TraceDelegate
* recordTraceCounters
* recordTraceEvents
Things that are different
* Record calls are moved to BatteryStatsImpl
* Class setup (mTracer isn't changeable)
* No tests (can be added, but hard prior to the refactor)
Bug: 245749764
Test: presubmit and local perfetto tracing
Merged-In: Iaae4e9796a44be3ffdaee31b956bbb3e87735ead
Change-Id: I62fc2e93b662b89176cc26bdff8b3e88d216028a
Diffstat (limited to 'tools/stringslint/stringslint.py')
0 files changed, 0 insertions, 0 deletions