Home
last modified time | relevance | path

Searched refs:routes (Results 1 – 25 of 30) sorted by relevance

12

/frameworks/base/media/java/android/media/
DMediaRouterClientState.java35 public final ArrayList<RouteInfo> routes; field in MediaRouterClientState
45 routes = new ArrayList<RouteInfo>(); in MediaRouterClientState()
49 routes = src.createTypedArrayList(RouteInfo.CREATOR); in MediaRouterClientState()
54 final int count = routes.size(); in getRoute()
56 final RouteInfo route = routes.get(i); in getRoute()
71 dest.writeTypedList(routes); in writeToParcel()
78 + globallySelectedRouteId + ", routes=" + routes.toString() + " }"; in toString()
DAudioManager.java1702 public void setRouting(int mode, int routes, int mask) { in setRouting() argument
/frameworks/support/v7/mediarouter/src/android/support/v7/media/
DMediaRouteProviderDescriptor.java40 List<MediaRouteDescriptor> routes) { in MediaRouteProviderDescriptor() argument
42 mRoutes = routes; in MediaRouteProviderDescriptor()
169 public Builder addRoutes(Collection<MediaRouteDescriptor> routes) { in addRoutes() argument
170 if (routes == null) { in addRoutes()
174 if (!routes.isEmpty()) { in addRoutes()
175 for (MediaRouteDescriptor route : routes) { in addRoutes()
DRegisteredMediaRouteProvider.java69 List<MediaRouteDescriptor> routes = descriptor.getRoutes(); in onCreateRouteController() local
70 final int count = routes.size(); in onCreateRouteController()
72 final MediaRouteDescriptor route = routes.get(i); in onCreateRouteController()
/frameworks/support/v7/mediarouter/src/android/support/v7/app/
DMediaRouteChooserDialog.java114 public void onFilterRoutes(@NonNull List<MediaRouter.RouteInfo> routes) { in onFilterRoutes() argument
115 for (int i = routes.size(); i-- > 0; ) { in onFilterRoutes()
116 if (!onFilterRoute(routes.get(i))) { in onFilterRoutes()
117 routes.remove(i); in onFilterRoutes()
193 public RouteAdapter(Context context, List<MediaRouter.RouteInfo> routes) { in RouteAdapter() argument
194 super(context, 0, routes); in RouteAdapter()
/frameworks/base/core/java/com/android/internal/net/
DVpnConfig.java92 public List<RouteInfo> routes = new ArrayList<RouteInfo>(); field in VpnConfig
118 String[] routes = routesStr.trim().split(" "); in addLegacyRoutes() local
119 for (String route : routes) { in addLegacyRoutes()
122 this.routes.add(info); in addLegacyRoutes()
152 out.writeTypedList(routes); in writeToParcel()
177 in.readTypedList(config.routes, RouteInfo.CREATOR);
DVpnProfile.java57 public String routes = ""; // 7 field in VpnProfile
82 routes = in.readString(); in VpnProfile()
103 out.writeString(routes); in writeToParcel()
137 profile.routes = values[7]; in decode()
162 builder.append('\0').append(routes); in encode()
/frameworks/base/core/java/android/net/
DStaticIpConfiguration.java84 List<RouteInfo> routes = new ArrayList<RouteInfo>(3); in getRoutes() local
87 routes.add(connectedRoute); in getRoutes()
89 routes.add(RouteInfo.makeHostRoute(gateway, iface)); in getRoutes()
93 routes.add(new RouteInfo((IpPrefix) null, gateway, iface)); in getRoutes()
95 return routes; in getRoutes()
DIpReachabilityMonitor.java196 private static boolean isOnLink(List<RouteInfo> routes, InetAddress ip) { in isOnLink() argument
197 for (RouteInfo route : routes) { in isOnLink()
224 final List<RouteInfo> routes = mLinkProperties.getRoutes(); in updateLinkProperties() local
225 for (RouteInfo route : routes) { in updateLinkProperties()
228 if (isOnLink(routes, gw)) { in updateLinkProperties()
235 if (isOnLink(routes, nameserver)) { in updateLinkProperties()
DLinkProperties.java507 List<RouteInfo> routes = new ArrayList(); in getAllRoutes() local
508 routes.addAll(mRoutes); in getAllRoutes()
510 routes.addAll(stacked.getAllRoutes()); in getAllRoutes()
512 return routes; in getAllRoutes()
632 String routes = " Routes: ["; in toString() local
633 for (RouteInfo route : mRoutes) routes += route.toString() + ","; in toString()
634 routes += "] "; in toString()
645 return "{" + ifaceName + linkAddresses + routes + dns + domainName + mtu in toString()
DRouteInfo.java382 public static RouteInfo selectBestRoute(Collection<RouteInfo> routes, InetAddress dest) { in selectBestRoute() argument
383 if ((routes == null) || (dest == null)) return null; in selectBestRoute()
387 for (RouteInfo route : routes) { in selectBestRoute()
DVpnService.java766 mConfig.routes = mRoutes; in establish()
/frameworks/native/cmds/ip-up-vpn/
Dip-up-vpn.c87 const char *routes = env("SPLIT_INCLUDE_CIDR"); in main() local
120 fprintf(state, "%s\n", routes[0] ? routes : "0.0.0.0/0"); in main()
/frameworks/base/tests/RemoteDisplayProvider/
DREADME8 remote display routes. Behavior can be controlled by modifying the
/frameworks/base/docs/html/guide/topics/media/
Dmediarouter.jd20 <li><a href="#media-routes">Connecting to Media Routes</a>
82 available media routes. Content channelled through a media route passes through the route's
196 routes and presents a list of choices to the user, as shown in figure 3.</p>
200 <strong>Figure 3.</strong> A list of available media routes, shown after pressing the Cast button.
204 <p>The <em>types</em> of media routes that appear on this list&mdash;Remote Playback, Secondary
240 // Create a route selector for the type of routes your app supports.
252 media routes that your app supports, as shown in figure 3. Once you have defined this selector,
283 <h2 id="media-routes">Connecting to Media Routes</h2>
383 your callbacks for media routes.</p>
388 <p>Since media routes are a shared interface, your app must attach and detach your
[all …]
Dmediarouteprovider.jd25 <li><a href="#ctrl-routes">Controlling Routes</a></li>
50 routes.</p>
184 app's manifest declarations, but they also need to know the capabilities of the media routes you
185 are providing. Media routes can be of different types and have different features, and other apps
279 it supports. These are the general types of control that media routes can provide:</p>
365 <h2 id="ctrl-routes">Controlling Routes</h2>
375 method of your route provider to obtain an instance of this class and then routes requests to it.
/frameworks/base/services/core/java/com/android/server/connectivity/
DVpn.java373 if (mConfig.routes != null) { in makeLinkProperties()
374 for (RouteInfo route : mConfig.routes) { in makeLinkProperties()
1008 config.addLegacyRoutes(profile.routes); in startLegacyVpnPrivileged()
1313 if (mConfig.routes == null || mConfig.routes.isEmpty()) { in execute()
1339 mConfig.routes.add(new RouteInfo(new IpPrefix(addr, 32), RTN_THROW)); in execute()
1341 mConfig.routes.add(new RouteInfo(new IpPrefix(addr, 128), RTN_THROW)); in execute()
/frameworks/base/services/core/java/com/android/server/
DNetworkManagementService.java1141 ArrayList<RouteInfo> routes = new ArrayList<RouteInfo>(); in getRoutes() local
1170 routes.add(route); in getRoutes()
1202 routes.add(route); in getRoutes()
1210 return routes.toArray(new RouteInfo[routes.size()]); in getRoutes()
1311 List<RouteInfo> routes = new ArrayList<RouteInfo>(); in tetherInterface() local
1314 routes.add(new RouteInfo(getInterfaceConfig(iface).getLinkAddress(), null, iface)); in tetherInterface()
1315 addInterfaceToLocalNetwork(iface, routes); in tetherInterface()
2530 public void addInterfaceToLocalNetwork(String iface, List<RouteInfo> routes) { in addInterfaceToLocalNetwork() argument
2533 for (RouteInfo route : routes) { in addInterfaceToLocalNetwork()
/frameworks/base/core/java/android/os/
DINetworkManagementService.aidl441 void addInterfaceToLocalNetwork(String iface, in List<RouteInfo> routes); in addInterfaceToLocalNetwork() argument
/frameworks/base/services/core/java/com/android/server/media/
DMediaRouterService.java1009 untrustedState.routes.add(trustedState.getRoute(globallySelectedRouteId)); in updateClientState()
1153 state.routes.add(mRoutes.get(i).getInfo()); in appendClientState()
/frameworks/base/services/core/java/com/android/server/audio/
DAudioService.java4431 AudioRoutesInfo routes; in handleMessage() local
4433 routes = new AudioRoutesInfo(mCurAudioRoutes); in handleMessage()
4439 obs.dispatchAudioRoutesChanged(routes); in handleMessage()
5410 AudioRoutesInfo routes = new AudioRoutesInfo(mCurAudioRoutes); in startWatchingRoutes() local
5412 return routes; in startWatchingRoutes()
/frameworks/base/docs/html/guide/components/
Dtasks-and-back-stack.jd311 which it was started and routes the intent to it. The activity can be instantiated multiple times,
315 routes the intent to that instance through a call to its {@link
339 However, if an instance of the activity already exists in a separate task, the system routes the
/frameworks/base/docs/html/tools/help/
Ddesktop-head-unit.jd143 "Show alternate routes.""
/frameworks/base/docs/html/guide/topics/manifest/
Dactivity-element.jd591 target task and routes the intent to it.</td>
597 the system routes the intent to that instance through a call to its {@link
606 <td>The system creates the activity at the root of a new task and routes the
608 routes the intent to existing instance through a call to its {@link
/frameworks/base/docs/html/preview/features/
Dapp-linking.jd133 system automatically routes those URL requests to your app.

12