HomeSort by relevance Sort by last modified time
    Searched defs:route (Results 1 - 25 of 134) sorted by null

1 2 3 4 5 6

  /external/apache-http/src/org/apache/http/impl/conn/tsccm/
BasicPoolEntryRef.java 43 * This reference explicitly keeps the planned route, so the connection
53 /** The planned route of the entry. */
54 private final HttpRoute route; field in class:BasicPoolEntryRef
70 route = entry.getPlannedRoute();
75 * Obtain the planned route for the referenced entry.
76 * The planned route is still available, even if the entry is gone.
78 * @return the planned route
81 return this.route;
RouteSpecificPool.java 46 * A connection sub-pool for a specific route, used by {@link ConnPoolByRoute}.
59 /** The route this pool is for. */
60 protected final HttpRoute route; field in class:RouteSpecificPool
80 * Creates a new route-specific pool.
82 * @param route the route for which to pool
85 public RouteSpecificPool(HttpRoute route, int maxEntries) {
86 this.route = route;
95 * Obtains the route for which this pool is specific
    [all...]
  /frameworks/av/services/audiopolicy/common/managerdefinitions/src/
SessionRoute.cpp 56 sp<SessionRoute> route = indexOfKey(session) >= 0 ? valueFor(session) : 0; local
57 if (route != 0) {
58 ALOG_ASSERT(route->mRefCount > 0);
59 --route->mRefCount;
60 if (route->mRefCount <= 0) {
68 sp<SessionRoute> route = indexOfKey(session) >= 0 ? valueFor(session) : 0; local
69 return route != 0 ? ++(route->mActivityCount) : -1;
74 sp<SessionRoute> route = indexOfKey(session) >= 0 ? valueFor(session) : 0; local
75 if (route != 0 && route->mActivityCount > 0)
104 sp<SessionRoute> route = indexOfKey(session) >= 0 ? valueFor(session) : 0; local
    [all...]
  /external/apache-http/src/org/apache/http/impl/client/
RoutedRequest.java 38 * A request with the route along which it should be sent.
56 protected final HttpRoute route; field in class:RoutedRequest
62 * @param route the route
64 public RoutedRequest(final RequestWrapper req, final HttpRoute route) {
67 this.route = route;
75 return route;
  /external/apache-http/src/org/apache/http/impl/conn/
DefaultHttpRoutePlanner.java 69 * Creates a new default route planner.
93 // If we have a forced route, we can do without a target.
94 HttpRoute route = local
96 if (route != null)
97 return route;
99 // If we get here, there is no forced route.
100 // So we need a target to compute a route.
118 route = new HttpRoute(target, local, secure);
120 route = new HttpRoute(target, local, proxy, secure);
122 return route;
    [all...]
ProxySelectorRoutePlanner.java 82 * Creates a new proxy selector route planner.
133 // If we have a forced route, we can do without a target.
134 HttpRoute route = local
136 if (route != null)
137 return route;
139 // If we get here, there is no forced route.
140 // So we need a target to compute a route.
169 route = new HttpRoute(target, local, secure);
171 route = new HttpRoute(target, local, proxy, secure);
173 return route;
    [all...]
AbstractPoolEntry.java 52 * {@link HttpRoute route} established.
53 * The adapter delegates methods for establishing the route to
58 * underlying connection and the established route.
82 /** The route for which this entry gets allocated. */
86 protected volatile HttpRoute route; field in class:AbstractPoolEntry
91 /** The tracked route, or <code>null</code> before tracking starts. */
99 * @param route the planned route for the connection,
103 HttpRoute route) {
110 this.route = route
    [all...]
  /external/nist-sip/java/gov/nist/javax/sip/header/
RouteList.java 35 * A list of Route Headers.
44 public class RouteList extends SIPHeaderList<Route> {
52 super(Route.class, RouteHeader.NAME);
69 * Order is important when comparing route lists.
77 ListIterator<Route> it = this.listIterator();
78 ListIterator<Route> it1 = that.listIterator();
80 Route route = (Route) it.next(); local
81 Route route1 = (Route) it1.next()
    [all...]
  /external/nist-sip/java/gov/nist/javax/sip/parser/
RouteParser.java 31 * Parser for a list of route headers.
45 * @param route message to parse to set
47 public RouteParser(String route) {
48 super(route);
55 /** parse the String message and generate the Route List Object
56 * @return SIPHeader the Route List object
65 this.lexer.match(TokenTypes.ROUTE);
70 Route route = new Route(); local
    [all...]
  /frameworks/base/core/java/com/android/internal/app/
MediaRouteChooserDialog.java 40 * This class implements the route chooser dialog for {@link MediaRouter}.
42 * This dialog allows the user to choose a route that matches a given selector.
69 * Gets the media route types for filtering the routes that the user can
70 * select using the media route chooser dialog.
72 * @return The route types.
79 * Sets the types of routes that will be shown in the media route chooser dialog
82 * @param types The route types to match.
106 * Returns true if the route should be included in the list.
109 * match the route types. Subclasses can override this method to filter routes
113 * @param route The route to consider, never null
192 MediaRouter.RouteInfo route = mRouter.getRouteAt(i); local
217 MediaRouter.RouteInfo route = getItem(position); local
235 MediaRouter.RouteInfo route = getItem(position); local
    [all...]
MediaRouteDialogPresenter.java 30 * Shows media route dialog as appropriate.
47 MediaRouter.RouteInfo route = router.getSelectedRoute(); local
48 if (route.isDefault() || !route.matchesTypes(routeTypes)) {
50 Log.w(TAG, "showDialog(): Route chooser dialog already showing!");
60 Log.w(TAG, "showDialog(): Route controller dialog already showing!");
74 MediaRouter.RouteInfo route = router.getSelectedRoute(); local
75 if (route.isDefault() || !route.matchesTypes(routeTypes)) {
  /external/apache-http/src/org/apache/http/conn/params/
ConnRouteParams.java 43 * An adaptor for accessing route related parameters in {@link HttpParams}.
69 * A special value indicating "no route".
70 * This is a route with {@link #NO_HOST} as the target.
133 * @return the forced route set in the argument parameters, or
140 HttpRoute route = (HttpRoute) local
142 if ((route != null) && NO_ROUTE.equals(route)) {
144 route = null;
146 return route;
155 * @param route the value to set, may be <code>null</code>
    [all...]
  /external/libnl/lib/route/
route.c 2 * lib/route/route.c Routes
14 * @defgroup route Routing
24 #include <netlink/route/rtnl.h>
25 #include <netlink/route/route.h>
26 #include <netlink/route/link.h>
33 struct rtnl_route *route; local
36 if ((err = rtnl_route_parse(nlh, &route)) < 0)
39 err = pp->pp_cb((struct nl_object *) route, pp)
    [all...]
  /external/libnl/src/
nl-route-list.c 2 * src/nl-route-list.c List route attributes
13 #include <netlink/cli/route.h>
19 "Usage: nl-route-list [OPTION]... [ROUTE]\n"
22 " -c, --cache List the contents of the route cache\n"
27 "Route Options\n"
30 " dev=DEV route via device\n"
33 " via=GATEWAY route via other node\n"
54 struct rtnl_route *route; local
    [all...]
nl-route-add.c 2 * src/nl-route-add.c Route addition utility
13 #include <netlink/cli/route.h>
22 "Usage: nl-route-add [OPTION]... [ROUTE]\n"
29 "Route Options\n"
32 " dev=DEV route via device\n"
35 " via=GATEWAY route via other node\n"
55 struct rtnl_route *route; local
66 route = nl_cli_route_alloc()
    [all...]
nl-route-delete.c 2 * src/nl-route-delete.c Delete Routes
13 #include <netlink/cli/route.h>
29 "Usage: nl-route-delete [OPTION]... [ROUTE]\n"
38 "Route Options\n"
41 " dev=DEV route via device\n"
44 " via=GATEWAY route via other node\n"
63 struct rtnl_route *route = (struct rtnl_route *) obj; local
73 if ((err = rtnl_route_delete(sock, route, 0)) < 0)
74 nl_cli_fatal(err, "Unable to delete route: %s", nl_geterror(err))
87 struct rtnl_route *route; local
    [all...]
  /frameworks/support/v7/mediarouter/src/android/support/v7/app/
MediaRouteChooserDialog.java 42 * This class implements the route chooser dialog for {@link MediaRouter}.
44 * This dialog allows the user to choose a route that matches a given selector.
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.
123 * Returns true if the route should be included in the list.
130 * @param route The route to consider, never null.
131 * @return True if the route should be included in the chooser dialog.
133 public boolean onFilterRoute(@NonNull MediaRouter.RouteInfo route) {
134 return !route.isDefault() && route.isEnabled() && route.matchesSelector(mSelector)
214 MediaRouter.RouteInfo route = getItem(position); local
232 MediaRouter.RouteInfo route = getItem(position); local
    [all...]
  /packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/address/
Mailbox.java 30 private DomainList route; field in class:Mailbox
35 * Creates a mailbox without a route. Routes are obsolete.
44 * Creates a mailbox with a route. Routes are obsolete.
45 * @param route The zero or more domains that make up the route. Can be null.
49 public Mailbox(DomainList route, String localPart, String domain) {
50 this.route = route;
56 * Returns the route list.
59 return route;
    [all...]
  /packages/services/Telephony/src/org/apache/james/mime4j/field/address/
Mailbox.java 30 private DomainList route; field in class:Mailbox
35 * Creates a mailbox without a route. Routes are obsolete.
44 * Creates a mailbox with a route. Routes are obsolete.
45 * @param route The zero or more domains that make up the route. Can be null.
49 public Mailbox(DomainList route, String localPart, String domain) {
50 this.route = route;
56 * Returns the route list.
59 return route;
    [all...]
  /frameworks/base/media/java/android/media/
MediaRouterClientState.java 38 * The id of the current globally selected route, or null if none.
39 * Globally selected routes override any other route selections that applications
56 final RouteInfo route = routes.get(i); local
57 if (route.id.equals(id)) {
58 return route;
  /frameworks/base/telecomm/java/android/telecom/
AudioState.java 57 private final int route; field in class:AudioState
60 public AudioState(boolean muted, int route, int supportedRouteMask) {
62 this.route = route;
68 route = state.getRoute();
74 route = state.getRoute();
94 "[AudioState isMuted: %b, route: %s, supportedRouteMask: %s]",
96 audioRouteToString(route),
100 public static String audioRouteToString(int route) {
101 if (route == 0 || (route & ~ROUTE_ALL) != 0x0)
    [all...]
CallAudioState.java 52 private final int route; field in class:CallAudioState
59 * @param route The current audio route being used.
72 public CallAudioState(boolean muted, int route, int supportedRouteMask) {
74 this.route = route;
81 route = state.getRoute();
89 route = state.getRoute();
109 "[AudioState isMuted: %b, route: %s, supportedRouteMask: %s]",
111 audioRouteToString(route),
    [all...]
  /system/bt/btif/co/
bta_dm_co.c 222 tBTM_SCO_ROUTE_TYPE route = BTA_DM_SCO_ROUTE_PCM; local
236 route = btui_cb.sco_hci = BTA_DM_SCO_ROUTE_HCI;
239 if (p_codec_type->codec_type == BTA_SCO_CODEC_PCM && route == BTA_DM_SCO_ROUTE_HCI)
248 return route;
  /external/apache-http/src/org/apache/http/conn/routing/
RouteTracker.java 40 * Helps tracking the steps in establishing a route.
67 // now follow attributes that indicate the established route
69 /** Whether the first hop of the route is established. */
75 /** Whether the the route is tunnelled end-to-end through proxies. */
78 /** Whether the route is layered over a tunnel. */
81 /** Whether the route is secure. */
86 * Creates a new route tracker.
89 * @param target the host to which to route
90 * @param local the local address to route from, or
105 * Creates a new tracker for the given route
    [all...]
  /packages/apps/Settings/src/com/android/settings/wfd/
WifiDisplaySettings.java 261 MediaRouter.RouteInfo route = mRouter.getRouteAt(i); local
262 if (route.matchesTypes(MediaRouter.ROUTE_TYPE_REMOTE_DISPLAY)) {
263 preferenceScreen.addPreference(createRoutePreference(route));
291 private RoutePreference createRoutePreference(MediaRouter.RouteInfo route) {
292 WifiDisplay display = findWifiDisplay(route.getDeviceAddress());
294 return new WifiDisplayRoutePreference(getActivity(), route, display);
296 return new RoutePreference(getActivity(), route);
549 private void toggleRoute(MediaRouter.RouteInfo route) {
550 if (route.isSelected()) {
554 route.select()
    [all...]

Completed in 446 milliseconds

1 2 3 4 5 6