commit | 289ba40237270ff1036a85fa7c2b7e164dc15225 | [log] [tgz] |
---|---|---|
author | Olivier Gaillard <gaillard@google.com> | Tue Jul 24 18:50:13 2018 +0100 |
committer | Olivier Gaillard <gaillard@google.com> | Wed Jul 25 21:20:59 2018 +0000 |
tree | 78d94c8d3561c2649f6e397e0892845573d2461b | |
parent | 0b6543bb0fde0b9e3662795ccac164fe790a6ad0 [diff] |
Adds an Observer interface to observes binder API calls. This is the first step to move BinderCallsStats implementation to the server package in order to have an implementation more specific to the system server (tracking charger on/off). Removes the volatile keywords in BinderCallsStats. Also exposes a clean API to StatsCompanionService instead of BinderCallsStats directly. Test: unit test Change-Id: Ied98c555acc8489420104098561b4608346509b5