android_packages_modules_Co.../tests/net/java/android/net
Repository files (latest commit first)
Filename Latest commit message Latest commit date
junyulai 431d07e60a Fix negative uid stats caused by 464xlat adjust when eBPF is on.
When using xt_qtaguid to count per uid stats,
NetworkStatsService needs to adjust the 464xlat traffic since
iptables module would double count for ipv4 and ipv6 packet.
But for eBPF, the per uid stats is collected in a different
hook, so the adjustment on root uid would only be needed in tx
direction.

Bug: 112226716
Test: 1. Make ipv4 traffic in ipv6-only network and check data
         usage.
      2. Make ipv4 traffic in a client which connect to
         ipv6-only hotspot.
      3. runtest frameworks-net
      4. cts-tradefed run cts -m CtsNetTestCases -t \
                 android.net.cts.TrafficStatsTest
      5. cts-tradefed run cts -m CtsUsageStatsTestCases

Change-Id: Ic9a84f5446eddc943c255d5f3b89dad171f53cac
2018-10-30 21:23:38 +08:00
..
nsd Fix flaky NsdManagerTest 2017-09-13 18:38:53 +09:00
ConnectivityManagerTest.java Add tests for the network blocked status change 2018-10-19 19:52:50 +08:00
IpPrefixTest.java Give VPNs the INTERNET capability when they route most of the IP space 2018-03-02 16:20:22 +09:00
IpSecAlgorithmTest.java Require explicitly supplied truncation length 2018-03-29 23:07:42 -07:00
IpSecConfigTest.java Require explicitly supplied truncation length 2018-03-29 23:07:42 -07:00
IpSecManagerTest.java Update IpSecManager to use InetAddress and prefixLen 2018-06-07 18:42:52 -07:00
IpSecTransformTest.java Correct bug in IpSecTransformTest 2018-02-15 18:52:07 -08:00
LinkAddressTest.java Add convenience methods to IpPrefix and LinkAddress 2017-08-17 11:03:24 +09:00
LinkPropertiesTest.java Add the list of private DNS addresses to LinkProperties 2018-04-27 13:32:10 +09:00
MacAddressTest.java MacAddress: Use SecureRandom and add a 46 bit randomized MAC generator 2018-02-07 01:28:46 +00:00
NetworkCapabilitiesTest.java Fix setCapabilities. 2018-06-06 08:24:43 +00:00
NetworkStatsHistoryTest.java Migrating remaining core networking tests to Junit4 2018-05-24 16:24:47 +09:00
NetworkStatsTest.java Fix negative uid stats caused by 464xlat adjust when eBPF is on. 2018-10-30 21:23:38 +08:00
NetworkTest.java Update netId to nethandle mapping in NetworkTest. 2018-01-16 17:19:04 +09:00
NetworkUtilsTest.java Add DhcpServingParams 2018-08-23 17:29:48 +09:00
RouteInfoTest.java Move more core networking tests to framework/base/tests/net. 2018-01-10 23:35:16 +09:00
StaticIpConfigurationTest.java Import a few android.net unit tests into frameworks-net 2017-10-12 15:55:22 +09:00