/frameworks/base/core/java/android/net/ |
LinkProperties.java | 198 for (RouteInfo route : mRoutes) { 199 newRoutes.add(routeWithInterface(route)); 580 private RouteInfo routeWithInterface(RouteInfo route) { 582 route.getDestination(), 583 route.getGateway(), 585 route.getType()); 594 * @param route A {@link RouteInfo} to add to this object. 595 * @return {@code false} if the route was already present, {@code true} if it was added. 599 public boolean addRoute(RouteInfo route) { 600 if (route != null) [all...] |
RouteInfo.java | 31 * Represents a network route. 36 * A route contains three pieces of information: 38 * <li>a destination {@link IpPrefix} specifying the network destinations covered by this route. 39 * If this is {@code null} it indicates a default route of the address family (IPv4 or IPv6) 42 * indicates a directly-connected route. 51 * The IP destination address for this route. 56 * The gateway address for this route. 61 * The interface for this route. 66 /** Unicast route. @hide */ 69 /** Unreachable route. @hide * [all...] |
/developers/build/prebuilts/gradle/MediaRouter/Application/src/main/java/com/example/android/mediarouter/player/ |
MainActivity.java | 115 // Return a custom callback that will simply log all of the route events 118 public void onRouteAdded(MediaRouter router, RouteInfo route) { 119 Log.d(TAG, "onRouteAdded: route=" + route); 123 public void onRouteChanged(MediaRouter router, RouteInfo route) { 124 Log.d(TAG, "onRouteChanged: route=" + route); 128 public void onRouteRemoved(MediaRouter router, RouteInfo route) { 129 Log.d(TAG, "onRouteRemoved: route=" + route); 566 RouteInfo route = mMediaRouter.getSelectedRoute(); local 575 MediaRouter.RouteInfo route = mMediaRouter.getSelectedRoute(); local [all...] |
/developers/samples/android/media/MediaRouter/Application/src/main/java/com/example/android/mediarouter/player/ |
MainActivity.java | 115 // Return a custom callback that will simply log all of the route events 118 public void onRouteAdded(MediaRouter router, RouteInfo route) { 119 Log.d(TAG, "onRouteAdded: route=" + route); 123 public void onRouteChanged(MediaRouter router, RouteInfo route) { 124 Log.d(TAG, "onRouteChanged: route=" + route); 128 public void onRouteRemoved(MediaRouter router, RouteInfo route) { 129 Log.d(TAG, "onRouteRemoved: route=" + route); 566 RouteInfo route = mMediaRouter.getSelectedRoute(); local 575 MediaRouter.RouteInfo route = mMediaRouter.getSelectedRoute(); local [all...] |
/development/samples/browseable/MediaRouter/src/com.example.android.mediarouter/player/ |
MainActivity.java | 115 // Return a custom callback that will simply log all of the route events 118 public void onRouteAdded(MediaRouter router, RouteInfo route) { 119 Log.d(TAG, "onRouteAdded: route=" + route); 123 public void onRouteChanged(MediaRouter router, RouteInfo route) { 124 Log.d(TAG, "onRouteChanged: route=" + route); 128 public void onRouteRemoved(MediaRouter router, RouteInfo route) { 129 Log.d(TAG, "onRouteRemoved: route=" + route); 565 RouteInfo route = mMediaRouter.getSelectedRoute(); local 574 MediaRouter.RouteInfo route = mMediaRouter.getSelectedRoute(); local [all...] |
/external/libnl/lib/route/cls/ |
basic.c | 2 * lib/route/cls/basic.c Basic Classifier 28 #include <netlink-private/route/tc-api.h> 29 #include <netlink/route/classifier.h> 30 #include <netlink/route/action.h> 31 #include <netlink/route/cls/basic.h> 32 #include <netlink/route/cls/ematch.h>
|
fw.c | 2 * lib/route/cls/fw.c fw classifier 24 #include <netlink-private/route/tc-api.h> 25 #include <netlink/route/classifier.h> 26 #include <netlink/route/cls/fw.h>
|
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/address/ |
Builder.java | 150 DomainList route = null; local 153 route = buildRoute((ASTroute)n); 162 return buildAddrSpec(route, (ASTaddr_spec)n); 183 private Mailbox buildAddrSpec(DomainList route, ASTaddr_spec node) { 187 return new Mailbox(route, localPart, domain);
|
/system/netd/server/ |
NetlinkHandler.cpp | 148 const char *route = evt->findParam("ROUTE"); local 151 if (route && (gateway || iface)) { 152 notifyRouteChange(action, route, gateway, iface); 249 void NetlinkHandler::notifyRouteChange(NetlinkEvent::Action action, const char *route, 252 "Route %s %s%s%s%s%s", 254 route,
|
/frameworks/av/packages/MediaComponents/src/com/android/support/mediarouter/app/ |
MediaRouteControllerDialog.java | 95 * This class implements the route controller dialog for {@link MediaRouter}. 97 * This dialog allows the user to control or disconnect from the currently selected route. 109 // to allow the route provider time to propagate the change and publish a new 110 // route descriptor. 230 * Gets the route that this dialog is controlling. 265 * when the route supports it. 281 * when the route supports it. 827 MediaRouter.RouteInfo route = mVolumeGroupAdapter.getItem(position); local 860 final MediaRouter.RouteInfo route = item.getKey(); local 936 MediaRouter.RouteInfo route = mVolumeGroupAdapter.getItem(position); local 957 MediaRouter.RouteInfo route = mVolumeGroupAdapter.getItem(position); local 1272 MediaRouter.RouteInfo route = (MediaRouter.RouteInfo) seekBar.getTag(); local 1305 MediaRouter.RouteInfo route = getItem(position); local [all...] |
/frameworks/support/mediarouter/src/main/java/androidx/mediarouter/app/ |
MediaRouteControllerDialog.java | 92 * This class implements the route controller dialog for {@link MediaRouter}. 94 * This dialog allows the user to control or disconnect from the currently selected route. 106 // to allow the route provider time to propagate the change and publish a new 107 // route descriptor. 228 * Gets the route that this dialog is controlling. 263 * when the route supports it. 279 * when the route supports it. 824 MediaRouter.RouteInfo route = mVolumeGroupAdapter.getItem(position); local 857 final MediaRouter.RouteInfo route = item.getKey(); local 933 MediaRouter.RouteInfo route = mVolumeGroupAdapter.getItem(position); local 954 MediaRouter.RouteInfo route = mVolumeGroupAdapter.getItem(position); local 1265 MediaRouter.RouteInfo route = (MediaRouter.RouteInfo) seekBar.getTag(); local 1298 MediaRouter.RouteInfo route = getItem(position); local [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...] |
/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/media/ |
SampleMediaRouterActivity.java | 116 // Return a custom callback that will simply log all of the route events 119 public void onRouteAdded(MediaRouter router, RouteInfo route) { 120 Log.d(TAG, "onRouteAdded: route=" + route); 124 public void onRouteChanged(MediaRouter router, RouteInfo route) { 125 Log.d(TAG, "onRouteChanged: route=" + route); 129 public void onRouteRemoved(MediaRouter router, RouteInfo route) { 130 Log.d(TAG, "onRouteRemoved: route=" + route); 613 RouteInfo route = mMediaRouter.getSelectedRoute(); local 620 MediaRouter.RouteInfo route = mMediaRouter.getSelectedRoute(); local [all...] |
/device/linaro/bootloader/edk2/StdLib/Include/net/ |
route.h | 33 * @(#)route.h 8.3 (Berkeley) 4/19/94
34 * $Id: route.h,v 1.1.1.1 2006/05/30 06:12:46 hhzhou Exp $
51 * A route consists of a destination address and a reference
55 struct route {
struct 68 u_long rmx_expire; /* lifetime for route, e.g. redirect */
74 u_long rmx_pksent; /* packets sent using this route */
93 * preferring the former if available. For each route we infer
95 * the route was entered. Routes that forward packets through
119 struct rtentry *rt_parent; /* cloning parent of this route */
139 #define RTF_UP 0x1 /* route usable */ [all...] |
/external/autotest/client/cros/ |
network.py | 118 route = routes.getRouteFor(address) 119 if not route: 124 interface = route.interface 132 raise error.TestFail('No route found for "%s".' % host)
|
/external/iproute2/examples/ |
dhcp-client-script | 177 LOG route add default gw $router 178 route add default gw $router 193 LOG route del default gw $router 194 route del default gw $router 210 # Check (and add route, if alive) default routers 223 route add default gw $router 246 route $op -net $1 netmask `ABCMask "$1"` gw $2
|
/external/libnl/lib/route/qdisc/ |
red.c | 2 * lib/route/qdisc/red.c RED Qdisc 23 #include <netlink-private/route/tc-api.h> 24 #include <netlink/route/qdisc.h> 25 #include <netlink/route/qdisc/red.h>
|
sfq.c | 2 * lib/route/qdisc/sfq.c SFQ Qdisc 30 #include <netlink-private/route/tc-api.h> 31 #include <netlink/route/qdisc.h> 32 #include <netlink/route/qdisc/sfq.h>
|
/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;
|
/bionic/tools/bionicbb/ |
bionicbb.py | 36 @app.route('/', methods=['POST']) 92 @app.route('/drop-rejection', methods=['POST'])
|
/device/generic/goldfish/ |
init.goldfish.sh | 5 route add default gw 10.0.2.2 dev eth0
|
/external/libnl/include/netlink/route/ |
route.h | 2 * netlink/route/route.h Routes 19 #include <netlink/route/nexthop.h> 20 #include <netlink/route/rtnl.h> 28 * @ingroup route
|
/external/libnl/lib/route/cls/ematch/ |
nbyte.c | 2 * lib/route/cls/ematch/nbyte.c Nbyte comparison 22 #include <netlink/route/cls/ematch.h> 23 #include <netlink/route/cls/ematch/nbyte.h>
|
/external/libnl/tests/ |
test-complex-HTB-with-hash-filters.c | 12 #include <netlink/route/link.h> 13 #include <netlink/route/tc.h> 14 #include <netlink/route/qdisc.h> 15 #include <netlink/route/qdisc/htb.h> 16 #include <netlink/route/qdisc/sfq.h> 17 #include <netlink/route/cls/u32.h> 18 #include <netlink/route/classifier.h> 19 #include <netlink/route/class.h>
|
/external/wpa_supplicant_8/src/ap/ |
vlan_util.c | 10 #include <netlink/route/link.h> 11 #include <netlink/route/link/vlan.h>
|