Chenbo Feng
b25ada3657
Use /proc/net/dev to get stats summary
...
If the qtaguid proc file is no longer exist, the device is running new
eBPF module to do traffic accounting. So the NetworkStatsFactory need to
use the proc/net/dev interface to get the per interface traffic stats
summary. Also, adding a test to verify the helper function work properly
Bug: 30950746
Test: run NetworkStatsFactoryTest
Change-Id: Ia36808bf02f1637dd41a3e7c50917b91b1a77524
2018-01-23 00:35:02 -08:00
..
history_v1
Move some NetworkStats tests to tests/net.
2017-04-13 02:38:11 +09:00
net_dev_typical
Use /proc/net/dev to get stats summary
2018-01-23 00:35:02 -08:00
netstats_uid_v4
Finish moving NetworkStats tests to tests/net
2017-05-17 22:24:05 +09:00
netstats_v1
Finish moving NetworkStats tests to tests/net
2017-05-17 22:24:05 +09:00
xt_qtaguid_iface_fmt_typical
Move some NetworkStats tests to tests/net.
2017-04-13 02:38:11 +09:00
xt_qtaguid_iface_typical
Move some NetworkStats tests to tests/net.
2017-04-13 02:38:11 +09:00
xt_qtaguid_typical
Move some NetworkStats tests to tests/net.
2017-04-13 02:38:11 +09:00
xt_qtaguid_with_clat
NetworkStatsFactory: fix double accounting on IPv6 only networks
2017-05-09 22:46:14 +09:00
xt_qtaguid_with_clat_100mb_download_after
NetworkStatsFactory: fix double accounting on IPv6 only networks
2017-05-09 22:46:14 +09:00
xt_qtaguid_with_clat_100mb_download_before
NetworkStatsFactory: fix double accounting on IPv6 only networks
2017-05-09 22:46:14 +09:00
xt_qtaguid_with_clat_simple
NetworkStatsFactory: fix double accounting on IPv6 only networks
2017-05-09 22:46:14 +09:00