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

1 2 3

  /frameworks/native/cmds/ip-up-vpn/
ip-up-vpn.c 49 * are interface, addresses, routes, DNS servers, and search domains and VPN
64 * does this, but others might not. Routes, DNS servers, and search domains
87 const char *routes = env("SPLIT_INCLUDE_CIDR"); local
120 fprintf(state, "%s\n", routes[0] ? routes : "0.0.0.0/0");
  /external/nist-sip/java/gov/nist/javax/sip/stack/
DefaultRouter.java 173 RouteList routes = sipRequest.getRouteHeaders(); local
192 if (routes != null) {
196 Route route = (Route) routes.getFirst();
264 RouteList routes = req.getRouteHeaders(); local
265 Route first = (Route) routes.getFirst();
267 routes.removeFirst();
274 routes.add(route); // as last one
  /frameworks/base/media/java/android/media/
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
38 routes = new ArrayList<RouteInfo>();
42 routes = src.createTypedArrayList(RouteInfo.CREATOR);
46 final int count = routes.size();
48 final RouteInfo route = routes.get(i);
63 dest.writeTypedList(routes);
68 return "MediaRouterClientState{ routes=" + routes.toString() + " }"
    [all...]
  /frameworks/support/v7/mediarouter/tests/src/android/support/v7/media/
MediaRouteProviderTest.java 60 List<MediaRouteDescriptor> routes = descriptor.getRoutes(); local
61 assertEquals(2, routes.size());
62 assertEquals(FAKE_MEDIA_ROUTE_ID_1, routes.get(0).getId());
63 assertEquals(FAKE_MEDIA_ROUTE_NAME_1, routes.get(0).getName());
64 assertEquals(FAKE_MEDIA_ROUTE_ID_2, routes.get(1).getId());
65 assertEquals(FAKE_MEDIA_ROUTE_NAME_2, routes.get(1).getName());
75 routes = descriptor.getRoutes();
76 assertEquals(4, routes.size());
77 assertEquals(FAKE_MEDIA_ROUTE_ID_1, routes.get(0).getId());
78 assertEquals(FAKE_MEDIA_ROUTE_NAME_1, routes.get(0).getName())
135 List<MediaRouteDescriptor> routes = resultDescriptor.getRoutes(); local
    [all...]
  /frameworks/base/core/java/android/net/
StaticIpConfiguration.java 37 * expressive. For example, it supports multiple IP addresses, multiple routes,
77 * Returns the network routes specified by this object. Will typically include a
84 List<RouteInfo> routes = new ArrayList<RouteInfo>(3); local
87 routes.add(connectedRoute);
89 routes.add(RouteInfo.makeHostRoute(gateway, iface));
93 routes.add(new RouteInfo((IpPrefix) null, gateway, iface));
95 return routes;
LinkProperties.java 506 * Make sure this LinkProperties instance contains routes that cover the local subnet
517 * Returns all the routes on this link and all the links stacked above it.
521 List<RouteInfo> routes = new ArrayList<>(); local
522 routes.addAll(mRoutes);
524 routes.addAll(stacked.getAllRoutes());
526 return routes;
646 String routes = " Routes: ["; local
647 for (RouteInfo route : mRoutes) routes += route.toString() + ",";
648 routes += "] "
    [all...]
  /external/dhcpcd-6.8.2/
ipv4.h 64 struct rt_head routes; member in struct:ipv4_state
ipv6.h 208 struct rt6_head *routes; member in struct:ipv6_ctx
if-options.h 171 struct rt_head *routes; member in struct:if_options
dhcp.c 360 struct rt_head *routes; local
367 routes = malloc(sizeof(*routes));
368 TAILQ_INIT(routes);
373 ipv4_freeroutes(routes);
380 ipv4_freeroutes(routes);
388 ipv4_freeroutes(routes);
391 TAILQ_INSERT_TAIL(routes, rt, next);
404 return routes;
549 /* This calculates the netmask that we should use for static routes
587 struct rt_head *routes = NULL; local
    [all...]
  /frameworks/av/services/audiopolicy/common/managerdefinitions/src/
HwModule.cpp 166 void HwModule::setRoutes(const AudioRouteVector &routes)
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[j])
    [all...]
Serializer.cpp 338 const char *const RouteTraits::collectionTag = "routes";
435 // Deserialize childrens: Audio Mix Port, Audio Device Ports (Source/Sink), Audio Routes
444 RouteTraits::Collection routes; local
445 deserializeCollection<RouteTraits>(doc, root, routes, module.get());
446 module->setRoutes(routes);
  /external/nist-sip/java/gov/nist/javax/sip/
DialogFilter.java 369 RouteList routes = sipRequest.getRouteHeaders(); local
370 Route route = (Route) routes.getFirst();
385 if (routes.size() == 1)
388 routes.removeFirst();
    [all...]
  /cts/hostsidetests/net/app/src/com/android/cts/net/hostside/
MyVpnService.java 70 String routes = intent.getStringExtra(packageName + ".routes"); local
71 if (routes != null) {
72 String[] routeArray = routes.split(",");
122 + " routes=" + routes
  /frameworks/base/core/java/com/android/internal/net/
VpnConfig.java 92 public List<RouteInfo> routes = new ArrayList<RouteInfo>(); field in class:VpnConfig
118 String[] routes = routesStr.trim().split(" "); local
119 for (String route : routes) {
122 this.routes.add(info);
152 out.writeTypedList(routes);
177 in.readTypedList(config.routes, RouteInfo.CREATOR);
VpnProfile.java 56 public String routes = ""; // 7 field in class:VpnProfile
81 routes = in.readString();
102 out.writeString(routes);
136 profile.routes = values[7];
161 builder.append('\0').append(routes);
  /hardware/libhardware/modules/audio_remote_submix/
audio_hw.cpp 171 route_config_t routes[MAX_ROUTES]; member in struct:android::submix_audio_device
376 rsxadev->routes[route_idx].input = in;
377 rsxadev->routes[route_idx].config.input_channel_mask = config->channel_mask;
379 rsxadev->routes[route_idx].config.input_sample_rate = config->sample_rate;
383 if (!rsxadev->routes[route_idx].output) {
384 rsxadev->routes[route_idx].config.output_sample_rate = 48000;
385 rsxadev->routes[route_idx].config.output_channel_mask = AUDIO_CHANNEL_OUT_STEREO;
391 rsxadev->routes[route_idx].output = out;
392 rsxadev->routes[route_idx].config.output_channel_mask = config->channel_mask;
394 rsxadev->routes[route_idx].config.output_sample_rate = config->sample_rate
    [all...]
  /frameworks/base/services/net/java/android/net/ip/
IpReachabilityMonitor.java 256 private static boolean isOnLink(List<RouteInfo> routes, InetAddress ip) {
257 for (RouteInfo route : routes) {
284 final List<RouteInfo> routes = mLinkProperties.getRoutes(); local
285 for (RouteInfo route : routes) {
288 if (isOnLink(routes, gw)) {
295 if (isOnLink(routes, nameserver)) {
  /frameworks/base/tests/net/java/android/net/ip/
IpManagerTest.java 188 LinkProperties want = linkproperties(links(addresses), routes(prefixes));
202 notProvisionedCase(links(), routes(), dns(), null),
203 notProvisionedCase(links(), routes(), dns(), empty),
206 provisionedCase(links("192.0.2.12/24"), routes(), dns(), empty),
211 routes(), dns(), empty),
214 routes("fe80::/64", "fd2c:4e57:8e3c::/64"), dns("fd00:1234:5678::1000"), empty),
217 routes("::/0"),
223 routes("fe80::/64", "fd2c:4e57:8e3c::/64"),
361 static LinkProperties linkproperties(Set<LinkAddress> addresses, Set<RouteInfo> routes) {
364 for (RouteInfo route : routes) {
383 static Set<RouteInfo> routes(String... routes) { method in class:IpManagerTest
    [all...]
  /frameworks/support/v7/mediarouter/src/android/support/v7/app/
MediaRouteChooserDialog.java 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.
139 * Called to filter the set of routes that should be included in the list.
141 * The default implementation iterates over all routes in the provided list and
145 * @param routes The list of routes to filter in-place, never null.
147 public void onFilterRoutes(@NonNull List<MediaRouter.RouteInfo> routes) {
148 for (int i = routes.size(); i-- > 0; ) {
149 if (!onFilterRoute(routes.get(i))) {
150 routes.remove(i)
229 ArrayList<MediaRouter.RouteInfo> routes = new ArrayList<>(mRouter.getRoutes()); local
    [all...]
  /frameworks/support/v7/mediarouter/src/android/support/v7/media/
RegisteredMediaRouteProvider.java 209 // This means that one of this provider's routes is selected.
253 List<MediaRouteDescriptor> routes = descriptor.getRoutes(); local
254 final int count = routes.size();
256 final MediaRouteDescriptor route = routes.get(i);
  /packages/services/Car/service/src/com/android/car/hal/
AudioHalService.java 543 String[] routes = configString.split(","); local
544 for (String routeString : routes) {
    [all...]
  /frameworks/base/services/core/java/com/android/server/
NetworkManagementService.java 1294 List<RouteInfo> routes = new ArrayList<>(); local
    [all...]
  /external/ppp/pppd/
sys-solaris.c 2654 mib2_ipRouteEntry_t routes[8]; local
    [all...]
  /frameworks/base/services/core/java/com/android/server/connectivity/
Vpn.java 748 if (mConfig.routes != null) {
749 for (RouteInfo route : mConfig.routes) {
    [all...]

Completed in 451 milliseconds

1 2 3