summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorHugo Benichi <hugobenichi@google.com>2016-05-30 14:42:29 +0900
committerHugo Benichi <hugobenichi@google.com>2016-06-07 13:55:37 +0900
commit623ab7d7a6a7d948fa6338a3992b2680d0192427 (patch)
tree91850f53be9ec3dae1d27d2e76add092667b23ff /tools/aapt2/java/JavaClassGenerator_test.cpp
parent0118fbd3ef557461ab4725a06eb9064d622cf88f (diff)
ConnectivityMetricsLogger subclass for IpConnectivity
IpConnectivityEvent was using ConnectivityMetricsLogger directly for logging events. However ConnectivityMetricsLogger keeps track in a thread-unsafe way of skipped events rejected by MetricsLoggerService. This patch introduces a subclass of ConnectivityMetricsLogger that does not track skipped events, for using in IpConnectivityEvent. It also qualifies the mServiceBlockedTimestampMillis variable as volatile so that throttling is effective accross concurrent callers of logEvent. Bug: 28204408 Bug: 29023888 Change-Id: I33707ba1d07487b42f3ce9a1ad9a66d785e99fa7
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions