HomeSort by relevance Sort by last modified time
    Searched refs:routes (Results 1 - 25 of 56) sorted by null

1 2 3

  /hardware/libhardware/modules/audio_remote_submix/
audio_hw.cpp 171 route_config_t routes[MAX_ROUTES]; member in struct:android::submix_audio_device
375 rsxadev->routes[route_idx].input = in;
376 rsxadev->routes[route_idx].config.input_channel_mask = config->channel_mask;
378 rsxadev->routes[route_idx].config.input_sample_rate = config->sample_rate;
382 if (!rsxadev->routes[route_idx].output) {
383 rsxadev->routes[route_idx].config.output_sample_rate = 48000;
384 rsxadev->routes[route_idx].config.output_channel_mask = AUDIO_CHANNEL_OUT_STEREO;
390 rsxadev->routes[route_idx].output = out;
391 rsxadev->routes[route_idx].config.output_channel_mask = config->channel_mask;
393 rsxadev->routes[route_idx].config.output_sample_rate = config->sample_rate
    [all...]
  /external/chromium-trace/trace-viewer/third_party/webapp2/webapp2_extras/
routes.py 3 webapp2_extras.routes
20 """Base class for routes with nested routes."""
22 routes = None variable in class:MultiRoute
27 def __init__(self, routes):
28 self.routes = routes
33 for route in self.routes:
68 For example, to restrict routes to a subdomain of the appspot domain::
84 def __init__(self, template, routes)
    [all...]
  /frameworks/base/media/java/android/media/
MediaRouterClientState.java 26 * 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=" + routes.toString() + " }"
    [all...]
  /frameworks/support/v7/mediarouter/src/android/support/v7/media/
MediaRouteProviderDescriptor.java 28 * Describes the state of a media route provider and the routes that it publishes.
34 private static final String KEY_ROUTES = "routes";
40 List<MediaRouteDescriptor> routes) {
42 mRoutes = routes;
46 * Gets the list of all routes that this provider has published.
69 * Returns true if the route provider descriptor and all of the routes that
73 * valid then it is not necessary to call {@link #isValid} on each of its routes.
92 result.append("routes=").append(
167 * Adds a list of routes.
169 public Builder addRoutes(Collection<MediaRouteDescriptor> routes) {
    [all...]
  /frameworks/base/core/java/android/net/
StaticIpConfiguration.java 37 * expressive. For example, it supports multiple IP addresses, multiple routes,
77 * Returns the network routes specified by this object. Will typically include a
84 List<RouteInfo> routes = new ArrayList<RouteInfo>(3); local
87 routes.add(connectedRoute);
89 routes.add(RouteInfo.makeHostRoute(gateway, iface));
93 routes.add(new RouteInfo((IpPrefix) null, gateway, iface));
95 return routes;
IpReachabilityMonitor.java 196 private static boolean isOnLink(List<RouteInfo> routes, InetAddress ip) {
197 for (RouteInfo route : routes) {
224 final List<RouteInfo> routes = mLinkProperties.getRoutes(); local
225 for (RouteInfo route : routes) {
228 if (isOnLink(routes, gw)) {
235 if (isOnLink(routes, nameserver)) {
LinkProperties.java 503 * Returns all the routes on this link and all the links stacked above it.
507 List<RouteInfo> routes = new ArrayList(); local
508 routes.addAll(mRoutes);
510 routes.addAll(stacked.getAllRoutes());
512 return routes;
632 String routes = " Routes: ["; local
633 for (RouteInfo route : mRoutes) routes += route.toString() + ",";
634 routes += "] ";
645 return "{" + ifaceName + linkAddresses + routes + dns + domainName + mt
    [all...]
RouteInfo.java 112 // - 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) {
383 if ((routes == null) || (dest == null)) return null;
387 for (RouteInfo route : routes) {
  /external/nist-sip/java/gov/nist/javax/sip/stack/
DefaultRouter.java 173 RouteList routes = sipRequest.getRouteHeaders(); local
192 if (routes != null) {
196 Route route = (Route) routes.getFirst();
264 RouteList routes = req.getRouteHeaders(); local
265 Route first = (Route) routes.getFirst();
267 routes.removeFirst();
274 routes.add(route); // as last one
  /frameworks/native/cmds/ip-up-vpn/
ip-up-vpn.c 49 * are interface, addresses, routes, DNS servers, and search domains and VPN
64 * does this, but others might not. Routes, DNS servers, and search domains
87 const char *routes = env("SPLIT_INCLUDE_CIDR"); local
120 fprintf(state, "%s\n", routes[0] ? routes : "0.0.0.0/0");
  /cts/hostsidetests/net/app/src/com/android/cts/net/hostside/
MyVpnService.java 71 String routes = intent.getStringExtra(packageName + ".routes"); local
72 if (routes != null) {
73 String[] routeArray = routes.split(",");
123 + " routes=" + routes
  /frameworks/base/core/java/com/android/internal/net/
VpnConfig.java 92 public List<RouteInfo> routes = new ArrayList<RouteInfo>(); field in class:VpnConfig
118 String[] routes = routesStr.trim().split(" "); local
119 for (String route : routes) {
122 this.routes.add(info);
152 out.writeTypedList(routes);
177 in.readTypedList(config.routes, RouteInfo.CREATOR);
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);
  /frameworks/support/v7/mediarouter/src/android/support/v7/app/
MediaRouteChooserDialog.java 73 * Gets the media route selector for filtering the routes that the user can select.
83 * Sets the media route selector for filtering the routes that the user can select.
106 * Called to filter the set of routes that should be included in the list.
108 * The default implementation iterates over all routes in the provided list and
112 * @param routes The list of routes to filter in-place, never null.
114 public void onFilterRoutes(@NonNull List<MediaRouter.RouteInfo> routes) {
115 for (int i = routes.size(); i-- > 0; ) {
116 if (!onFilterRoute(routes.get(i))) {
117 routes.remove(i)
    [all...]
  /packages/apps/Settings/tests/src/com/android/settings/vpn2/
VpnProfileParser.java 51 boolean routes;
115 if (tagName.equalsIgnoreCase("routes")) {
116 routes = true;
197 if (routes) {
198 profile.routes = strValue;
199 routes = false;
  /external/dhcpcd/
dhcp.c 73 * routes. For completeness, we also specify static routes,
563 struct rt *routes = NULL; local
574 free_routes(routes);
583 routes = rt = xzalloc(sizeof(*routes));
599 return routes;
749 /* This calculates the netmask that we should use for static routes.
780 * Otherwise we add static routes and then routers. */
787 struct rt *routes = NULL local
    [all...]
if-options.h 98 struct rt *routes; member in struct:if_options
configure.c 65 static struct rt *routes; variable in typeref:struct:rt
466 f = find_route(routes, rt, &l, NULL);
473 routes = f->next;
481 /* Don't set default routes if not asked to */
507 /* Don't set default routes if not asked to */
583 if (iface->state->options->routes != NULL) {
584 for (rt = iface->state->options->routes;
606 /* Some DHCP servers add set host routes by setting the gateway
713 if ((or = find_route(routes, rt, &rtl, NULL))) {
725 routes = or->next
    [all...]
net.c 597 free_routes(struct rt *routes)
601 while (routes) {
602 r = routes->next;
603 free(routes);
604 routes = r;
if-options.c 643 } else if (strncmp(arg, "routes=", strlen("routes=")) == 0 ||
650 syslog(LOG_ERR, "all routes need a gateway");
656 if (ifo->routes == NULL) {
657 rt = ifo->routes = xmalloc(sizeof(*rt));
659 rt = ifo->routes;
670 if (ifo->routes == NULL) {
671 rt = ifo->routes = xzalloc(sizeof(*rt));
673 rt = ifo->routes;
931 free_routes(ifo->routes);
    [all...]
  /system/extras/tests/net_test/
net_test.py 217 routes = open("/proc/net/ipv6_route").readlines()
218 for route in routes:
221 # Routes in non-default tables end up in /proc/net/ipv6_route!!!
226 routes = open("/proc/net/route").readlines()
227 for route in routes:
  /external/iproute2/doc/
ip-cref.tex     [all...]
  /packages/apps/Settings/src/com/android/settings/vpn2/
ConfigDialog.java 101 mRoutes = (TextView) mView.findViewById(R.id.routes);
122 mRoutes.setText(mProfile.routes);
162 !mProfile.routes.isEmpty()) {
376 profile.routes = mRoutes.getText().toString().trim();
  /frameworks/base/core/java/android/os/
INetworkManagementService.aidl 100 * Retrieves the network routes currently configured on the specified
441 void addInterfaceToLocalNetwork(String iface, in List<RouteInfo> routes);
  /frameworks/base/services/core/java/com/android/server/connectivity/
Vpn.java 373 if (mConfig.routes != null) {
374 for (RouteInfo route : mConfig.routes) {
    [all...]

Completed in 501 milliseconds

1 2 3