Home
last modified time | relevance | path

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

12

/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/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()
DAudioService.java4211 AudioRoutesInfo routes; in handleMessage() local
4213 routes = new AudioRoutesInfo(mCurAudioRoutes); in handleMessage()
4219 obs.dispatchAudioRoutesChanged(routes); in handleMessage()
5107 AudioRoutesInfo routes = new AudioRoutesInfo(mCurAudioRoutes); in startWatchingRoutes() local
5109 return routes; in startWatchingRoutes()
DAudioManager.java1767 public void setRouting(int mode, int routes, int mask) { in setRouting() argument
DMediaRouter.java400 mClientState != null ? mClientState.routes : null; in updateClientState()
/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.java90 public List<RouteInfo> routes = new ArrayList<RouteInfo>(); field in VpnConfig
115 String[] routes = routesStr.trim().split(" "); in addLegacyRoutes() local
116 for (String route : routes) { in addLegacyRoutes()
121 this.routes.add(info); in addLegacyRoutes()
153 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/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/core/java/android/net/
DStaticIpConfiguration.java82 List<RouteInfo> routes = new ArrayList<RouteInfo>(2); in getRoutes() local
84 routes.add(new RouteInfo(ipAddress, null, iface)); in getRoutes()
87 routes.add(new RouteInfo((LinkAddress) null, gateway, iface)); in getRoutes()
89 return routes; in getRoutes()
DLinkProperties.java445 List<RouteInfo> routes = new ArrayList(); in getAllRoutes() local
446 routes.addAll(mRoutes); in getAllRoutes()
448 routes.addAll(stacked.getAllRoutes()); in getAllRoutes()
450 return routes; in getAllRoutes()
570 String routes = " Routes: ["; in toString() local
571 for (RouteInfo route : mRoutes) routes += route.toString() + ","; in toString()
572 routes += "] "; in toString()
583 return "{" + ifaceName + linkAddresses + routes + dns + domainName + mtu in toString()
DRouteInfo.java388 public static RouteInfo selectBestRoute(Collection<RouteInfo> routes, InetAddress dest) { in selectBestRoute() argument
389 if ((routes == null) || (dest == null)) return null; in selectBestRoute()
393 for (RouteInfo route : routes) { in selectBestRoute()
DVpnService.java683 mConfig.routes = mRoutes; in establish()
/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.java362 if (mConfig.routes != null) { in makeLinkProperties()
363 for (RouteInfo route : mConfig.routes) { in makeLinkProperties()
938 config.addLegacyRoutes(profile.routes); in startLegacyVpn()
1230 if (mConfig.routes == null || mConfig.routes.isEmpty()) { in execute()
1256 mConfig.routes.add(new RouteInfo(new IpPrefix(addr, 32), RTN_THROW)); in execute()
1258 mConfig.routes.add(new RouteInfo(new IpPrefix(addr, 128), RTN_THROW)); in execute()
/frameworks/base/services/core/java/com/android/server/
DNetworkManagementService.java1013 ArrayList<RouteInfo> routes = new ArrayList<RouteInfo>(); in getRoutes() local
1042 routes.add(route); in getRoutes()
1074 routes.add(route); in getRoutes()
1082 return routes.toArray(new RouteInfo[routes.size()]); in getRoutes()
1183 List<RouteInfo> routes = new ArrayList<RouteInfo>(); in tetherInterface() local
1186 routes.add(new RouteInfo(getInterfaceConfig(iface).getLinkAddress(), null, iface)); in tetherInterface()
1187 addInterfaceToLocalNetwork(iface, routes); in tetherInterface()
2130 public void addInterfaceToLocalNetwork(String iface, List<RouteInfo> routes) { in addInterfaceToLocalNetwork() argument
2133 for (RouteInfo route : routes) { in addInterfaceToLocalNetwork()
/frameworks/base/core/java/android/os/
DINetworkManagementService.aidl411 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/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/guide/topics/manifest/
Dactivity-element.jd566 target task and routes the intent to it.</td>
572 the system routes the intent to that instance through a call to its {@link
581 <td>The system creates the activity at the root of a new task and routes the
583 routes the intent to existing instance through a call to its {@link
/frameworks/base/docs/html/about/versions/
Dkitkat.jd198 the preferred AID and routes the transaction to the correct application. The
430 message is received, the system routes it directly to the user's default
/frameworks/base/docs/html/google/play/licensing/
Dsetting-up.jd117 and finally routes the response back to your application. To debug and test

12