Searched refs:routes (Results 1 - 12 of 12) sorted by relevance
/frameworks/base/cmds/ip-up-vpn/ |
H A D | ip-up-vpn.c | 49 * are interface, addresses, routes, DNS servers, and search domains. Each 85 const char *routes = env("SPLIT_INCLUDE_CIDR"); local 139 fprintf(state, "%s\n", routes[0] ? routes : "0.0.0.0/0");
|
/frameworks/base/core/java/com/android/internal/net/ |
H A D | VpnConfig.java | 65 public String routes; field in class:VpnConfig 84 out.writeString(routes); 102 config.routes = in.readString();
|
H A D | VpnProfile.java | 57 public String routes = ""; // 7 field in class:VpnProfile 82 routes = in.readString(); 103 out.writeString(routes); 137 profile.routes = values[7]; 162 builder.append('\0').append(routes);
|
/frameworks/base/services/jni/ |
H A D | com_android_server_connectivity_Vpn.cpp | 190 static int set_routes(const char *name, const char *routes) argument 214 while (sscanf(routes, " %64[^/]/%d %n", address, &prefix, &chars) == 2) { 215 routes += chars; 272 } else if (*routes) { 273 ALOGE("Invalid route: %s", routes); 382 const char *routes = NULL; local 390 routes = jRoutes ? env->GetStringUTFChars(jRoutes, NULL) : NULL; 391 if (!routes) { 392 jniThrowNullPointerException(env, "routes"); 395 count = set_routes(name, routes); [all...] |
/frameworks/base/core/java/android/net/ |
H A D | LinkProperties.java | 165 String routes = "Routes: ["; 166 for (RouteInfo route : mRoutes) routes += route.toString() + ","; 167 routes += "] "; 170 return ifaceName + linkAddresses + routes + dns + proxy; 322 * Return two lists, a list of routes that would be removed from 323 * mRoutes and a list of routes that would be added to 327 * @param target is a LinkProperties with the new list of routes 333 * routes which are common between mDnses and target 334 * leaving the routes that are different. And route address which
|
H A D | RouteInfo.java | 234 * Find the route from a Collection of routes that best matches a given address. 235 * May return null if no routes are applicable. 236 * @param routes a Collection of RouteInfos to chose from 240 public static RouteInfo selectBestRoute(Collection<RouteInfo> routes, InetAddress dest) { argument 241 if ((routes == null) || (dest == null)) return null; 245 for (RouteInfo route : routes) {
|
H A D | VpnService.java | 157 * destination is covered by VPN routes. Otherwise its outgoing packets 350 * routes are supported. 469 mConfig.routes = mRoutes.toString();
|
/frameworks/base/services/java/com/android/server/connectivity/ |
H A D | Vpn.java | 285 if (config.routes != null) { 286 jniSetRoutes(interfaze, config.routes); 444 private native int jniSetRoutes(String interfaze, String routes); argument 557 config.routes = profile.routes; 808 // Set the routes if they are not set in the config. 809 if (mConfig.routes == null || mConfig.routes.isEmpty()) { 810 mConfig.routes = parameters[2].trim(); 829 // Set the routes [all...] |
/frameworks/base/core/java/com/android/internal/app/ |
H A D | MediaRouteChooserDialogFragment.java | 266 List<RouteInfo> routes; 270 routes = cat.getRoutes(mCatRouteList); 277 addGroupEditingCategoryRoutes(routes); 279 addSelectableRoutes(selectedRoute, routes); 282 routes.clear();
|
/frameworks/base/services/java/com/android/server/ |
H A D | NetworkManagementService.java | 688 ArrayList<RouteInfo> routes = new ArrayList<RouteInfo>(); 690 // v4 routes listed as: 717 routes.add(route); 726 // v6 routes listed as: 749 routes.add(route); 757 return routes.toArray(new RouteInfo[routes.size()]);
|
/frameworks/base/media/java/android/media/ |
H A D | AudioManager.java | 1492 * @param routes bit vector of routes requested, created from one or 1494 * @param mask bit vector of routes to change, created from one or more of 1501 public void setRouting(int mode, int routes, int mask) { argument
|
H A D | AudioService.java | 420 // Monitoring of audio routes. Protected by mCurAudioRoutes. 3423 AudioRoutesInfo routes; 3425 routes = new AudioRoutesInfo(mCurAudioRoutes); 3431 obs.dispatchAudioRoutesChanged(routes); 5867 AudioRoutesInfo routes = new AudioRoutesInfo(mCurAudioRoutes); 5869 return routes; 6030 pw.println("\nAudio routes:");
|
Completed in 907 milliseconds