/frameworks/base/tests/net/java/android/net/ |
D | LinkPropertiesTest.java | 132 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 …]
|
D | StaticIpConfigurationTest.java | 153 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/ |
D | MediaRouteProviderTest.java | 55 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/ |
D | OffloadControllerTest.java | 275 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/ |
D | MediaRouteProviderDescriptor.java | 150 public Builder addRoute(MediaRouteDescriptor route) { in addRoute() method in MediaRouteProviderDescriptor.Builder 174 addRoute(route); in addRoutes()
|
D | SystemMediaRouteProvider.java | 159 .addRoute(defaultRoute) in publishRoutes() 538 builder.addRoute(mSystemRouteRecords.get(i).mRouteDescriptor); in publishRoutes()
|
/frameworks/support/mediarouter/src/main/java/androidx/mediarouter/media/ |
D | MediaRouteProviderDescriptor.java | 150 public Builder addRoute(MediaRouteDescriptor route) { in addRoute() method in MediaRouteProviderDescriptor.Builder 174 addRoute(route); in addRoutes()
|
/frameworks/base/core/java/android/net/ |
D | VpnService.java | 530 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()
|
D | LinkProperties.java | 599 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));
|
D | StaticIpConfiguration.java | 111 lp.addRoute(route); in toLinkProperties()
|
/frameworks/base/services/core/java/com/android/server/connectivity/tethering/ |
D | IPv6TetheringCoordinator.java | 232 v6only.addRoute(routeInfo); in getIPv6OnlyLinkProperties() 263 lp.addRoute(new RouteInfo(local48, null, null)); in getUniqueLocalConfig()
|
D | TetherInterfaceStateMachine.java | 251 mLinkProperties.addRoute(route); in configureIPv4() 386 for (RouteInfo route : toBeAdded) mLinkProperties.addRoute(route); in configureLocalIPv6Routes()
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/ |
D | SessionRoute.h | 108 void addRoute(audio_session_t session,
|
D | AudioPort.h | 132 void addRoute(const sp<AudioRoute> &route) { mRoutes.add(route); } in addRoute() function
|
/frameworks/base/tests/net/java/com/android/server/connectivity/ |
D | VpnTest.java | 599 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()
|
D | DnsManagerTest.java | 126 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()
|
D | IpConnectivityMetricsTest.java | 641 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()
|
D | TetheringTest.java | 251 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/ |
D | SessionRoute.cpp | 90 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/ |
D | SampleMediaRouteProvider.java | 222 .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/ |
D | INetworkManagementService.aidl | 109 void addRoute(int netId, in RouteInfo route); in addRoute() method
|
/frameworks/base/core/java/com/android/server/net/ |
D | NetlinkTracker.java | 151 changed = mLinkProperties.addRoute(route); in routeUpdated()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | Nat464Xlat.java | 261 stacked.addRoute(ipv4Default); in makeLinkProperties()
|
/frameworks/base/tests/net/java/android/net/ip/ |
D | IpClientTest.java | 322 testcase.lp.addRoute(route); in provisioningTest() 419 lp.addRoute(route); in linkproperties()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/ |
D | OsuNetworkConnectionTest.java | 107 lp4.addRoute(new RouteInfo(gateway1)); in createProvisionedLinkProperties()
|