diff options
author | Yao Chen <yaochen@google.com> | 2017-12-12 13:43:18 -0800 |
---|---|---|
committer | Yao Chen <yaochen@google.com> | 2017-12-12 14:20:32 -0800 |
commit | 288c60001330a5a924a47c0eebd6097ae3ee5d67 (patch) | |
tree | f69c1c4b2271ef0a96ac983a95a1d153ea8033a4 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 32c2161965c5cee8798abdc399b804bb2cb4802c (diff) |
Only create ProtoOutputStream when onGetData() is called.
The exception is EventMetricProducer. Each EventMetricProducer will still have a ProtoOutputStream
Because LogEvent comes as a fixed 4K, it's more memory efficient to have an 8k ProtoOutputStream for
storing the events.
Also removed finish() api in MetricProducer, which was intended to use with Dropbox.
Test: statsd_test & dogfood app
Bug: 70393808
Change-Id: I2efe4ecc76a88060a9aa5eb49d1fa6ea60bc5da8
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions