android_packages_modules_Co.../tests/net/common/java/android/net
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Rubin Xu ad524dec0b Treat RouteInfo with different interfaces as different routes
On Android different interfaces usually use different routing tables.
As a result, a change in interface should not be treated as route
update, but rather a remove and an add.

This change fixes a bug in VPN seamless handover where routes
failed to be updated when a new tunnel interface replaces the existing
one within the same network.

Bug: 158696878
Test: atest com.android.cts.net.HostsideVpnTests
Test: atest NetworkStackTests
Test: atest CtsNetTestCases
Test: atest FrameworksNetTests
Change-Id: I57987233d42a0253eaee2e1ca5f28728c2354620
2020-06-17 12:01:41 +01:00
..
apf Add CTS tests for ApfCapabilities static APIs. 2020-03-24 19:38:21 +09:00
metrics Factorize custom asserts. 2019-06-20 16:24:25 +09:00
netstats Fix NetworkStatsApiTest failed on Q device 2020-04-07 15:07:16 +08:00
util Add CTS for SocketUtils.makePacketSocketAddress(int, int, byte[]) 2020-03-11 15:20:26 +08:00
CaptivePortalDataTest.kt Add more tests for CaptivePortalData 2020-04-13 08:58:48 +00:00
CaptivePortalTest.java Ignore testReevaluateNetwork until Q 2020-03-06 18:21:45 +09:00
DependenciesTest.java Add trivial dependencies tests for the network stack 2020-04-07 14:42:00 +09:00
DhcpInfoTest.java Move DhcpInfoTest to frameworks/base/tests/net/common 2020-04-17 18:26:20 +08:00
IpPrefixTest.java Factorize custom asserts. 2019-06-20 16:24:25 +09:00
KeepalivePacketDataTest.kt Add KeepalivePacketDataTest 2020-03-17 14:24:50 +08:00
LinkAddressTest.java Add test for getDeprecationTime and getExpirationTime 2020-03-09 06:59:50 +00:00
LinkPropertiesTest.java Treat RouteInfo with different interfaces as different routes 2020-06-17 12:01:41 +01:00
MatchAllNetworkSpecifierTest.kt Rename satisfiedBy to canBeSatisfiedBy for MatchAllNetworkSpecifier 2020-04-30 15:06:35 +00:00
NattKeepalivePacketDataTest.kt Add NattKeepalivePacketDataTest 2020-03-17 15:48:02 +08:00
NetworkAgentConfigTest.kt Update extra info before registering 2020-06-03 13:01:01 +08:00
NetworkCapabilitiesTest.java Set WifiAwareNetworkInfo into setTransportInfo() 2020-04-08 10:09:16 +00:00
NetworkProviderTest.kt Add network agent to enhance NetworkProvider test 2020-04-17 17:26:07 +08:00
NetworkSpecifierTest.kt Add test for NetworkSpecifier 2020-04-23 18:03:16 +08:00
NetworkTest.java Factorize custom asserts. 2019-06-20 16:24:25 +09:00
RouteInfoTest.java Treat RouteInfo with different interfaces as different routes 2020-06-17 12:01:41 +01:00
StaticIpConfigurationTest.java Factorize custom asserts. 2019-06-20 16:24:25 +09:00