Home
last modified time | relevance | path

Searched refs:RTN_UNICAST (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/
DOffloadControllerTest.java26 import static android.net.RouteInfo.RTN_UNICAST;
305 lp.addRoute(new RouteInfo(new IpPrefix("192.0.2.0/24"), null, null, RTN_UNICAST)); in testSetUpstreamLinkPropertiesWorking()
321 lp.addRoute(new RouteInfo(null, InetAddress.getByName(ipv4Gateway), null, RTN_UNICAST)); in testSetUpstreamLinkPropertiesWorking()
332 lp.addRoute(new RouteInfo(null, InetAddress.getByName(ipv6Gw1), null, RTN_UNICAST)); in testSetUpstreamLinkPropertiesWorking()
346 lp.addRoute(new RouteInfo(null, InetAddress.getByName(ipv6Gw2), null, RTN_UNICAST)); in testSetUpstreamLinkPropertiesWorking()
364 RTN_UNICAST)); in testSetUpstreamLinkPropertiesWorking()
366 RTN_UNICAST)); in testSetUpstreamLinkPropertiesWorking()
386 lp.addRoute(new RouteInfo(new IpPrefix("2001:db8::/64"), null, null, RTN_UNICAST)); in testSetUpstreamLinkPropertiesWorking()
619 new RouteInfo(new IpPrefix(USB_PREFIX), null, null, RTN_UNICAST)); in testAddRemoveDownstreams()
626 new RouteInfo(new IpPrefix(IPV6_LINKLOCAL), null, null, RTN_UNICAST)); in testAddRemoveDownstreams()
[all …]
DIPv6TetheringCoordinatorTest.java20 import static android.net.RouteInfo.RTN_UNICAST;
90 linkProp.addRoute(new RouteInfo(new IpPrefix("::/0"), null, TEST_INTERFACE, RTN_UNICAST)); in createDualStackUpstream()
92 RTN_UNICAST)); in createDualStackUpstream()
DTetheringTest.java27 import static android.net.RouteInfo.RTN_UNICAST;
451 TEST_MOBILE_IFNAME, RTN_UNICAST)); in buildMobileUpstreamState()
461 TEST_MOBILE_IFNAME, RTN_UNICAST)); in buildMobileUpstreamState()
469 TEST_XLAT_MOBILE_IFNAME, RTN_UNICAST)); in buildMobileUpstreamState()
/frameworks/base/core/java/android/net/
DRouteInfo.java61 RTN_UNICAST,
91 public static final int RTN_UNICAST = 1; field in RouteInfo
167 case RTN_UNICAST: in RouteInfo()
243 this(destination, gateway, iface, RTN_UNICAST); in RouteInfo()
424 return mType == RTN_UNICAST && mDestination.getPrefixLength() == 0; in isDefaultRoute()
530 if (mType != RTN_UNICAST) { in toString()
/frameworks/base/tests/net/common/java/android/net/
DRouteInfoTest.java389 RouteInfo.RTN_UNICAST, 1500); in testMtu()
409 RouteInfo.RTN_UNICAST, 1400).getRouteKey(); in testRouteKey()
DLinkPropertiesTest.java20 import static android.net.RouteInfo.RTN_UNICAST;
1293 lp.addRoute(new RouteInfo(v6, address("fe80::1"), "wlan0", RTN_UNICAST, 1280)); in testRouteAddWithSameKey()
1295 lp.addRoute(new RouteInfo(v6, address("fe80::1"), "wlan0", RTN_UNICAST, 1500)); in testRouteAddWithSameKey()
1298 lp.addRoute(new RouteInfo(v4, address("192.0.2.1"), "wlan0", RTN_UNICAST, 1460)); in testRouteAddWithSameKey()
/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/
DIPv6TetheringCoordinator.java278 lp.addRoute(new RouteInfo(local48, null, null, RouteInfo.RTN_UNICAST)); in getUniqueLocalConfig()
/frameworks/base/packages/Tethering/src/android/net/ip/
DIpServer.java19 import static android.net.RouteInfo.RTN_UNICAST;
520 return new RouteInfo(PrefixUtils.asIpPrefix(ipv4Address), null, mIfaceName, RTN_UNICAST); in getDirectConnectedRoute()
1368 localRoutes.add(new RouteInfo(ipp, null, ifname, RTN_UNICAST)); in getLocalRoutesFor()
/frameworks/base/packages/Tethering/tests/unit/src/android/net/ip/
DIpServerTest.java20 import static android.net.RouteInfo.RTN_UNICAST;
935 linkProp.addRoute(new RouteInfo(new IpPrefix("::/0"), null, iface, RTN_UNICAST)); in buildIpv6OnlyLinkProperties()
1075 RouteInfo.RTN_UNICAST); in assertIPv4AddressAndDirectlyConnectedRoute()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDataConnection.java1583 RouteInfo.RTN_UNICAST, mtu)); in setLinkProperties()
/frameworks/base/tests/net/java/com/android/server/
DConnectivityServiceTest.java7056 case RouteInfo.RTN_UNICAST: in assertRouteInfoParcelMatches()
7401 RouteInfo defaultWithMtu = new RouteInfo(null, gateway, iface, RouteInfo.RTN_UNICAST, in testRouteAddDeleteUpdate()
/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java6079 case RouteInfo.RTN_UNICAST: in convertRouteInfo()
/frameworks/base/api/
Dtest-current.txt1560 field public static final int RTN_UNICAST = 1; // 0x1
Dsystem-current.txt4706 field public static final int RTN_UNICAST = 1; // 0x1
/frameworks/base/non-updatable-api/
Dsystem-current.txt4706 field public static final int RTN_UNICAST = 1; // 0x1
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt45016 Landroid/net/RouteInfo;->RTN_UNICAST:I