Searched defs:routes (Results 1 - 7 of 7) sorted by relevance

/frameworks/base/cmds/ip-up-vpn/
H A Dip-up-vpn.c49 * 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 DVpnConfig.java65 public String routes; field in class:VpnConfig
84 out.writeString(routes);
102 config.routes = in.readString();
H A DVpnProfile.java57 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/core/java/android/net/
H A DRouteInfo.java234 * 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/services/jni/
H A Dcom_android_server_connectivity_Vpn.cpp190 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/services/java/com/android/server/connectivity/
H A DVpn.java285 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/media/java/android/media/
H A DAudioManager.java1492 * @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

Completed in 111 milliseconds