commit | ec7587283fec4138aa6bdb815a57402db7880c53 | [log] [tgz] |
---|---|---|
author | Marcin Oczeretko <marcinoc@google.com> | Wed Sep 12 12:53:47 2018 +0100 |
committer | Marcin Oczeretko <marcinoc@google.com> | Thu Sep 20 10:52:08 2018 +0100 |
tree | fbcbd411569999ae560375e1a8d8a6ac1df4996f | |
parent | 967b7f4f6ec3ed46745114bedff10069dad7f1dd [diff] |
Add work source uid collection to LooperStats Add ThreadLocalWorkSourceUid and Message.workSourceUid which will store the UID which caused, directly or indirectly, the Message to be enqueued. This was needed because using Binder.getCallingUid() does not give us enough data since quite a few Binder services call Binder.clearCallingIdentity() when processing the call. Test: UT and manual Change-Id: I35af3a9ca5193477070990b41ff5d9c52f420069