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/
DIpPrefixTest.java239 IpPrefix ipv4Default = new IpPrefix("0.0.0.0/0"); in testContainsInetAddress() local
240 assertTrue(ipv4Default.contains(address("255.255.255.255"))); in testContainsInetAddress()
241 assertTrue(ipv4Default.contains(address("192.0.2.1"))); in testContainsInetAddress()
242 assertFalse(ipv4Default.contains(address("2001:db8::f00"))); in testContainsInetAddress()
DRouteInfoTest.java156 PatchedRouteInfo ipv4Default = new PatchedRouteInfo(Prefix("0.0.0.0/0"), null, "rmnet0"); in testMatches() local
157 assertTrue(ipv4Default.matches(Address("255.255.255.255"))); in testMatches()
158 assertTrue(ipv4Default.matches(Address("192.0.2.1"))); in testMatches()
159 assertFalse(ipv4Default.matches(Address("2001:db8::f00"))); in testMatches()
/frameworks/base/services/core/java/com/android/server/connectivity/
DNat464Xlat.java440 RouteInfo ipv4Default = new RouteInfo( in makeLinkProperties() local
443 stacked.addRoute(ipv4Default); in makeLinkProperties()
/frameworks/base/tests/net/java/com/android/server/
DConnectivityServiceTest.java6066 RouteInfo ipv4Default = new RouteInfo( in makeClatLinkProperties() local
6069 stacked.addRoute(ipv4Default); in makeClatLinkProperties()