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

/frameworks/native/cmds/ip-up-vpn/
H A Dip-up-vpn.c49 * are interface, addresses, routes, DNS servers, and search domains and VPN
87 const char *routes = env("SPLIT_INCLUDE_CIDR"); local
120 fprintf(state, "%s\n", routes[0] ? routes : "0.0.0.0/0");
/frameworks/support/v7/mediarouter/src/android/support/v7/media/
H A DMediaRouteProviderDescriptor.java27 * Describes the state of a media route provider and the routes that it publishes.
33 static final String KEY_ROUTES = "routes";
39 List<MediaRouteDescriptor> routes) {
41 mRoutes = routes;
45 * Gets the list of all routes that this provider has published.
68 * Returns true if the route provider descriptor and all of the routes that
72 * valid then it is not necessary to call {@link #isValid} on each of its routes.
91 result.append("routes=").append(
166 * Adds a list of routes.
168 public Builder addRoutes(Collection<MediaRouteDescriptor> routes) { argument
38 MediaRouteProviderDescriptor(Bundle bundle, List<MediaRouteDescriptor> routes) argument
[all...]
/frameworks/base/media/java/android/media/
H A DMediaRouterClientState.java26 * a particular client and the routes that are available to it.
33 * A list of all known routes.
35 public final ArrayList<RouteInfo> routes; field in class:MediaRouterClientState
39 * Globally selected routes override any other route selections that applications
45 routes = new ArrayList<RouteInfo>();
49 routes = src.createTypedArrayList(RouteInfo.CREATOR);
54 final int count = routes.size();
56 final RouteInfo route = routes.get(i);
71 dest.writeTypedList(routes);
78 + globallySelectedRouteId + ", routes
[all...]
H A DAudioManager.java1656 * @param routes bit vector of routes requested, created from one or
1658 * @param mask bit vector of routes to change, created from one or more of
1665 public void setRouting(int mode, int routes, int mask) { argument
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
H A DHwModule.cpp166 void HwModule::setRoutes(const AudioRouteVector &routes) argument
168 mRoutes = routes;
179 const AudioRouteVector &routes = stream->getRoutes(); local
180 for (size_t j = 0; j < routes.size(); j++) {
181 sp<AudioPort> sink = routes[j]->getSink();
186 DeviceVector sourceDevicesForRoute = getRouteSourceDevices(routes[j]);
202 const AudioRouteVector &routes = stream->getRoutes(); local
203 for (size_t j = 0; j < routes.size(); j++) {
204 sp<AudioPort> source = routes[j]->getSources().findByTagName(stream->getTagName());
209 sp<DeviceDescriptor> sinkDevice = getRouteSinkDevice(routes[
[all...]
H A DSerializer.cpp338 const char *const RouteTraits::collectionTag = "routes";
444 RouteTraits::Collection routes; local
445 deserializeCollection<RouteTraits>(doc, root, routes, module.get());
446 module->setRoutes(routes);
/frameworks/base/core/java/android/net/
H A DRouteInfo.java112 // - LinkProperties sets the interface on routes added to it, and modifies the
113 // interfaces of all the routes when its interface name changes.
116 // For now, we just rely on the code that sets routes to do things properly.
374 * Find the route from a Collection of routes that best matches a given address.
375 * May return null if no routes are applicable.
376 * @param routes a Collection of RouteInfos to chose from
382 public static RouteInfo selectBestRoute(Collection<RouteInfo> routes, InetAddress dest) { argument
383 if ((routes == null) || (dest == null)) return null;
387 for (RouteInfo route : routes) {
/frameworks/base/core/java/com/android/internal/net/
H A DVpnConfig.java92 public List<RouteInfo> routes = new ArrayList<RouteInfo>(); field in class:VpnConfig
118 String[] routes = routesStr.trim().split(" ");
119 for (String route : routes) {
122 this.routes.add(info);
152 out.writeTypedList(routes);
177 in.readTypedList(config.routes, RouteInfo.CREATOR);
H A DVpnProfile.java56 public String routes = ""; // 7 field in class:VpnProfile
81 routes = in.readString();
102 out.writeString(routes);
136 profile.routes = values[7];
161 builder.append('\0').append(routes);
/frameworks/base/services/net/java/android/net/ip/
H A DIpReachabilityMonitor.java283 private static boolean isOnLink(List<RouteInfo> routes, InetAddress ip) { argument
284 for (RouteInfo route : routes) {
311 final List<RouteInfo> routes = mLinkProperties.getRoutes();
312 for (RouteInfo route : routes) {
315 if (isOnLink(routes, gw)) {
322 if (isOnLink(routes, nameserver)) {
/frameworks/support/v7/mediarouter/src/android/support/v7/app/
H A DMediaRouteChooserDialog.java103 * Gets the media route selector for filtering the routes that the user can select.
113 * Sets the media route selector for filtering the routes that the user can select.
136 * Called to filter the set of routes that should be included in the list.
138 * The default implementation iterates over all routes in the provided list and
142 * @param routes The list of routes to filter in-place, never null.
144 public void onFilterRoutes(@NonNull List<MediaRouter.RouteInfo> routes) { argument
145 for (int i = routes.size(); i-- > 0; ) {
146 if (!onFilterRoute(routes.get(i))) {
147 routes
239 updateRoutes(List<MediaRouter.RouteInfo> routes) argument
254 RouteAdapter(Context context, List<MediaRouter.RouteInfo> routes) argument
[all...]
/frameworks/base/telecomm/java/android/telecom/
H A DPhoneAccount.java467 * Sets the audio routes supported by this {@link PhoneAccount}.
469 * @param routes bit mask of available routes.
473 public Builder setSupportedAudioRoutes(int routes) { argument
474 mSupportedAudioRoutes = routes;
604 * Determines if this {@code PhoneAccount} has routes specified by the passed in bit mask.
606 * @param route The routes to check.
607 * @return {@code true} if the phone account has the routes.
610 public boolean hasAudioRoutes(int routes) { argument
611 return (mSupportedAudioRoutes & routes)
[all...]
/frameworks/base/services/core/java/com/android/server/
H A DNetworkManagementService.java1248 List<RouteInfo> routes = new ArrayList<>();
1251 routes.add(new RouteInfo(getInterfaceConfig(iface).getLinkAddress(), null, iface));
1252 addInterfaceToLocalNetwork(iface, routes);
1347 // Don't touch link-local routes, as link-local addresses aren't routable,
1348 // kernel creates link-local routes on all interfaces automatically
2591 public void addInterfaceToLocalNetwork(String iface, List<RouteInfo> routes) { argument
2594 for (RouteInfo route : routes) {
2607 public int removeRoutesFromLocalNetwork(List<RouteInfo> routes) { argument
2610 for (RouteInfo route : routes) {

Completed in 5490 milliseconds