summaryrefslogtreecommitdiff
path: root/tests/net/java/com/android/server/IpSecServiceParameterizedTest.java
diff options
context:
space:
mode:
authorChenbo Feng <fengc@google.com>2017-11-14 17:54:17 -0800
committerChenbo Feng <fengc@google.com>2017-12-19 19:57:44 -0800
commitd3d9c4ed9baa97f70858e639a01345a3cd78f42d (patch)
tree4d39ef914880fd6e0cfa1127f5cd56c39512c12d /tests/net/java/com/android/server/IpSecServiceParameterizedTest.java
parent71b25c06a75ef54818dc9986f530f02580ac51e4 (diff)
Use NetworkStatsService to get stats for apps
Move the native implementation of TrafficStats to NetworkStatsService and apps need to get the NetworkStatsService binder interface from system_server in order to get the network usage stats since boot. This implementation can hide the detail of retrieving network traffic information from apps and the NetworkStatsService can choose which methoed it use to get the data depending on the kernel version of the device. Bug: 30950746 Test: CtsNetTestCases -t android.net.cts.TrafficStatsTest Change-Id: I53bbefd19aa0b783b9b4b42ea4d76db3e9ec07a3
Diffstat (limited to 'tests/net/java/com/android/server/IpSecServiceParameterizedTest.java')
0 files changed, 0 insertions, 0 deletions