HomeSort by relevance Sort by last modified time
    Searched defs:route (Results 51 - 75 of 301) sorted by null

1 23 4 5 6 7 8 91011>>

  /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
128 sp<SessionRoute> route = valueAt(index); local
    [all...]
  /prebuilts/go/darwin-x86/src/vendor/golang_org/x/net/route/
binary.go 7 package route package
route.go 7 // Package route provides basic functions for the manipulation of
13 package route package
34 // information for the given address prefix, to add a new route, and
35 // to delete or modify the existing route from the routing information
36 // base inside the kernel by writing and reading route messages on a
39 // For the manipulation of routing information, the route message must
54 // route.RouteMessage{
60 // Addrs: []route.Addrs{
61 // RTAX_DST: &route.Inet4Addr{ ... },
62 // RTAX_IFP: &route.LinkAddr{ ... }
    [all...]
address.go 7 package route package
route_test.go 7 package route package
  /prebuilts/go/linux-x86/src/vendor/golang_org/x/net/route/
binary.go 7 package route package
route.go 7 // Package route provides basic functions for the manipulation of
13 package route package
34 // information for the given address prefix, to add a new route, and
35 // to delete or modify the existing route from the routing information
36 // base inside the kernel by writing and reading route messages on a
39 // For the manipulation of routing information, the route message must
54 // route.RouteMessage{
60 // Addrs: []route.Addrs{
61 // RTAX_DST: &route.Inet4Addr{ ... },
62 // RTAX_IFP: &route.LinkAddr{ ... }
    [all...]
address.go 7 package route package
route_test.go 7 package route package
  /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/base/core/java/com/android/internal/app/
MediaRouteChooserDialog.java 41 * This class implements the route chooser dialog for {@link MediaRouter}.
43 * This dialog allows the user to choose a route that matches a given selector.
70 * Gets the media route types for filtering the routes that the user can
71 * select using the media route chooser dialog.
73 * @return The route types.
80 * Sets the types of routes that will be shown in the media route chooser dialog
83 * @param types The route types to match.
107 * Returns true if the route should be included in the list.
110 * match the route types. Subclasses can override this method to filter routes
114 * @param route The route to consider, never null
200 MediaRouter.RouteInfo route = mRouter.getRouteAt(i); local
225 MediaRouter.RouteInfo route = getItem(position); local
243 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!");
78 MediaRouter.RouteInfo route = router.getSelectedRoute(); local
79 if (route.isDefault() || !route.matchesTypes(routeTypes)) {
  /packages/apps/Settings/tests/robotests/src/com/android/settings/wfd/
WifiDisplaySettingsTest.java 77 final MediaRouter.RouteInfo route = mock(MediaRouter.RouteInfo.class); local
79 when(mMediaRouter.getRouteAt(0)).thenReturn(route);
80 when(route.matchesTypes(MediaRouter.ROUTE_TYPE_REMOTE_DISPLAY)).thenReturn(true);
81 when(route.isSelected()).thenReturn(true);
82 when(route.isConnecting()).thenReturn(false);
  /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...]
  /cts/tests/tests/media/src/android/media/cts/
MediaRouterTest.java 107 assertTrue("By default, a media router has at least one route.", count > 0);
140 * Test {@link MediaRouter.UserRouteInfo} with the default route.
143 RouteInfo route = mMediaRouter.getDefaultRoute(); local
145 assertNotNull(route.getCategory());
146 assertNotNull(route.getName());
147 assertNotNull(route.getName(mContext));
148 assertTrue(route.isEnabled());
149 assertFalse(route.isConnecting());
150 assertEquals(RouteInfo.DEVICE_TYPE_UNKNOWN, route.getDeviceType());
151 assertEquals(RouteInfo.PLAYBACK_TYPE_LOCAL, route.getPlaybackType())
340 RouteInfo route = routesInCategory.get(0); local
    [all...]
  /external/apache-http/src/org/apache/http/impl/conn/
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...]
  /external/webrtc/webrtc/base/
natserver.h 96 SocketAddressPair route; member in struct:rtc::NATServer::TransEntry
105 /* Creates a new entry that translates the given route. */
106 void Translate(const SocketAddressPair& route);
  /frameworks/av/packages/MediaComponents/src/com/android/support/mediarouter/app/
MediaRouteChooserDialog.java 60 * This class implements the route chooser dialog for {@link MediaRouter}.
62 * This dialog allows the user to choose a route that matches a given selector.
71 // Do not update the route list immediately to avoid unnatural dialog change.
111 * Gets the media route selector for filtering the routes that the user can select.
121 * Sets the media route selector for filtering the routes that the user can select.
161 * Returns true if the route should be included in the list.
168 * @param route The route to consider, never null.
169 * @return True if the route should be included in the chooser dialog.
171 public boolean onFilterRoute(@NonNull MediaRouter.RouteInfo route) {
302 MediaRouter.RouteInfo route = getItem(position); local
330 MediaRouter.RouteInfo route = getItem(position); local
    [all...]
  /frameworks/base/media/java/android/media/
MediaRouterClientState.java 48 final RouteInfo route = routes.get(i); local
49 if (route.id.equals(id)) {
50 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...]
  /frameworks/support/mediarouter/src/main/java/androidx/mediarouter/app/
MediaRouteChooserDialog.java 56 * This class implements the route chooser dialog for {@link MediaRouter}.
58 * This dialog allows the user to choose a route that matches a given selector.
67 // Do not update the route list immediately to avoid unnatural dialog change.
106 * Gets the media route selector for filtering the routes that the user can select.
116 * Sets the media route selector for filtering the routes that the user can select.
156 * Returns true if the route should be included in the list.
163 * @param route The route to consider, never null.
164 * @return True if the route should be included in the chooser dialog.
166 public boolean onFilterRoute(@NonNull MediaRouter.RouteInfo route) {
289 MediaRouter.RouteInfo route = getItem(position); local
317 MediaRouter.RouteInfo route = getItem(position); local
    [all...]

Completed in 630 milliseconds

1 23 4 5 6 7 8 91011>>