Home
last modified time | relevance | path

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

/frameworks/base/services/jni/
Dcom_android_server_connectivity_Vpn.cpp190 static int set_routes(const char *name, const char *routes) in set_routes() argument
214 while (sscanf(routes, " %64[^/]/%d %n", address, &prefix, &chars) == 2) { in set_routes()
215 routes += chars; in set_routes()
272 } else if (*routes) { in set_routes()
273 LOGE("Invalid route: %s", routes); in set_routes()
382 const char *routes = NULL; in setRoutes() local
390 routes = jRoutes ? env->GetStringUTFChars(jRoutes, NULL) : NULL; in setRoutes()
391 if (!routes) { in setRoutes()
395 count = set_routes(name, routes); in setRoutes()
405 if (routes) { in setRoutes()
[all …]
/frameworks/base/cmds/ip-up-vpn/
Dip-up-vpn.c85 const char *routes = env("SPLIT_INCLUDE_CIDR"); in main() local
139 fprintf(state, "%s\n", routes[0] ? routes : "0.0.0.0/0"); in main()
/frameworks/base/core/java/com/android/internal/net/
DVpnConfig.java60 public String routes; field in VpnConfig
78 out.writeString(routes); in writeToParcel()
95 config.routes = in.readString();
/frameworks/base/core/java/android/net/
DRouteInfo.java240 public static RouteInfo selectBestRoute(Collection<RouteInfo> routes, InetAddress dest) { in selectBestRoute() argument
241 if ((routes == null) || (dest == null)) return null; in selectBestRoute()
245 for (RouteInfo route : routes) { in selectBestRoute()
DLinkProperties.java165 String routes = "Routes: ["; in toString() local
166 for (RouteInfo route : mRoutes) routes += route.toString() + ","; in toString()
167 routes += "] "; in toString()
170 return ifaceName + linkAddresses + routes + dns + proxy; in toString()
DVpnService.java469 mConfig.routes = mRoutes.toString(); in establish()
/frameworks/base/services/java/com/android/server/connectivity/
DVpn.java215 if (config.routes != null) { in establish()
216 jniSetRoutes(interfaze, config.routes); in establish()
344 private native int jniSetRoutes(String interfaze, String routes); in jniSetRoutes() argument
589 if (mConfig.routes == null || mConfig.routes.isEmpty()) { in execute()
590 mConfig.routes = parameters[2].trim(); in execute()
610 jniSetRoutes(mConfig.interfaze, mConfig.routes); in execute()
/frameworks/base/services/java/com/android/server/
DNetworkManagementService.java592 ArrayList<RouteInfo> routes = new ArrayList<RouteInfo>(); in getRoutes() local
621 routes.add(route); in getRoutes()
653 routes.add(route); in getRoutes()
661 return (RouteInfo[]) routes.toArray(new RouteInfo[0]); in getRoutes()
/frameworks/base/media/java/android/media/
DAudioManager.java1235 public void setRouting(int mode, int routes, int mask) { in setRouting() argument
/frameworks/base/docs/html/guide/topics/manifest/
Dactivity-element.jd464 target task and routes the intent to it.</td>
470 the system routes the intent to that instance through a call to its {@link
479 <td>The system creates the activity at the root of a new task and routes the
481 routes the intent to existing instance through a call to its {@link
/frameworks/base/docs/html/guide/topics/fundamentals/
Dtasks-and-back-stack.jd296 which it was started and routes the intent to it. The activity can be instantiated multiple times,
300 routes the intent to that instance through a call to its {@link
322 However, if an instance of the activity already exists in a separate task, the system routes the
/frameworks/base/docs/html/guide/publishing/
Dlicensing.jd424 and finally routes the response back to your application. To debug and test