Home
last modified time | relevance | path

Searched refs:addRoute (Results 1 – 25 of 26) sorted by relevance

12

/frameworks/base/tests/net/common/java/android/net/
DLinkPropertiesTest.java117 lp.addRoute(new RouteInfo(GATEWAY1)); in makeTestObject()
118 lp.addRoute(new RouteInfo(GATEWAY2)); in makeTestObject()
191 source.addRoute(new RouteInfo(GATEWAY1)); in testEqualsSameOrder()
192 source.addRoute(new RouteInfo(GATEWAY2)); in testEqualsSameOrder()
204 target.addRoute(new RouteInfo(GATEWAY1)); in testEqualsSameOrder()
205 target.addRoute(new RouteInfo(GATEWAY2)); in testEqualsSameOrder()
218 target.addRoute(new RouteInfo(GATEWAY1)); in testEqualsSameOrder()
219 target.addRoute(new RouteInfo(GATEWAY2)); in testEqualsSameOrder()
231 target.addRoute(new RouteInfo(GATEWAY1)); in testEqualsSameOrder()
232 target.addRoute(new RouteInfo(GATEWAY2)); in testEqualsSameOrder()
[all …]
DStaticIpConfigurationTest.java157 expected.addRoute(connectedRoute); in testToLinkProperties()
162 expected.addRoute(defaultRoute); in testToLinkProperties()
168 expected.addRoute(defaultRoute); in testToLinkProperties()
171 expected.addRoute(gatewayRoute); in testToLinkProperties()
200 expected.addRoute(defaultRoute); in testToLinkProperties()
/frameworks/base/tests/net/java/com/android/server/connectivity/tethering/
DOffloadControllerTest.java276 lp.addRoute(new RouteInfo(new IpPrefix("192.0.2.0/24"))); in testSetUpstreamLinkPropertiesWorking()
292 lp.addRoute(new RouteInfo(InetAddress.getByName(ipv4Gateway))); in testSetUpstreamLinkPropertiesWorking()
303 lp.addRoute(new RouteInfo(InetAddress.getByName(ipv6Gw1))); in testSetUpstreamLinkPropertiesWorking()
317 lp.addRoute(new RouteInfo(InetAddress.getByName(ipv6Gw2))); in testSetUpstreamLinkPropertiesWorking()
334 stacked.addRoute(new RouteInfo(InetAddress.getByName("192.0.2.254"))); in testSetUpstreamLinkPropertiesWorking()
335 stacked.addRoute(new RouteInfo(InetAddress.getByName("fe80::bad:f00"))); in testSetUpstreamLinkPropertiesWorking()
355 lp.addRoute(new RouteInfo(new IpPrefix("2001:db8::/64"))); in testSetUpstreamLinkPropertiesWorking()
581 usbLinkProperties.addRoute(new RouteInfo(new IpPrefix(USB_PREFIX))); in testAddRemoveDownstreams()
587 usbLinkProperties.addRoute(new RouteInfo(new IpPrefix(IPV6_LINKLOCAL))); in testAddRemoveDownstreams()
595 usbLinkProperties.addRoute(new RouteInfo(new IpPrefix(IPV6_DOC_PREFIX))); in testAddRemoveDownstreams()
[all …]
/frameworks/base/core/java/android/net/
DVpnService.java588 public Builder addRoute(@NonNull InetAddress address, int prefixLength) { in addRoute() method in VpnService.Builder
617 public Builder addRoute(@NonNull String address, int prefixLength) { in addRoute() method in VpnService.Builder
618 return addRoute(InetAddress.parseNumericAddress(address), prefixLength); in addRoute()
DStaticIpConfiguration.java230 lp.addRoute(route); in toLinkProperties()
DLinkProperties.java674 public boolean addRoute(@NonNull RouteInfo route) { in addRoute() method in LinkProperties
720 addRoute(new RouteInfo(addr, null, mIfaceName)); in ensureDirectlyConnectedRoutes()
1669 netProp.addRoute(in.readParcelable(null));
/frameworks/base/services/core/java/com/android/server/connectivity/tethering/
DIPv6TetheringCoordinator.java232 v6only.addRoute(routeInfo); in getIPv6OnlyLinkProperties()
263 lp.addRoute(new RouteInfo(local48, null, null)); in getUniqueLocalConfig()
/frameworks/base/tests/net/java/com/android/server/connectivity/
DDnsManagerTest.java124 lp.addRoute(new RouteInfo((IpPrefix) null, InetAddress.getByName("192.0.2.4"), in testTrackedValidationUpdates()
127 lp.addRoute(new RouteInfo((IpPrefix) null, InetAddress.getByName("2001:db8:1::1"), in testTrackedValidationUpdates()
DIpConnectivityMetricsTest.java597 nai.linkProperties.addRoute(new RouteInfo(new IpPrefix("0.0.0.0/0"))); in makeNai()
601 nai.linkProperties.addRoute(new RouteInfo(new IpPrefix("::/0"))); in makeNai()
DTetheringTest.java292 prop.addRoute(new RouteInfo(new IpPrefix(Inet4Address.ANY, 0), in buildMobileUpstreamState()
301 prop.addRoute(new RouteInfo(new IpPrefix(Inet6Address.ANY, 0), in buildMobileUpstreamState()
308 stackedLink.addRoute(new RouteInfo(new IpPrefix(Inet4Address.ANY, 0), in buildMobileUpstreamState()
/frameworks/base/services/core/java/com/android/server/
DTestNetworkService.java271 lp.addRoute(new RouteInfo(new IpPrefix(Inet4Address.ANY, 0), null, iface));
274 lp.addRoute(new RouteInfo(new IpPrefix(Inet6Address.ANY, 0), null, iface));
DNetworkManagementService.java896 public void addRoute(int netId, RouteInfo route) { in addRoute() method in NetworkManagementService
DConnectivityService.java5646 mNMS.addRoute(netId, route); in updateRoutes()
5657 mNMS.addRoute(netId, route); in updateRoutes()
/frameworks/base/core/java/android/os/
DINetworkManagementService.aidl112 void addRoute(int netId, in RouteInfo route); in addRoute() method
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DAudioPort.h136 void addRoute(const sp<AudioRoute> &route) { mRoutes.add(route); } in addRoute() function
/frameworks/base/tests/net/java/com/android/server/
DConnectivityServiceTest.java4179 lp.addRoute(new RouteInfo(InetAddress.getByName("fe80::1234"))); in testPacketKeepalives()
4180 lp.addRoute(new RouteInfo(InetAddress.getByName("192.0.2.254"))); in testPacketKeepalives()
4322 lp.addRoute(new RouteInfo(InetAddress.getByName("fe80::1234"))); in doTestNattSocketKeepalivesWithExecutor()
4323 lp.addRoute(new RouteInfo(InetAddress.getByName("192.0.2.254"))); in doTestNattSocketKeepalivesWithExecutor()
4490 lp.addRoute(new RouteInfo(InetAddress.getByName("fe80::1234"))); in doTestTcpSocketKeepalivesWithExecutor()
4491 lp.addRoute(new RouteInfo(InetAddress.getByName("127.0.0.254"))); in doTestTcpSocketKeepalivesWithExecutor()
4559 lp.addRoute(new RouteInfo(InetAddress.getByName("192.0.2.254"))); in doTestNattSocketKeepalivesFdWithExecutor()
4886 lp.addRoute(myIpv4DefaultRoute); in testLinkPropertiesEnsuresDirectlyConnectedRoutes()
5030 cellLp.addRoute(new RouteInfo((IpPrefix) null, InetAddress.getByName("192.0.2.4"), in testBasicDnsConfigurationPushed()
5033 cellLp.addRoute(new RouteInfo((IpPrefix) null, InetAddress.getByName("2001:db8:1::1"), in testBasicDnsConfigurationPushed()
[all …]
/frameworks/base/core/java/com/android/server/net/
DNetlinkTracker.java153 changed = mLinkProperties.addRoute(route); in routeUpdated()
/frameworks/base/services/core/java/com/android/server/connectivity/
DNat464Xlat.java360 stacked.addRoute(ipv4Default); in makeLinkProperties()
DVpn.java865 lp.addRoute(route); in makeLinkProperties()
884 lp.addRoute(new RouteInfo(new IpPrefix(Inet4Address.ANY, 0), RTN_UNREACHABLE)); in makeLinkProperties()
887 lp.addRoute(new RouteInfo(new IpPrefix(Inet6Address.ANY, 0), RTN_UNREACHABLE)); in makeLinkProperties()
/frameworks/base/services/net/java/android/net/ip/
DIpServer.java461 mLinkProperties.addRoute(route); in configureIPv4()
588 for (RouteInfo route : toBeAdded) mLinkProperties.addRoute(route); in configureLocalIPv6Routes()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
DOsuNetworkConnectionTest.java112 lp4.addRoute(new RouteInfo(gateway1)); in createProvisionedLinkProperties()
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DSerializer.cpp587 sink->addRoute(route); in deserialize()
590 source->addRoute(route); in deserialize()
/frameworks/base/media/java/android/media/
DMediaRouter.java1134 group.addRoute(info); in addRouteStatic()
2501 public void addRoute(RouteInfo route) { in addRoute() method in MediaRouter.RouteGroup
2526 public void addRoute(RouteInfo route, int insertAt) { in addRoute() method in MediaRouter.RouteGroup
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/
DWifiAwareDataPathStateManager.java1534 linkProperties.addRoute( in configureAgentProperties()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...

12