summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authoryro <yro@google.com>2017-11-15 22:50:23 -0800
committeryro <yro@google.com>2017-11-22 18:39:23 -0800
commit947fbce521d9e8377df03e3c1c31884ed5577f32 (patch)
treecc8bda1b030cf36f30ac1a6a9078291c73d2db16 /tools/aapt2/java/JavaClassGenerator.cpp
parent74b1513fe69cbf641e2dd84bc37194db80c39480 (diff)
Captures metrics on disk when devices reboot and shutdown. Specifically,
1. Create intent receiver in StatsCompanionService to listen to shutdown events. 2. Create StatsWriter class to handle disk writes and deleting files. 3. Update StatsLogProcessor, ConfigManager, and StatsService to handle files on disk using StatsWriter. 4. Add a wrapper for ConfigMetricsReport. Still TODO is to be able to add a guardrail to prevent accumulating excessive amount files on disk, which will be followed up by another change. Test: statsd, statsd_test Change-Id: Ia0b3af315af545daa8b0078b3700c600aa7c285f
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions