Home
last modified time | relevance | path

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

/frameworks/base/tests/net/common/java/android/net/
DRouteInfoTest.java106 PatchedRouteInfo ipv4Default = new PatchedRouteInfo(Prefix("0.0.0.0/0"), null, "rmnet0"); in testMatches() local
107 assertTrue(ipv4Default.matches(Address("255.255.255.255"))); in testMatches()
108 assertTrue(ipv4Default.matches(Address("192.0.2.1"))); in testMatches()
109 assertFalse(ipv4Default.matches(Address("2001:db8::f00"))); in testMatches()
DIpPrefixTest.java247 IpPrefix ipv4Default = new IpPrefix("0.0.0.0/0"); in testContainsInetAddress() local
248 assertTrue(ipv4Default.contains(address("255.255.255.255"))); in testContainsInetAddress()
249 assertTrue(ipv4Default.contains(address("192.0.2.1"))); in testContainsInetAddress()
250 assertFalse(ipv4Default.contains(address("2001:db8::f00"))); in testContainsInetAddress()
/frameworks/base/services/core/java/com/android/server/connectivity/
DNat464Xlat.java357 RouteInfo ipv4Default = new RouteInfo( in makeLinkProperties() local
360 stacked.addRoute(ipv4Default); in makeLinkProperties()
/frameworks/base/tests/net/java/com/android/server/
DConnectivityServiceTest.java6020 RouteInfo ipv4Default = new RouteInfo( in makeClatLinkProperties() local
6023 stacked.addRoute(ipv4Default); in makeClatLinkProperties()