Searched refs:addRoute (Results 1 - 14 of 14) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/net/
H A DLinkPropertiesTest.java59 source.addRoute(new RouteInfo(NetworkUtils.numericToInetAddress(GATEWAY1)));
60 source.addRoute(new RouteInfo(NetworkUtils.numericToInetAddress(GATEWAY2)));
72 target.addRoute(new RouteInfo(NetworkUtils.numericToInetAddress(GATEWAY1)));
73 target.addRoute(new RouteInfo(NetworkUtils.numericToInetAddress(GATEWAY2)));
87 target.addRoute(new RouteInfo(NetworkUtils.numericToInetAddress(GATEWAY1)));
88 target.addRoute(new RouteInfo(NetworkUtils.numericToInetAddress(GATEWAY2)));
100 target.addRoute(new RouteInfo(NetworkUtils.numericToInetAddress(GATEWAY1)));
101 target.addRoute(new RouteInfo(NetworkUtils.numericToInetAddress(GATEWAY2)));
113 target.addRoute(new RouteInfo(NetworkUtils.numericToInetAddress(GATEWAY1)));
114 target.addRoute(ne
[all...]
/frameworks/base/services/tests/servicestests/src/com/android/server/
H A DConnectivityServiceTest.java154 mMobile.link.addRoute(MOBILE_ROUTE_V4);
155 mMobile.link.addRoute(MOBILE_ROUTE_V6);
163 verify(mNetManager).addRoute(eq(MOBILE_IFACE), eq(MOBILE_ROUTE_V4));
164 verify(mNetManager).addRoute(eq(MOBILE_IFACE), eq(MOBILE_ROUTE_V6));
175 mMobile.link.addRoute(MOBILE_ROUTE_V4);
176 mMobile.link.addRoute(MOBILE_ROUTE_V6);
188 mWifi.link.addRoute(WIFI_ROUTE_V4);
189 mWifi.link.addRoute(WIFI_ROUTE_V6);
200 verify(mNetManager).addRoute(eq(WIFI_IFACE), eq(WIFI_ROUTE_V4));
201 verify(mNetManager).addRoute(e
[all...]
/frameworks/base/core/java/android/net/
H A DDhcpInfoInternal.java55 public void addRoute(RouteInfo routeInfo) { method in class:DhcpInfoInternal
107 p.addRoute(route);
140 addRoute(route);
H A DVpnService.java354 public Builder addRoute(InetAddress address, int prefixLength) { method in class:VpnService.Builder
377 * @see #addRoute(InetAddress, int)
379 public Builder addRoute(String address, int prefixLength) { method in class:VpnService.Builder
380 return addRoute(InetAddress.parseNumericAddress(address), prefixLength);
H A DLinkProperties.java123 public void addRoute(RouteInfo route) { method in class:LinkProperties
423 netProp.addRoute((RouteInfo)in.readParcelable(null));
/frameworks/base/core/java/android/os/
H A DINetworkManagementService.aidl100 void addRoute(String iface, in RouteInfo route);
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothTetheringDataTracker.java305 mLinkProperties.addRoute(ri);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DDataCallState.java216 linkProperties.addRoute(new RouteInfo(ia));
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/
H A DAccessPointParserHelper.java307 mLinkProperties.addRoute(new RouteInfo(InetAddress.getByName(gwAddr)));
/frameworks/base/wifi/java/android/net/wifi/
H A DWifiConfigStore.java522 dhcpInfoInternal.addRoute(route);
885 linkProperties.addRoute(new RouteInfo(dest, gateway));
1293 linkProperties.addRoute(route);
/frameworks/base/media/java/android/media/
H A DMediaRouter.java470 group.addRoute(info);
1517 public void addRoute(RouteInfo route) { method in class:MediaRouter.RouteGroup
1542 public void addRoute(RouteInfo route, int insertAt) { method in class:MediaRouter.RouteGroup
/frameworks/base/core/java/com/android/internal/app/
H A DMediaRouteChooserDialogFragment.java537 mEditingGroup.addRoute(route);
/frameworks/base/services/java/com/android/server/
H A DConnectivityService.java1399 private boolean addRoute(LinkProperties p, RouteInfo r, boolean toDefaultTable) { method in class:ConnectivityService
1464 mNetd.addRoute(ifaceName, r);
2299 addRoute(newLp, r, TO_DEFAULT_TABLE);
2302 addRoute(newLp, r, TO_SECONDARY_TABLE);
H A DNetworkManagementService.java609 public void addRoute(String interfaceName, RouteInfo route) { method in class:NetworkManagementService

Completed in 165 milliseconds