diff options
author | Yao Chen <yaochen@google.com> | 2018-09-04 13:55:29 -0700 |
---|---|---|
committer | Yao Chen <yaochen@google.com> | 2018-09-18 09:07:29 -0700 |
commit | a80e5c0d28bf3d0c296cd6b50596728e9a842946 (patch) | |
tree | 27c40eb7daf28cc885a581f56918f2e25efb0688 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | beb077d987bed4e45a3e6ec7e3b8468ec66e1a0b (diff) |
Support atoms subscription via shell cmd.
+ This feature is for supporting perfd.
+ Perfd is built outside android and doesnot depend on any android libraries.
So the communication between perfd and statsd can only be via non-android IPCs
(such as socket, pipe, file descriptors etc.)
+ Perfd runs as a shell user, so using the existing shell cmd is a natural choice.
+ The input is a simple config, and output is a stream of atoms proto binary data.
+ Also cleaned up the code so that we use file descriptor directly instead of creating another
FILE*.
TODO: pulled atom subscription.
Bug: 110536553
Test: statsd_test and manually tested
Change-Id: I64b0061cc66b5f7648147885a2ac1af531c19917
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions