/frameworks/native/cmds/ip-up-vpn/ |
H A D | ip-up-vpn.c | 49 * are interface, addresses, routes, DNS servers, and search domains and VPN 87 const char *routes = env("SPLIT_INCLUDE_CIDR"); local 120 fprintf(state, "%s\n", routes[0] ? routes : "0.0.0.0/0");
|
/frameworks/support/v7/mediarouter/src/android/support/v7/media/ |
H A D | 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) { argument 39 MediaRouteProviderDescriptor(Bundle bundle, List<MediaRouteDescriptor> routes) argument [all...] |
/frameworks/base/core/java/com/android/internal/net/ |
H A D | 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);
|
H A D | VpnConfig.java | 92 public List<RouteInfo> routes = new ArrayList<RouteInfo>(); field in class:VpnConfig 118 String[] routes = routesStr.trim().split(" "); 119 for (String route : routes) { 122 this.routes.add(info); 152 out.writeTypedList(routes); 177 in.readTypedList(config.routes, RouteInfo.CREATOR);
|
/frameworks/base/media/java/android/media/ |
H A D | 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 [all...] |
H A D | AudioManager.java | 1692 * @param routes bit vector of routes requested, created from one or 1694 * @param mask bit vector of routes to change, created from one or more of 1701 public void setRouting(int mode, int routes, int mask) { argument
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
H A D | HwModule.cpp | 166 void HwModule::setRoutes(const AudioRouteVector &routes) argument 168 mRoutes = routes; 179 const AudioRouteVector &routes = stream->getRoutes(); local 180 for (size_t j = 0; j < routes.size(); j++) { 181 sp<AudioPort> sink = routes[j]->getSink(); 186 DeviceVector sourceDevicesForRoute = getRouteSourceDevices(routes[j]); 202 const AudioRouteVector &routes = stream->getRoutes(); local 203 for (size_t j = 0; j < routes.size(); j++) { 204 sp<AudioPort> source = routes[j]->getSources().findByTagName(stream->getTagName()); 209 sp<DeviceDescriptor> sinkDevice = getRouteSinkDevice(routes[ [all...] |
H A D | Serializer.cpp | 337 const char *const RouteTraits::collectionTag = "routes"; 444 RouteTraits::Collection routes; local 445 deserializeCollection<RouteTraits>(doc, root, routes, module.get()); 446 module->setRoutes(routes);
|
/frameworks/base/core/java/android/net/ |
H A D | 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) { argument 383 if ((routes == null) || (dest == null)) return null; 387 for (RouteInfo route : routes) {
|
/frameworks/base/services/net/java/android/net/ip/ |
H A D | IpReachabilityMonitor.java | 279 private static boolean isOnLink(List<RouteInfo> routes, InetAddress ip) { argument 280 for (RouteInfo route : routes) { 307 final List<RouteInfo> routes = mLinkProperties.getRoutes(); 308 for (RouteInfo route : routes) { 311 if (isOnLink(routes, gw)) { 318 if (isOnLink(routes, nameserver)) {
|
/frameworks/support/v7/mediarouter/src/android/support/v7/app/ |
H A D | MediaRouteChooserDialog.java | 92 * Gets the media route selector for filtering the routes that the user can select. 102 * Sets the media route selector for filtering the routes that the user can select. 125 * Called to filter the set of routes that should be included in the list. 127 * The default implementation iterates over all routes in the provided list and 131 * @param routes The list of routes to filter in-place, never null. 133 public void onFilterRoutes(@NonNull List<MediaRouter.RouteInfo> routes) { argument 134 for (int i = routes.size(); i-- > 0; ) { 135 if (!onFilterRoute(routes.get(i))) { 136 routes 249 RouteAdapter(Context context, List<MediaRouter.RouteInfo> routes) argument 436 loadRouteUsageScores(List<MediaRouter.RouteInfo> routes) argument [all...] |
/frameworks/base/services/core/java/com/android/server/ |
H A D | NetworkManagementService.java | 1288 List<RouteInfo> routes = new ArrayList<RouteInfo>(); 1291 routes.add(new RouteInfo(getInterfaceConfig(iface).getLinkAddress(), null, iface)); 1292 addInterfaceToLocalNetwork(iface, routes); 1386 // Don't touch link-local routes, as link-local addresses aren't routable, 1387 // kernel creates link-local routes on all interfaces automatically 2752 public void addInterfaceToLocalNetwork(String iface, List<RouteInfo> routes) { argument 2755 for (RouteInfo route : routes) {
|