/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()
|
/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/media/java/android/media/ |
D | MediaRoute2ProviderInfo.java | 203 public Builder addRoute(@NonNull MediaRoute2Info route) { in addRoute() method in MediaRoute2ProviderInfo.Builder 227 addRoute(route); in addRoutes()
|
D | MediaRouter.java | 1147 group.addRoute(info); in addRouteStatic() 2514 public void addRoute(RouteInfo route) { in addRoute() method in MediaRouter.RouteGroup 2539 public void addRoute(RouteInfo route, int insertAt) { in addRoute() method in MediaRouter.RouteGroup
|
/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 | 119 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()
|
/frameworks/base/services/core/java/com/android/server/media/ |
D | SystemMediaRoute2Provider.java | 279 builder.addRoute(mDeviceRoute); in updateProviderState() 282 builder.addRoute(route); in updateProviderState()
|
/frameworks/base/tests/net/java/com/android/server/ |
D | ConnectivityServiceTest.java | 4038 lp.addRoute(new RouteInfo(InetAddress.getByName("fe80::1234"))); in testPacketKeepalives() 4039 lp.addRoute(new RouteInfo(InetAddress.getByName("192.0.2.254"))); in testPacketKeepalives() 4177 lp.addRoute(new RouteInfo(InetAddress.getByName("fe80::1234"))); in doTestNattSocketKeepalivesWithExecutor() 4178 lp.addRoute(new RouteInfo(InetAddress.getByName("192.0.2.254"))); in doTestNattSocketKeepalivesWithExecutor() 4345 lp.addRoute(new RouteInfo(InetAddress.getByName("fe80::1234"))); in doTestTcpSocketKeepalivesWithExecutor() 4346 lp.addRoute(new RouteInfo(InetAddress.getByName("127.0.0.254"))); in doTestTcpSocketKeepalivesWithExecutor() 4414 lp.addRoute(new RouteInfo(InetAddress.getByName("192.0.2.254"))); in doTestNattSocketKeepalivesFdWithExecutor() 4732 lp.addRoute(myIpv4DefaultRoute); in testLinkPropertiesEnsuresDirectlyConnectedRoutes() 4856 cellLp.addRoute(new RouteInfo((IpPrefix) null, InetAddress.getByName("192.0.2.4"), in testBasicDnsConfigurationPushed() 4859 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()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/ |
D | OsuNetworkConnectionTest.java | 114 lp4.addRoute(new RouteInfo(gateway1)); in createProvisionedLinkProperties()
|
/frameworks/base/media/tests/MediaRouter/src/com/android/mediaroutertest/ |
D | StubMediaRoute2ProviderService.java | 148 public void addRoute(@NonNull MediaRoute2Info route) { in addRoute() method in StubMediaRoute2ProviderService
|
D | MediaRouter2ManagerTest.java | 180 sInstance.addRoute(routeToRemove); in testOnRoutesRemovedAndAdded() 225 sInstance.addRoute(routeToRemove); in testGetRoutes_removedRoute_returnsCorrectRoutes()
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
D | Serializer.cpp | 590 sink->addRoute(route); in deserialize() 593 source->addRoute(route); in deserialize()
|
/frameworks/base/packages/Tethering/src/android/net/ip/ |
D | IpServer.java | 637 mLinkProperties.addRoute(getDirectConnectedRoute(mIpv4Address)); in configureIPv4() 771 for (RouteInfo route : toBeAdded) mLinkProperties.addRoute(route); in addRoutesToLocalNetwork()
|