Home
last modified time | relevance | path

Searched refs:routes (Results 1 – 22 of 22) sorted by relevance

/packages/modules/NetworkStack/tests/unit/src/android/net/ip/
DIpClientTest.java251 final Set<RouteInfo> routes = routes(TEST_PREFIXES); in makeIPv6ProvisionedLinkProperties() local
252 routes.add(defaultIPV6Route(TEST_IPV6_GATEWAY)); in makeIPv6ProvisionedLinkProperties()
254 return linkproperties(addresses, routes, ips(TEST_DNSES)); in makeIPv6ProvisionedLinkProperties()
406 routes(TEST_PREFIXES), emptySet() /* dnses */); in testProvisioningWithInitialConfiguration()
428 notProvisionedCase(links(), routes(), dns(), null), in testIsProvisioned()
429 notProvisionedCase(links(), routes(), dns(), empty), in testIsProvisioned()
432 provisionedCase(links("192.0.2.12/24"), routes(), dns(), empty), in testIsProvisioned()
437 routes(), dns(), empty), in testIsProvisioned()
440 routes("fe80::/64", "fd2c:4e57:8e3c::/64"), dns("fd00:1234:5678::1000"), empty), in testIsProvisioned()
443 routes("::/0"), in testIsProvisioned()
[all …]
/packages/modules/NetworkStack/common/moduleutils/src/android/net/shared/
DRouteUtils.java64 final List<RouteInfo> routes) { in addRoutesToLocalNetwork() argument
66 for (RouteInfo route : routes) { in addRoutesToLocalNetwork()
78 public static int removeRoutesFromLocalNetwork(final INetd netd, final List<RouteInfo> routes) { in removeRoutesFromLocalNetwork() argument
81 for (RouteInfo route : routes) { in removeRoutesFromLocalNetwork()
DNetdUtils.java62 List<RouteInfo> routes = new ArrayList<>(); in tetherInterface() local
63 routes.add(new RouteInfo(dest, null, iface, RTN_UNICAST)); in tetherInterface()
64 RouteUtils.addRoutesToLocalNetwork(netd, iface, routes); in tetherInterface()
/packages/modules/Connectivity/framework/src/android/net/
DStaticIpConfiguration.java202 List<RouteInfo> routes = new ArrayList<RouteInfo>(3); in getRoutes() local
205 routes.add(connectedRoute); in getRoutes()
210 routes.add(RouteInfo.makeHostRoute(gateway, iface)); in getRoutes()
214 routes.add(new RouteInfo((IpPrefix) null, gateway, iface)); in getRoutes()
216 return routes; in getRoutes()
DRouteInfo.java508 public static RouteInfo selectBestRoute(Collection<RouteInfo> routes, InetAddress dest) { in selectBestRoute() argument
509 return NetUtils.selectBestRoute(routes, dest); in selectBestRoute()
DLinkProperties.java764 List<RouteInfo> routes = new ArrayList<>(mRoutes); in getAllRoutes() local
766 routes.addAll(stacked.getAllRoutes()); in getAllRoutes()
768 return routes; in getAllRoutes()
/packages/modules/Connectivity/tests/cts/hostside/app/src/com/android/cts/net/hostside/
DMyVpnService.java77 String routes = intent.getStringExtra(packageName + ".routes"); in start() local
78 if (routes != null) { in start()
79 String[] routeArray = routes.split(","); in start()
143 + " routes=" + routes in start()
DVpnTest.java249 String[] addresses, String[] routes, String allowedApplications, in startVpn() argument
275 .putExtra(mPackageName + ".routes", TextUtils.join(",", routes)) in startVpn()
/packages/modules/NetworkStack/src/android/net/ip/
DIpReachabilityMonitor.java290 private static boolean isOnLink(List<RouteInfo> routes, InetAddress ip) {
291 for (RouteInfo route : routes) {
310 final List<RouteInfo> routes = mLinkProperties.getRoutes();
311 for (RouteInfo route : routes) {
314 if (isOnLink(routes, gw)) {
321 if (isOnLink(routes, dns)) {
DIpClient.java1422 final List<RouteInfo> routes = in assembleLinkProperties() local
1424 for (RouteInfo route : routes) { in assembleLinkProperties()
/packages/modules/Wifi/service/java/com/android/server/wifi/util/
DNetdWrapper.java214 public void addInterfaceToLocalNetwork(String iface, List<RouteInfo> routes) { in addInterfaceToLocalNetwork() argument
217 for (RouteInfo route : routes) { in addInterfaceToLocalNetwork()
441 List<RouteInfo> routes = new ArrayList<>(); in tetherInterface() local
448 routes.add(route); in tetherInterface()
449 addInterfaceToLocalNetwork(iface, routes); in tetherInterface()
/packages/modules/NetworkStack/common/networkstackclient/src/android/net/shared/
DInitialConfiguration.java123 public boolean isProvisionedBy(List<LinkAddress> addresses, List<RouteInfo> routes) { in isProvisionedBy() argument
134 if (routes != null) { in isProvisionedBy()
136 if (!any(routes, (routeSeen) -> isDirectlyConnectedRoute(routeSeen, prefix))) { in isProvisionedBy()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/connectivity/
DNetworkListAdapter.java69 vh.routes = convertView.findViewById(R.id.network_routes); in getView()
95 vh.routes.setText(mNetworkList[position].mRoutes); in getView()
200 public TextView routes; field in NetworkListAdapter.ViewHolder
/packages/modules/Connectivity/tests/unit/java/com/android/internal/net/
DVpnProfileTest.java64 assertEquals("", p.routes); in testDefaults()
91 p.routes = "0.0.0.0/0"; in getSampleIkev2Profile()
/packages/apps/Settings/src/com/android/settings/vpn2/
DConfigDialog.java122 mRoutes = (TextView) mView.findViewById(R.id.routes); in onCreate()
155 mRoutes.setText(mProfile.routes); in onCreate()
625 profile.routes = mRoutes.getText().toString().trim(); in getProfile()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DCallAudioRouteTransitionTests.java110 public RoutingTestParameters setCallSupportedRoutes(int routes) { in setCallSupportedRoutes() argument
111 callSupportedRoutes = routes; in setCallSupportedRoutes()
/packages/modules/Connectivity/tests/unit/java/com/android/server/
DConnectivityServiceTest.java10191 private void assertRoutesAdded(int netId, RouteInfo... routes) throws Exception { in assertRoutesAdded() argument
10195 verify(mMockNetd, times(routes.length)).networkAddRouteParcel(eq(netId), captor.capture()); in assertRoutesAdded()
10196 for (int i = 0; i < routes.length; i++) { in assertRoutesAdded()
10197 assertRouteInfoParcelMatches(routes[i], captor.getAllValues().get(i)); in assertRoutesAdded()
10201 private void assertRoutesRemoved(int netId, RouteInfo... routes) throws Exception { in assertRoutesRemoved() argument
10203 verify(mMockNetd, times(routes.length)).networkRemoveRouteParcel(eq(netId), in assertRoutesRemoved()
10205 for (int i = 0; i < routes.length; i++) { in assertRoutesRemoved()
10206 assertRouteInfoParcelMatches(routes[i], captor.getAllValues().get(i)); in assertRoutesRemoved()
/packages/inputmethods/LatinIME/dictionaries/
Dfr_wordlist.combined.gz1dictionary=main:fr,locale=fr,description=Français,date=1414726264, ...
Den_GB_wordlist.combined.gz1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...
Den_US_wordlist.combined.gz
Dnl_wordlist.combined.gz1dictionary=main:nl,locale=nl,description=Nederlands,date=1414726258, ...
Den_wordlist.combined.gz1dictionary=main:en,locale=en,description=English,date=1414726273, ...