summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorChenbo Feng <fengc@google.com>2019-02-27 19:07:39 -0800
committerChenbo Feng <fengc@google.com>2019-04-10 12:59:38 -0700
commitf729cb5fd654a0f099128734f849800fde9ba525 (patch)
treea2ed488818a4b6fee8a916121c935eda91f1b242 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent8d2a88c50dcd6f629dbb54f2180e1114494e7da9 (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
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions