commit | 6e6208769903f2fd466250033abf7084fbef550e | [log] [tgz] |
---|---|---|
author | Joe Onorato <joeo@google.com> | Fri Nov 16 16:26:13 2018 -0800 |
committer | Joe Onorato <joeo@google.com> | Thu Nov 29 10:48:26 2018 -0800 |
tree | 2d115e1e0fab4fcc4e5964bb5769216d69c25256 | |
parent | a3f265fa2e28a2ea1f4fc0e7eeea64bbb1423028 [diff] |
Add the concept of apps to the battery stats parser. AttributionKey is how we identify an app. It contains either a set of package names, read from the uid records from batterystats (or later UidMap from statsd), or one of the hard coded SpecialApps. Test: atest frameworks/base/tools/powermodel --host Change-Id: If2dee6bffd2d3dafccfeff5c92bafc651b356b15