/frameworks/base/tests/net/common/java/android/net/ |
D | LinkPropertiesTest.java | 152 lp.addRoute(new RouteInfo(GATEWAY1)); in makeTestObject() 153 lp.addRoute(new RouteInfo(GATEWAY2)); in makeTestObject() 246 source.addRoute(new RouteInfo(GATEWAY1)); in testEqualsSameOrder() 247 source.addRoute(new RouteInfo(GATEWAY2)); in testEqualsSameOrder() 259 target.addRoute(new RouteInfo(GATEWAY1)); in testEqualsSameOrder() 260 target.addRoute(new RouteInfo(GATEWAY2)); in testEqualsSameOrder() 273 target.addRoute(new RouteInfo(GATEWAY1)); in testEqualsSameOrder() 274 target.addRoute(new RouteInfo(GATEWAY2)); in testEqualsSameOrder() 286 target.addRoute(new RouteInfo(GATEWAY1)); in testEqualsSameOrder() 287 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/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/ |
D | OffloadControllerTest.java | 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() 363 stacked.addRoute(new RouteInfo(null, InetAddress.getByName("192.0.2.254"), null, in testSetUpstreamLinkPropertiesWorking() 365 stacked.addRoute(new RouteInfo(null, InetAddress.getByName("fe80::bad:f00"), null, in testSetUpstreamLinkPropertiesWorking() 386 lp.addRoute(new RouteInfo(new IpPrefix("2001:db8::/64"), null, null, RTN_UNICAST)); in testSetUpstreamLinkPropertiesWorking() 618 usbLinkProperties.addRoute( in testAddRemoveDownstreams() 625 usbLinkProperties.addRoute( in testAddRemoveDownstreams() 634 usbLinkProperties.addRoute( in testAddRemoveDownstreams() [all …]
|
D | IPv6TetheringCoordinatorTest.java | 90 linkProp.addRoute(new RouteInfo(new IpPrefix("::/0"), null, TEST_INTERFACE, RTN_UNICAST)); in createDualStackUpstream() 91 linkProp.addRoute(new RouteInfo(new IpPrefix("0.0.0.0/0"), null, TEST_INTERFACE, in createDualStackUpstream()
|
D | TetheringTest.java | 449 prop.addRoute(new RouteInfo(new IpPrefix(Inet4Address.ANY, 0), in buildMobileUpstreamState() 459 prop.addRoute(new RouteInfo(new IpPrefix(Inet6Address.ANY, 0), in buildMobileUpstreamState() 467 stackedLink.addRoute(new RouteInfo(new IpPrefix(Inet4Address.ANY, 0), in buildMobileUpstreamState()
|
/frameworks/libs/net/common/tests/unit/src/android/net/util/ |
D | LinkPropertiesUtilsTest.java | 75 lp.addRoute(RT_INFO1); in createTestObject() 76 lp.addRoute(RT_INFO2); in createTestObject() 144 target.addRoute(testRoute); in testLinkPropertiesIdenticalEqual() 155 target.addRoute(RT_INFO1); in testLinkPropertiesIdenticalEqual()
|
/frameworks/base/core/java/android/net/ |
D | VpnService.java | 588 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()
|
D | StaticIpConfiguration.java | 235 lp.addRoute(route); in toLinkProperties()
|
D | LinkProperties.java | 713 public boolean addRoute(@NonNull RouteInfo route) { in addRoute() method in LinkProperties 769 addRoute(new RouteInfo(addr, null, mIfaceName)); in ensureDirectlyConnectedRoutes() 1887 netProp.addRoute(in.readParcelable(null));
|
/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/ |
D | IPv6TetheringCoordinator.java | 247 v6only.addRoute(routeInfo); in getIPv6OnlyLinkProperties() 278 lp.addRoute(new RouteInfo(local48, null, null, RouteInfo.RTN_UNICAST)); in getUniqueLocalConfig()
|
/frameworks/base/services/core/java/com/android/server/ |
D | TestNetworkService.java | 287 lp.addRoute(new RouteInfo(new IpPrefix(Inet4Address.ANY, 0), null, iface)); 290 lp.addRoute(new RouteInfo(new IpPrefix(Inet6Address.ANY, 0), null, iface));
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/ |
D | PolicyAudioPort.h | 110 void addRoute(const sp<AudioRoute> &route) { mRoutes.add(route); } in addRoute() function
|
/frameworks/base/tests/net/java/com/android/server/connectivity/ |
D | IpConnectivityMetricsTest.java | 597 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()
|
D | DnsManagerTest.java | 183 lp.addRoute(new RouteInfo((IpPrefix) null, InetAddress.getByName("192.0.2.4"), in testTrackedValidationUpdates() 186 lp.addRoute(new RouteInfo((IpPrefix) null, InetAddress.getByName("2001:db8:1::1"), in testTrackedValidationUpdates()
|
D | VpnTest.java | 1027 lp.addRoute(defaultRoute); in testStartLegacyVpn()
|
/frameworks/base/tests/net/java/com/android/server/ |
D | ConnectivityServiceTest.java | 4046 lp.addRoute(new RouteInfo(InetAddress.getByName("fe80::1234"))); in testPacketKeepalives() 4047 lp.addRoute(new RouteInfo(InetAddress.getByName("192.0.2.254"))); in testPacketKeepalives() 4185 lp.addRoute(new RouteInfo(InetAddress.getByName("fe80::1234"))); in doTestNattSocketKeepalivesWithExecutor() 4186 lp.addRoute(new RouteInfo(InetAddress.getByName("192.0.2.254"))); in doTestNattSocketKeepalivesWithExecutor() 4353 lp.addRoute(new RouteInfo(InetAddress.getByName("fe80::1234"))); in doTestTcpSocketKeepalivesWithExecutor() 4354 lp.addRoute(new RouteInfo(InetAddress.getByName("127.0.0.254"))); in doTestTcpSocketKeepalivesWithExecutor() 4422 lp.addRoute(new RouteInfo(InetAddress.getByName("192.0.2.254"))); in doTestNattSocketKeepalivesFdWithExecutor() 4740 lp.addRoute(myIpv4DefaultRoute); in testLinkPropertiesEnsuresDirectlyConnectedRoutes() 4864 cellLp.addRoute(new RouteInfo((IpPrefix) null, InetAddress.getByName("192.0.2.4"), in testBasicDnsConfigurationPushed() 4867 cellLp.addRoute(new RouteInfo((IpPrefix) null, InetAddress.getByName("2001:db8:1::1"), in testBasicDnsConfigurationPushed() [all …]
|
/frameworks/base/core/java/android/os/ |
D | INetworkManagementService.aidl | 112 void addRoute(int netId, in RouteInfo route); in addRoute() method
|
/frameworks/base/core/java/com/android/server/net/ |
D | NetlinkTracker.java | 153 changed = mLinkProperties.addRoute(route); in routeUpdated()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | Nat464Xlat.java | 443 stacked.addRoute(ipv4Default); in makeLinkProperties()
|
D | Vpn.java | 1024 lp.addRoute(route); 1043 lp.addRoute(new RouteInfo(new IpPrefix(Inet4Address.ANY, 0), RTN_UNREACHABLE)); 1046 lp.addRoute(new RouteInfo(new IpPrefix(Inet6Address.ANY, 0), RTN_UNREACHABLE));
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/ |
D | OsuNetworkConnectionTest.java | 112 lp4.addRoute(new RouteInfo(gateway1)); in createProvisionedLinkProperties()
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
D | Serializer.cpp | 589 sink->addRoute(route); in deserialize() 592 source->addRoute(route); in deserialize()
|
/frameworks/base/packages/Tethering/src/android/net/ip/ |
D | IpServer.java | 644 mLinkProperties.addRoute(getDirectConnectedRoute(mIpv4Address)); in configureIPv4() 778 for (RouteInfo route : toBeAdded) mLinkProperties.addRoute(route); in addRoutesToLocalNetwork()
|
/frameworks/base/media/java/android/media/ |
D | MediaRouter.java | 1134 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/base/packages/Tethering/tests/unit/src/android/net/ip/ |
D | IpServerTest.java | 935 linkProp.addRoute(new RouteInfo(new IpPrefix("::/0"), null, iface, RTN_UNICAST)); in buildIpv6OnlyLinkProperties()
|