commit | 010bf374d8145528f8733dfa6ef101b15de23a8d | [log] [tgz] |
---|---|---|
author | Adam Lesinski <adamlesinski@google.com> | Mon Apr 11 12:18:18 2016 -0700 |
committer | Adam Lesinski <adamlesinski@google.com> | Fri Apr 15 15:27:52 2016 -0700 |
tree | 78b885cdcb32294ddb256c3ae129be07a322b13d | |
parent | 7e25024758c2aff4b70024c70d931f81ad25cbd6 [diff] |
BatteryStats: Introduce Async external stats requests Instead of calling out to external processes with a blocking IPC, pass along a Binder on which the external process can pass back the response. The calling process can then wait for the reply with a timeout. This eliminates watchdog restarts of the system_server when an external process like telephony or bluetooth hangs. Bug:26842468 Change-Id: I1b242e4ed22a63f1a4a0be8c78de8ac4d7bf56c5