commit | a8cd2c1f08bb00b94feb014e3f3c79c97a22ccc3 | [log] [tgz] |
---|---|---|
author | Yan Han <yanha@google.com> | Wed Jan 06 14:14:38 2021 +0100 |
committer | Yan Han <yanha@google.com> | Wed Jan 13 13:53:27 2021 +0100 |
tree | bde953be95a9f01496ceeea7d6b57b0e48cc0d78 | |
parent | 246e924066a726e94f0564ff5f687180f02a0b1c [diff] |
Implement uid logging in the messageReported atom This requires storing the calling UID as the work source UID to preserve it on Runnables executed on the service thread. This was done by refactoring all methods like HdmiControlService#runOnServiceThread to preserve the work source UID during execution of a Runnable. Test: atest com.android.server.hdmi manual using ./out/host/linux-x86/bin/statsd_testdrive Bug: 176803456 Change-Id: I06718e8a9104c40e3b895427677c4bcf0945ccf2