Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/net/
DIpPrefixTest.java237 IpPrefix ipv4Default = new IpPrefix("0.0.0.0/0"); in testContains() local
238 assertTrue(ipv4Default.contains(Address("255.255.255.255"))); in testContains()
239 assertTrue(ipv4Default.contains(Address("192.0.2.1"))); in testContains()
240 assertFalse(ipv4Default.contains(Address("2001:db8::f00"))); in testContains()
DRouteInfoTest.java105 PatchedRouteInfo ipv4Default = new PatchedRouteInfo(Prefix("0.0.0.0/0"), null, "rmnet0"); in testMatches() local
106 assertTrue(ipv4Default.matches(Address("255.255.255.255"))); in testMatches()
107 assertTrue(ipv4Default.matches(Address("192.0.2.1"))); in testMatches()
108 assertFalse(ipv4Default.matches(Address("2001:db8::f00"))); in testMatches()
/frameworks/base/services/core/java/com/android/server/connectivity/
DNat464Xlat.java211 RouteInfo ipv4Default = new RouteInfo( in makeLinkProperties() local
214 stacked.addRoute(ipv4Default); in makeLinkProperties()
DTethering.java1734 RouteInfo ipv4Default = RouteInfo.selectBestRoute( in chooseUpstreamType() local
1736 if (ipv4Default != null) { in chooseUpstreamType()
1737 iface = ipv4Default.getInterface(); in chooseUpstreamType()
1738 Log.i(TAG, "Found interface " + ipv4Default.getInterface()); in chooseUpstreamType()