android_packages_modules_Co.../core/java/android
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Chenbo Feng 65b99191e6 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
2017-12-19 19:57:44 -08:00
..
app/usage Augment network stats based on SubscriptionPlan. 2017-08-30 10:01:10 -06:00
net Use NetworkStatsService to get stats for apps 2017-12-19 19:57:44 -08:00