Home
last modified time | relevance | path

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

123

/frameworks/base/tests/net/java/android/net/
DLinkPropertiesTest.java132 source.addRoute(new RouteInfo(GATEWAY1)); in testEqualsSameOrder()
133 source.addRoute(new RouteInfo(GATEWAY2)); in testEqualsSameOrder()
144 target.addRoute(new RouteInfo(GATEWAY1)); in testEqualsSameOrder()
145 target.addRoute(new RouteInfo(GATEWAY2)); in testEqualsSameOrder()
157 target.addRoute(new RouteInfo(GATEWAY1)); in testEqualsSameOrder()
158 target.addRoute(new RouteInfo(GATEWAY2)); in testEqualsSameOrder()
170 target.addRoute(new RouteInfo(GATEWAY1)); in testEqualsSameOrder()
171 target.addRoute(new RouteInfo(GATEWAY2)); in testEqualsSameOrder()
182 target.addRoute(new RouteInfo(GATEWAY1)); in testEqualsSameOrder()
183 target.addRoute(new RouteInfo(GATEWAY2)); in testEqualsSameOrder()
[all …]
DStaticIpConfigurationTest.java153 expected.addRoute(connectedRoute); in testToLinkProperties()
158 expected.addRoute(defaultRoute); in testToLinkProperties()
164 expected.addRoute(defaultRoute); in testToLinkProperties()
167 expected.addRoute(gatewayRoute); in testToLinkProperties()
196 expected.addRoute(defaultRoute); in testToLinkProperties()
/frameworks/support/mediarouter/src/androidTest/java/androidx/mediarouter/media/
DMediaRouteProviderTest.java55 builder.addRoute(new MediaRouteDescriptor.Builder(FAKE_MEDIA_ROUTE_ID_1, in testDescriptorBuilder()
57 builder.addRoute(new MediaRouteDescriptor.Builder(FAKE_MEDIA_ROUTE_ID_2, in testDescriptorBuilder()
117 builder.addRoute(new MediaRouteDescriptor.Builder(FAKE_MEDIA_ROUTE_ID_1, in testCreateDescriptorBundleForClient()
119 builder.addRoute(new MediaRouteDescriptor.Builder(FAKE_MEDIA_ROUTE_ID_2, in testCreateDescriptorBundleForClient()
121 builder.addRoute(new MediaRouteDescriptor.Builder(FAKE_MEDIA_ROUTE_ID_3, in testCreateDescriptorBundleForClient()
123 builder.addRoute(new MediaRouteDescriptor.Builder(FAKE_MEDIA_ROUTE_ID_4, in testCreateDescriptorBundleForClient()
/frameworks/base/tests/net/java/com/android/server/connectivity/tethering/
DOffloadControllerTest.java275 lp.addRoute(new RouteInfo(new IpPrefix("192.0.2.0/24"))); in testSetUpstreamLinkPropertiesWorking()
291 lp.addRoute(new RouteInfo(InetAddress.getByName(ipv4Gateway))); in testSetUpstreamLinkPropertiesWorking()
302 lp.addRoute(new RouteInfo(InetAddress.getByName(ipv6Gw1))); in testSetUpstreamLinkPropertiesWorking()
316 lp.addRoute(new RouteInfo(InetAddress.getByName(ipv6Gw2))); in testSetUpstreamLinkPropertiesWorking()
333 stacked.addRoute(new RouteInfo(InetAddress.getByName("192.0.2.254"))); in testSetUpstreamLinkPropertiesWorking()
334 stacked.addRoute(new RouteInfo(InetAddress.getByName("fe80::bad:f00"))); in testSetUpstreamLinkPropertiesWorking()
354 lp.addRoute(new RouteInfo(new IpPrefix("2001:db8::/64"))); in testSetUpstreamLinkPropertiesWorking()
580 usbLinkProperties.addRoute(new RouteInfo(new IpPrefix(USB_PREFIX))); in testAddRemoveDownstreams()
586 usbLinkProperties.addRoute(new RouteInfo(new IpPrefix(IPV6_LINKLOCAL))); in testAddRemoveDownstreams()
594 usbLinkProperties.addRoute(new RouteInfo(new IpPrefix(IPV6_DOC_PREFIX))); in testAddRemoveDownstreams()
[all …]
/frameworks/av/packages/MediaComponents/src/com/android/support/mediarouter/media/
DMediaRouteProviderDescriptor.java150 public Builder addRoute(MediaRouteDescriptor route) { in addRoute() method in MediaRouteProviderDescriptor.Builder
174 addRoute(route); in addRoutes()
DSystemMediaRouteProvider.java159 .addRoute(defaultRoute) in publishRoutes()
538 builder.addRoute(mSystemRouteRecords.get(i).mRouteDescriptor); in publishRoutes()
/frameworks/support/mediarouter/src/main/java/androidx/mediarouter/media/
DMediaRouteProviderDescriptor.java150 public Builder addRoute(MediaRouteDescriptor route) { in addRoute() method in MediaRouteProviderDescriptor.Builder
174 addRoute(route); in addRoutes()
/frameworks/base/core/java/android/net/
DVpnService.java530 public Builder addRoute(InetAddress address, int prefixLength) { in addRoute() method in VpnService.Builder
558 public Builder addRoute(String address, int prefixLength) { in addRoute() method in VpnService.Builder
559 return addRoute(InetAddress.parseNumericAddress(address), prefixLength); in addRoute()
DLinkProperties.java599 public boolean addRoute(RouteInfo route) { in addRoute() method in LinkProperties
647 addRoute(new RouteInfo(addr, null, mIfaceName)); in ensureDirectlyConnectedRoutes()
1356 netProp.addRoute((RouteInfo) in.readParcelable(null));
DStaticIpConfiguration.java111 lp.addRoute(route); in toLinkProperties()
/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()
DTetherInterfaceStateMachine.java251 mLinkProperties.addRoute(route); in configureIPv4()
386 for (RouteInfo route : toBeAdded) mLinkProperties.addRoute(route); in configureLocalIPv6Routes()
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DSessionRoute.h108 void addRoute(audio_session_t session,
DAudioPort.h132 void addRoute(const sp<AudioRoute> &route) { mRoutes.add(route); } in addRoute() function
/frameworks/base/tests/net/java/com/android/server/connectivity/
DVpnTest.java599 lp.addRoute(new RouteInfo(new IpPrefix("0.0.0.0/0"))); in testProvidesRoutesToMostDestinations()
609 publicIpV4Routes().forEach(s -> lp.addRoute(new RouteInfo(new IpPrefix(s)))); in testProvidesRoutesToMostDestinations()
623 publicIpV6Routes().forEach(s -> lp.addRoute(new RouteInfo(new IpPrefix(s)))); in testProvidesRoutesToMostDestinations()
630 publicIpV4Routes().forEach(s -> lp.addRoute(new RouteInfo(new IpPrefix(s)))); in testProvidesRoutesToMostDestinations()
642 lp.addRoute(new RouteInfo(new IpPrefix("::/1"))); in testProvidesRoutesToMostDestinations()
662 lp.addRoute(new RouteInfo(new IpPrefix(Inet4Address.getByAddress(ad), 32))); in testDoesNotLockUpWithTooManyRoutes()
DDnsManagerTest.java126 lp.addRoute(new RouteInfo((IpPrefix) null, InetAddress.getByName("192.0.2.4"), in testTrackedValidationUpdates()
129 lp.addRoute(new RouteInfo((IpPrefix) null, InetAddress.getByName("2001:db8:1::1"), in testTrackedValidationUpdates()
DIpConnectivityMetricsTest.java641 nai.linkProperties.addRoute(new RouteInfo(new IpPrefix("0.0.0.0/0"))); in makeNai()
645 nai.linkProperties.addRoute(new RouteInfo(new IpPrefix("::/0"))); in makeNai()
DTetheringTest.java251 prop.addRoute(new RouteInfo(new IpPrefix(Inet4Address.ANY, 0), in buildMobileUpstreamState()
260 prop.addRoute(new RouteInfo(new IpPrefix(Inet6Address.ANY, 0), in buildMobileUpstreamState()
267 stackedLink.addRoute(new RouteInfo(new IpPrefix(Inet4Address.ANY, 0), in buildMobileUpstreamState()
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DSessionRoute.cpp90 void SessionRouteMap::addRoute(audio_session_t session, in addRoute() function in android::SessionRouteMap
/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/media/
DSampleMediaRouteProvider.java222 .addRoute(routeDescriptor1) in publishRoutes()
223 .addRoute(routeDescriptor2) in publishRoutes()
224 .addRoute(routeDescriptor3) in publishRoutes()
225 .addRoute(routeDescriptor4) in publishRoutes()
/frameworks/base/core/java/android/os/
DINetworkManagementService.aidl109 void addRoute(int netId, in RouteInfo route); in addRoute() method
/frameworks/base/core/java/com/android/server/net/
DNetlinkTracker.java151 changed = mLinkProperties.addRoute(route); in routeUpdated()
/frameworks/base/services/core/java/com/android/server/connectivity/
DNat464Xlat.java261 stacked.addRoute(ipv4Default); in makeLinkProperties()
/frameworks/base/tests/net/java/android/net/ip/
DIpClientTest.java322 testcase.lp.addRoute(route); in provisioningTest()
419 lp.addRoute(route); in linkproperties()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
DOsuNetworkConnectionTest.java107 lp4.addRoute(new RouteInfo(gateway1)); in createProvisionedLinkProperties()

123