summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorChenbo Feng <fengc@google.com>2019-02-27 19:07:39 -0800
committerLorenzo Colitti <lorenzo@google.com>2019-04-23 14:21:32 +0000
commitdb910397907965142667ef60f34a242861606abd (patch)
treed59fac8c3403432a71a17a4e65ed2c513d23f6e6 /tools/aapt2/java/JavaClassGenerator_test.cpp
parentbce7364aafd6be4269f9be5f6acfd59cdb80a243 (diff)
Ask netd to swap stats map before reading
To avoid protentail race problem between netd and system_server when reading the network stats map. Always inform netd before reading the stats and let netd to do a swap between active stats map and inactive stats map. So the system_server can safely remove the stats after reading. Bug: 126620214 Test: android.app.usage.cts.NetworkUsageStatsTest android.net.cts.TrafficStatsTest Change-Id: I8fa37c26bec23ffca0b29b679e72ba1189f557f1 Merged-In: I8fa37c26bec23ffca0b29b679e72ba1189f557f1 (cherry picked from commit f729cb5fd654a0f099128734f849800fde9ba525)
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions