Searched refs:ipv4Default (Results 1 – 4 of 4) sorted by relevance
237 IpPrefix ipv4Default = new IpPrefix("0.0.0.0/0"); in testContains() local238 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()
105 PatchedRouteInfo ipv4Default = new PatchedRouteInfo(Prefix("0.0.0.0/0"), null, "rmnet0"); in testMatches() local106 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()
211 RouteInfo ipv4Default = new RouteInfo( in makeLinkProperties() local214 stacked.addRoute(ipv4Default); in makeLinkProperties()
1734 RouteInfo ipv4Default = RouteInfo.selectBestRoute( in chooseUpstreamType() local1736 if (ipv4Default != null) { in chooseUpstreamType()1737 iface = ipv4Default.getInterface(); in chooseUpstreamType()1738 Log.i(TAG, "Found interface " + ipv4Default.getInterface()); in chooseUpstreamType()