Searched defs:route (Results 1 - 4 of 4) sorted by last modified time

/frameworks/base/services/java/com/android/server/
H A DNetworkManagementService.java609 public void addRoute(String interfaceName, RouteInfo route) { argument
611 modifyRoute(interfaceName, ADD, route, DEFAULT);
615 public void removeRoute(String interfaceName, RouteInfo route) { argument
617 modifyRoute(interfaceName, REMOVE, route, DEFAULT);
621 public void addSecondaryRoute(String interfaceName, RouteInfo route) { argument
623 modifyRoute(interfaceName, ADD, route, SECONDARY);
627 public void removeSecondaryRoute(String interfaceName, RouteInfo route) { argument
629 modifyRoute(interfaceName, REMOVE, route, SECONDARY);
632 private void modifyRoute(String interfaceName, String action, RouteInfo route, String type) { argument
633 final Command cmd = new Command("interface", "route", actio
[all...]
/frameworks/base/nfc-extras/java/com/android/nfc_extras/
H A DNfcAdapterExtras.java122 * Immutable data class that describes a card emulation route.
138 * A route such as {@link #ROUTE_OFF} or {@link #ROUTE_ON_WHEN_SCREEN_ON}.
140 public final int route; field in class:NfcAdapterExtras.CardEmulationRoute
144 * <p>null if {@link #route} is {@link #ROUTE_OFF}, otherwise not null.
148 public CardEmulationRoute(int route, NfcExecutionEnvironment nfcEe) { argument
149 if (route == ROUTE_OFF && nfcEe != null) {
151 } else if (route != ROUTE_OFF && nfcEe == null) {
152 throw new IllegalArgumentException("must specifiy a NFC-EE for this route");
154 this.route = route;
200 setCardEmulationRoute(CardEmulationRoute route) argument
[all...]
/frameworks/base/media/java/android/media/
H A DMediaRouter.java111 // This will select the active wifi display route if there is one.
127 // This will select the active BT route if there is one and the current
128 // selected route is the default system route, or if there is no selected
129 // route yet.
133 // Select the default route if the above didn't sync us up
266 * <p>Unlike other media route types, user routes are managed by the application.
316 * Return the currently selected route for the given types
318 * @param type route types
319 * @return the selected route
368 selectRoute(int types, RouteInfo route) argument
377 selectRouteInt(int types, RouteInfo route) argument
381 selectRouteStatic(int types, RouteInfo route) argument
811 updateWifiDisplayRoute(RouteInfo route, WifiDisplay display, boolean available, WifiDisplayStatus wifiDisplayStatus) argument
883 choosePresentationDisplayForRoute(RouteInfo route, Display[] displays) argument
1517 addRoute(RouteInfo route) argument
1542 addRoute(RouteInfo route, int insertAt) argument
1565 removeRoute(RouteInfo route) argument
2025 public final RouteInfo route; field in class:MediaRouter.VolumeCallbackInfo
2027 VolumeCallbackInfo(VolumeCallback vcb, RouteInfo route) argument
[all...]
/frameworks/base/core/java/android/net/
H A DLinkProperties.java123 public void addRoute(RouteInfo route) { argument
124 if (route != null) mRoutes.add(route);
166 for (RouteInfo route : mRoutes) routes += route.toString() + ",";
334 * leaving the routes that are different. And route address which
383 for(RouteInfo route : mRoutes) {
384 dest.writeParcelable(route, flags);

Completed in 1659 milliseconds