commit | 0ebc96ce8f36c761c487f84c1367fb8bf8afb3c3 | [log] [tgz] |
---|---|---|
author | Narayan Kamath <narayan@google.com> | Fri Dec 29 13:32:38 2017 +0000 |
committer | Narayan Kamath <narayan@google.com> | Thu Jan 04 16:35:53 2018 +0000 |
tree | 9fea3a8f2ebdaafcb0ed927d0530303322e7b8b7 | |
parent | 728c8a08746f4869f265dc6f8617c35ce2f6a361 [diff] |
BatteryStatsImpl: Support chained attribution for BT events. These changes are slightly different than the ones for Wifi etc. We need to keep track of the list of WorkChains attributed to a given UID in order to log stop events for each of them if the BT process crashes (or goes away) and we receive a call to noteResetBluetooth..[]. Test: BatteryStatsTests Bug: 62390666 Change-Id: I4aaa2260cdc509ca08c4fa4838df77cda870ef75