Home
last modified time | relevance | path

Searched refs:ipv4Default (Results 1 – 4 of 4) sorted by relevance

/packages/modules/Connectivity/tests/common/java/android/net/
DIpPrefixTest.java253 IpPrefix ipv4Default = new IpPrefix("0.0.0.0/0"); in testContainsInetAddress() local
254 assertTrue(ipv4Default.contains(address("255.255.255.255"))); in testContainsInetAddress()
255 assertTrue(ipv4Default.contains(address("192.0.2.1"))); in testContainsInetAddress()
256 assertFalse(ipv4Default.contains(address("2001:db8::f00"))); in testContainsInetAddress()
DRouteInfoTest.java144 PatchedRouteInfo ipv4Default = new PatchedRouteInfo(Prefix("0.0.0.0/0"), null, "rmnet0"); in testMatches() local
145 assertTrue(ipv4Default.matches(Address("255.255.255.255"))); in testMatches()
146 assertTrue(ipv4Default.matches(Address("192.0.2.1"))); in testMatches()
147 assertFalse(ipv4Default.matches(Address("2001:db8::f00"))); in testMatches()
/packages/modules/Connectivity/service/src/com/android/server/connectivity/
DNat464Xlat.java465 RouteInfo ipv4Default = new RouteInfo( in makeLinkProperties() local
468 stacked.addRoute(ipv4Default); in makeLinkProperties()
/packages/modules/Connectivity/tests/unit/java/com/android/server/
DConnectivityServiceTest.java10779 RouteInfo ipv4Default = new RouteInfo(
10782 stacked.addRoute(ipv4Default);