diff options
author | Tej Singh <singhtejinder@google.com> | 2019-02-22 19:06:22 -0800 |
---|---|---|
committer | Tej Singh <singhtejinder@google.com> | 2019-02-27 18:09:40 -0800 |
commit | 8928ed74d0564dfe0ca82769407e23569e056c73 (patch) | |
tree | e6131c5f24766533e5b26d33e35760d2980acce0 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 63ebfcba5d62de4db9cfeb627ac98a4bc65ef425 (diff) |
Stats HAL atoms use stats_write
Stats HAL atoms were not setting the loguid in LogEvent, resulting in
many events not passing our whitelisting logic. This fixes that by
simplifying the logic to use stats_write, which sets the uid to
AID_STATSD. VendorAtom still has the custom constructor in LogEvent, but
the loguid set to AID_STATSD.
Test: used stats client to log atoms. diffed print-logs for each atom to
ensure the uid was the only difference
Test: used localdrive to locally push the stats hal config and verified
the output was formatted correctly and accurate
Change-Id: Idff3ee3d5b78722da03b4ea2b0e36c213d285535
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions