Searched defs:routes (Results 1 - 7 of 7) sorted by last modified time
/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/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/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
|
/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/android/net/ |
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) {
|
/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);
|
Completed in 1042 milliseconds