/packages/modules/Connectivity/tests/common/java/android/net/ |
D | LinkPropertiesTest.java | 156 lp.addRoute(new RouteInfo(GATEWAY1)); in makeTestObject() 157 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 | NetworkStateSnapshotTest.kt | 49 addRoute(RouteInfo(IpPrefix(parseNumericAddress("0.0.0.0"), 0), TEST_IPV4_GATEWAY)) in <lambda>() 50 addRoute(RouteInfo(IpPrefix(parseNumericAddress("::"), 0), TEST_IPV6_GATEWAY)) in <lambda>()
|
/packages/modules/NetworkStack/tests/unit/src/android/net/ip/ |
D | IpReachabilityMonitorTest.kt | 135 addRoute(RouteInfo(TEST_IPV4_LINKADDR, null /* gateway */, TEST_IFACE.name)) in <lambda>() 136 addRoute(RouteInfo(TEST_IPV6_LINKADDR, null /* gateway */, TEST_IFACE.name)) in <lambda>() 139 addRoute(RouteInfo(IpPrefix(parseNumericAddress("0.0.0.0"), 0), TEST_IPV4_GATEWAY)) in <lambda>() 140 addRoute(RouteInfo(IpPrefix(parseNumericAddress("::"), 0), TEST_IPV6_GATEWAY)) in <lambda>() 152 addRoute(RouteInfo(TEST_IPV4_LINKADDR, null /* gateway */, TEST_IFACE.name)) in <lambda>() 155 addRoute(RouteInfo(IpPrefix(parseNumericAddress("0.0.0.0"), 0), TEST_IPV4_GATEWAY_DNS)) in <lambda>() 167 addRoute(RouteInfo(TEST_IPV6_LINKADDR, null /* gateway */, TEST_IFACE.name)) in <lambda>() 168 addRoute(RouteInfo(TEST_IPV6_LINKLOCAL_LINKADDR, null /* gateway */, TEST_IFACE.name)) in <lambda>() 171 addRoute(RouteInfo(IpPrefix(parseNumericAddress("::"), 0), TEST_IPV6_LINKLOCAL_SCOPED_GATEWAY)) in <lambda>() 184 addRoute(RouteInfo(TEST_IPV4_LINKADDR, null /* gateway */, TEST_IFACE.name)) in <lambda>() [all …]
|
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/ |
D | OffloadControllerTest.java | 303 lp.addRoute(new RouteInfo(new IpPrefix("192.0.2.0/24"), null, null, RTN_UNICAST)); in testSetUpstreamLinkPropertiesWorking() 319 lp.addRoute(new RouteInfo(null, InetAddress.getByName(ipv4Gateway), null, RTN_UNICAST)); in testSetUpstreamLinkPropertiesWorking() 330 lp.addRoute(new RouteInfo(null, InetAddress.getByName(ipv6Gw1), null, RTN_UNICAST)); in testSetUpstreamLinkPropertiesWorking() 344 lp.addRoute(new RouteInfo(null, InetAddress.getByName(ipv6Gw2), null, RTN_UNICAST)); in testSetUpstreamLinkPropertiesWorking() 361 stacked.addRoute(new RouteInfo(null, InetAddress.getByName("192.0.2.254"), null, in testSetUpstreamLinkPropertiesWorking() 363 stacked.addRoute(new RouteInfo(null, InetAddress.getByName("fe80::bad:f00"), null, in testSetUpstreamLinkPropertiesWorking() 384 lp.addRoute(new RouteInfo(new IpPrefix("2001:db8::/64"), null, null, RTN_UNICAST)); in testSetUpstreamLinkPropertiesWorking() 709 usbLinkProperties.addRoute( in testAddRemoveDownstreams() 716 usbLinkProperties.addRoute( in testAddRemoveDownstreams() 725 usbLinkProperties.addRoute( in testAddRemoveDownstreams() [all …]
|
D | IPv6TetheringCoordinatorTest.java | 91 linkProp.addRoute(new RouteInfo(new IpPrefix("::/0"), null, TEST_INTERFACE, RTN_UNICAST)); in createDualStackUpstream() 92 linkProp.addRoute(new RouteInfo(new IpPrefix("0.0.0.0/0"), null, TEST_INTERFACE, in createDualStackUpstream()
|
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/ |
D | StaticIpConfigurationTest.java | 169 expected.addRoute(connectedRoute); in testToLinkProperties() 174 expected.addRoute(defaultRoute); in testToLinkProperties() 180 expected.addRoute(defaultRoute); in testToLinkProperties() 183 expected.addRoute(gatewayRoute); in testToLinkProperties() 212 expected.addRoute(defaultRoute); in testToLinkProperties()
|
D | NetworkAgentTest.kt | 333 addRoute(RouteInfo(IpPrefix("0.0.0.0/0"), null, null)) in createNetworkAgent() 1665 wifiLp.addRoute(newRoute) in testUnregisterAfterReplacement() 1711 addRoute(RouteInfo(IpPrefix("2001:db8::/64"), null /* nextHop */, ifName)) in doTestNativeNetworkCreation() 1712 addRoute(RouteInfo(IpPrefix("::/0"), in doTestNativeNetworkCreation() 1734 lp.addRoute(RouteInfo(IpPrefix("192.0.2.0/25"), null /* nextHop */, ifName)) in doTestNativeNetworkCreation()
|
/packages/modules/NetworkStack/apishim/33/com/android/networkstack/apishim/api33/ |
D | VpnServiceBuilderShimImpl.java | 55 public VpnService.Builder addRoute(VpnService.Builder builder, IpPrefix prefix) in addRoute() method in VpnServiceBuilderShimImpl 57 return builder.addRoute(prefix); in addRoute()
|
/packages/modules/Connectivity/framework/src/android/net/ |
D | RoutingCoordinatorManager.java | 52 public void addRoute(final int netId, final RouteInfo route) { in addRoute() method in RoutingCoordinatorManager 54 mService.addRoute(netId, route); in addRoute()
|
D | IRoutingCoordinator.aidl | 31 void addRoute(int netId, in RouteInfo route); in addRoute() method
|
D | LinkProperties.java | 704 public boolean addRoute(@NonNull RouteInfo route) { in addRoute() method in LinkProperties 778 addRoute(new RouteInfo(addr, null, mIfaceName)); in ensureDirectlyConnectedRoutes() 1835 netProp.addRoute(in.readParcelable(null));
|
/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/net/module/util/ |
D | LinkPropertiesUtilsTest.java | 80 lp.addRoute(RT_INFO1); in createTestObject() 81 lp.addRoute(RT_INFO2); in createTestObject() 157 target.addRoute(testRoute); in testLinkPropertiesIdenticalEqual() 168 target.addRoute(RT_INFO1); in testLinkPropertiesIdenticalEqual()
|
/packages/modules/NetworkStack/apishim/common/com/android/networkstack/apishim/common/ |
D | VpnServiceBuilderShim.java | 33 VpnService.Builder addRoute(VpnService.Builder builder, IpPrefix prefix) in addRoute() method
|
/packages/apps/Camera2/src/com/android/camera/one/v2/sharedimagereader/imagedistributor/ |
D | ImageDistributor.java | 41 void addRoute(BufferQueue<Long> inputTimestampQueue, in addRoute() method
|
D | ImageDistributorImpl.java | 209 public void addRoute(BufferQueue<Long> inputTimestampBufferQueue, in addRoute() method in ImageDistributorImpl
|
/packages/modules/NetworkStack/apishim/29/com/android/networkstack/apishim/api29/ |
D | VpnServiceBuilderShimImpl.java | 44 public VpnService.Builder addRoute(VpnService.Builder builder, IpPrefix prefix) in addRoute() method in VpnServiceBuilderShimImpl
|
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/ |
D | IPv6TetheringCoordinator.java | 248 v6only.addRoute(routeInfo); in getIPv6OnlyLinkProperties() 279 lp.addRoute(new RouteInfo(local48, null, null, RouteInfo.RTN_UNICAST)); in getUniqueLocalConfig()
|
/packages/modules/Connectivity/tests/cts/hostside/app/src/com/android/cts/net/hostside/ |
D | MyVpnService.java | 116 vpnServiceBuilderShim.addRoute(builder, prefix); in start() 123 builder::addRoute); in start()
|
/packages/apps/Camera2/src/com/android/camera/one/v2/sharedimagereader/ |
D | ImageStreamImpl.java | 57 mImageDistributor.addRoute(timestamps, mImageStreamController); in bind()
|
/packages/modules/Connectivity/service/src/com/android/server/ |
D | TestNetworkService.java | 306 lp.addRoute(new RouteInfo(new IpPrefix( in registerTestNetworkAgent() 310 lp.addRoute(new RouteInfo(new IpPrefix( in registerTestNetworkAgent()
|
/packages/modules/Connectivity/thread/service/java/com/android/server/thread/ |
D | TunInterfaceController.java | 187 mLinkProperties.addRoute(getRouteForAddress(address)); in addAddress() 262 mLinkProperties.addRoute(routeAdded); in updatePrefixes()
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/ |
D | IpConnectivityMetricsTest.java | 625 nai.linkProperties.addRoute(new RouteInfo(new IpPrefix("0.0.0.0/0"))); in makeNai() 629 nai.linkProperties.addRoute(new RouteInfo(new IpPrefix("::/0"))); in makeNai()
|
D | DnsManagerTest.java | 174 lp.addRoute(new RouteInfo((IpPrefix) null, InetAddress.getByName("192.0.2.4"), in testTrackedValidationUpdates() 177 lp.addRoute(new RouteInfo((IpPrefix) null, InetAddress.getByName("2001:db8:1::1"), in testTrackedValidationUpdates()
|
/packages/modules/Connectivity/service/src/com/android/server/connectivity/ |
D | RoutingCoordinatorService.java | 61 public void addRoute(final int netId, final RouteInfo route) in addRoute() method in RoutingCoordinatorService
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivityservice/ |
D | CSCaptivePortalAppTest.kt | 76 addRoute(RouteInfo(IpPrefix("0.0.0.0/0"), null, null)) in <lambda>()
|