/frameworks/base/core/java/android/net/ |
RouteInfo.aidl | 19 parcelable RouteInfo;
|
RouteInfo.java | 49 public final class RouteInfo implements Parcelable { 86 * Constructs a RouteInfo object. 102 public RouteInfo(IpPrefix destination, InetAddress gateway, String iface, int type) { 151 throw new IllegalArgumentException("address family mismatch in RouteInfo constructor"); 163 public RouteInfo(IpPrefix destination, InetAddress gateway, String iface) { 170 public RouteInfo(LinkAddress destination, InetAddress gateway, String iface) { 177 * Constructs a {@code RouteInfo} object. 191 public RouteInfo(IpPrefix destination, InetAddress gateway) { 200 public RouteInfo(LinkAddress destination, InetAddress gateway) { 205 * Constructs a default {@code RouteInfo} object [all...] |
INetworkManagementEventObserver.aidl | 20 import android.net.RouteInfo; 106 void routeUpdated(in RouteInfo route); 111 void routeRemoved(in RouteInfo route);
|
StaticIpConfiguration.java | 83 public List<RouteInfo> getRoutes(String iface) { 84 List<RouteInfo> routes = new ArrayList<RouteInfo>(3); 86 RouteInfo connectedRoute = new RouteInfo(ipAddress, null, iface); 89 routes.add(RouteInfo.makeHostRoute(gateway, iface)); 93 routes.add(new RouteInfo((IpPrefix) null, gateway, iface)); 110 for (RouteInfo route : getRoutes(iface)) {
|
LinkProperties.java | 55 private ArrayList<RouteInfo> mRoutes = new ArrayList<RouteInfo>(); 155 for (RouteInfo r : source.getRoutes()) mRoutes.add(r); 167 * Sets the interface name for this link. All {@link RouteInfo} already set for this 175 ArrayList<RouteInfo> newRoutes = new ArrayList<RouteInfo>(mRoutes.size()); 176 for (RouteInfo route : mRoutes) { 446 private RouteInfo routeWithInterface(RouteInfo route) { 447 return new RouteInfo( [all...] |
/external/apache-http/src/org/apache/http/conn/routing/ |
HttpRouteDirector.java | 89 public int nextStep(RouteInfo plan, RouteInfo fact)
|
BasicRouteDirector.java | 69 public int nextStep(RouteInfo plan, RouteInfo fact) { 96 protected int firstStep(RouteInfo plan) { 112 protected int directStep(RouteInfo plan, RouteInfo fact) { 147 protected int proxiedStep(RouteInfo plan, RouteInfo fact) {
|
RouteInfo.java | 2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/conn/routing/RouteInfo.java $ 55 public interface RouteInfo { 199 } // interface RouteInfo
|
/frameworks/support/v7/mediarouter/api24/android/support/v7/media/ |
MediaRouterApi24.java | 23 public static final class RouteInfo { 25 return ((android.media.MediaRouter.RouteInfo)routeObj).getDeviceType();
|
/frameworks/support/v7/mediarouter/tests/src/android/support/v7/media/ |
TestUtils.java | 20 public static MediaRouter.RouteInfo createRouteInfo(String id, String name) { 22 MediaRouter.RouteInfo routeInfo = new MediaRouter.RouteInfo(null, null, null); 23 routeInfo.updateDescriptor(descriptor); 24 return routeInfo;
|
/frameworks/base/core/tests/coretests/src/android/net/ |
RouteInfoTest.java | 23 import android.net.RouteInfo; 41 RouteInfo r; 45 r = new RouteInfo((IpPrefix) null, null, "rmnet0"); 50 r = new RouteInfo((IpPrefix) null, Address("2001:db8::1"), null); 55 r = new RouteInfo((IpPrefix) null, Address("192.0.2.1"), "wlan0"); 61 r = new RouteInfo(Prefix("2001:db8:beef:cafe::/48"), null, "lo"); 66 r = new RouteInfo(Prefix("192.0.2.5/24"), null); 74 private final RouteInfo mRouteInfo; 77 mRouteInfo = new RouteInfo(destination, gateway, iface); 123 RouteInfo r1 = new RouteInfo(Prefix("2001:db8:ace::/48"), Address("2001:db8::1"), "wlan0") [all...] |
LinkPropertiesTest.java | 23 import android.net.RouteInfo; 108 source.addRoute(new RouteInfo(GATEWAY1)); 109 source.addRoute(new RouteInfo(GATEWAY2)); 120 target.addRoute(new RouteInfo(GATEWAY1)); 121 target.addRoute(new RouteInfo(GATEWAY2)); 133 target.addRoute(new RouteInfo(GATEWAY1)); 134 target.addRoute(new RouteInfo(GATEWAY2)); 146 target.addRoute(new RouteInfo(GATEWAY1)); 147 target.addRoute(new RouteInfo(GATEWAY2)); 158 target.addRoute(new RouteInfo(GATEWAY1)) [all...] |
/frameworks/support/v7/mediarouter/tests/src/android/support/v7/app/ |
MediaRouteChooserDialogTest.java | 23 import android.support.v7.media.MediaRouter.RouteInfo; 42 RouteInfo routeInfo1 = TestUtils.createRouteInfo("ROUTE_ID_1", "ROUTE_NAME_1"); 43 RouteInfo routeInfo2 = TestUtils.createRouteInfo("ROUTE_ID_2", "ROUTE_NAME_1"); 50 RouteInfo routeInfo1 = TestUtils.createRouteInfo("ROUTE_ID_1", "Route ABC"); 51 RouteInfo routeInfo2 = TestUtils.createRouteInfo("ROUTE_ID_2", "Route XYZ"); 58 RouteInfo routeInfo1 = TestUtils.createRouteInfo("ROUTE_ID_1", "living room abc"); 59 RouteInfo routeInfo2 = TestUtils.createRouteInfo("ROUTE_ID_2", "LIVING ROOM XYZ"); 63 RouteInfo routeInfo3 = TestUtils.createRouteInfo("ROUTE_ID_3", "LIVING ROOM ABC"); 64 RouteInfo routeInfo4 = TestUtils.createRouteInfo("ROUTE_ID_4", "living room xyz");
|
/frameworks/base/media/java/android/media/ |
MediaRouterClientState.java | 35 public final ArrayList<RouteInfo> routes; 45 routes = new ArrayList<RouteInfo>(); 49 routes = src.createTypedArrayList(RouteInfo.CREATOR); 53 public RouteInfo getRoute(String id) { 56 final RouteInfo route = routes.get(i); 94 public static final class RouteInfo implements Parcelable { 107 public @MediaRouter.RouteInfo.DeviceType int deviceType; 109 public RouteInfo(String id) { 112 statusCode = MediaRouter.RouteInfo.STATUS_NONE; 113 playbackType = MediaRouter.RouteInfo.PLAYBACK_TYPE_REMOTE [all...] |
MediaRouter.java | 80 final ArrayList<RouteInfo> mRoutes = new ArrayList<RouteInfo>(); 87 RouteInfo mDefaultAudioVideo; 88 RouteInfo mBluetoothA2dpRoute; 90 RouteInfo mSelectedRoute; 142 mDefaultAudioVideo = new RouteInfo(mSystemCategory); 148 mDefaultAudioVideo.mVolumeHandling = RouteInfo.PLAYBACK_VOLUME_FIXED; 211 final RouteInfo info = new RouteInfo(sStatic.mSystemCategory); 216 info.mDeviceType = RouteInfo.DEVICE_TYPE_BLUETOOTH [all...] |
/frameworks/base/core/java/com/android/server/net/ |
BaseNetworkObserver.java | 21 import android.net.RouteInfo; 76 public void routeUpdated(RouteInfo route) { 81 public void routeRemoved(RouteInfo route) {
|
/frameworks/support/v7/mediarouter/jellybean-mr2/android/support/v7/media/ |
MediaRouterJellybeanMr2.java | 32 public static final class RouteInfo { 34 return ((android.media.MediaRouter.RouteInfo)routeObj).getDescription(); 38 return ((android.media.MediaRouter.RouteInfo)routeObj).isConnecting();
|
/frameworks/support/v7/mediarouter/src/android/support/v7/app/ |
MediaRouteChooserDialog.java | 19 import static android.support.v7.media.MediaRouter.RouteInfo.CONNECTION_STATE_CONNECTED; 20 import static android.support.v7.media.MediaRouter.RouteInfo.CONNECTION_STATE_CONNECTING; 74 private ArrayList<MediaRouter.RouteInfo> mRoutes; 84 updateRoutes((List<MediaRouter.RouteInfo>) message.obj); 144 public void onFilterRoutes(@NonNull List<MediaRouter.RouteInfo> routes) { 163 public boolean onFilterRoute(@NonNull MediaRouter.RouteInfo route) { 226 ArrayList<MediaRouter.RouteInfo> routes = new ArrayList<>(mRouter.getRoutes()); 239 void updateRoutes(List<MediaRouter.RouteInfo> routes) { 246 private final class RouteAdapter extends ArrayAdapter<MediaRouter.RouteInfo> 254 public RouteAdapter(Context context, List<MediaRouter.RouteInfo> routes) [all...] |
/frameworks/base/core/java/com/android/internal/app/ |
MediaRouteChooserDialog.java | 24 import android.media.MediaRouter.RouteInfo; 116 public boolean onFilterRoute(MediaRouter.RouteInfo route) { 179 private final class RouteAdapter extends ArrayAdapter<MediaRouter.RouteInfo> 192 MediaRouter.RouteInfo route = mRouter.getRouteAt(i); 217 MediaRouter.RouteInfo route = getItem(position); 235 MediaRouter.RouteInfo route = getItem(position); 245 public void onRouteAdded(MediaRouter router, MediaRouter.RouteInfo info) { 250 public void onRouteRemoved(MediaRouter router, MediaRouter.RouteInfo info) { 255 public void onRouteChanged(MediaRouter router, MediaRouter.RouteInfo info) { 260 public void onRouteSelected(MediaRouter router, int type, RouteInfo info) [all...] |
/frameworks/support/v7/mediarouter/jellybean-mr1/android/support/v7/media/ |
MediaRouterJellybeanMr1.java | 39 public static final class RouteInfo { 41 return ((android.media.MediaRouter.RouteInfo)routeObj).isEnabled(); 45 // android.media.MediaRouter.RouteInfo.getPresentationDisplay() was 48 return ((android.media.MediaRouter.RouteInfo)routeObj).getPresentationDisplay(); 145 android.media.MediaRouter.RouteInfo.class.getField("STATUS_CONNECTING"); 148 android.media.MediaRouter.RouteInfo.class.getMethod("getStatusCode"); 156 android.media.MediaRouter.RouteInfo route = 157 (android.media.MediaRouter.RouteInfo)routeObj; 181 android.media.MediaRouter.RouteInfo route) {
|
/developers/build/prebuilts/gradle/MediaRouter/Application/src/main/java/com/example/android/mediarouter/player/ |
Player.java | 21 import android.support.v7.media.MediaRouter.RouteInfo; 34 public abstract void connect(RouteInfo route); 61 public static Player create(Context context, RouteInfo route) {
|
/developers/samples/android/media/MediaRouter/Application/src/main/java/com/example/android/mediarouter/player/ |
Player.java | 21 import android.support.v7.media.MediaRouter.RouteInfo; 34 public abstract void connect(RouteInfo route); 61 public static Player create(Context context, RouteInfo route) {
|
/development/samples/browseable/MediaRouter/src/com.example.android.mediarouter/player/ |
Player.java | 21 import android.support.v7.media.MediaRouter.RouteInfo; 34 public abstract void connect(RouteInfo route); 61 public static Player create(Context context, RouteInfo route) {
|
/frameworks/support/v7/mediarouter/jellybean/android/support/v7/media/ |
MediaRouterJellybean.java | 81 (android.media.MediaRouter.RouteInfo)routeObj); 135 public static final class RouteInfo { 137 return ((android.media.MediaRouter.RouteInfo)routeObj).getName(context); 141 return ((android.media.MediaRouter.RouteInfo)routeObj).getStatus(); 145 return ((android.media.MediaRouter.RouteInfo)routeObj).getSupportedTypes(); 149 return ((android.media.MediaRouter.RouteInfo)routeObj).getCategory(); 153 return ((android.media.MediaRouter.RouteInfo)routeObj).getIconDrawable(); 157 return ((android.media.MediaRouter.RouteInfo)routeObj).getPlaybackType(); 161 return ((android.media.MediaRouter.RouteInfo)routeObj).getPlaybackStream(); 165 return ((android.media.MediaRouter.RouteInfo)routeObj).getVolume() [all...] |
/frameworks/support/v7/mediarouter/src/android/support/v7/media/ |
MediaRouter.java | 70 * also {@link RouteInfo#sendControlRequest send control requests} to the route 87 * and {@link Callback#onRouteUnselected(MediaRouter, RouteInfo, int)} when the reason the route 93 * and {@link Callback#onRouteUnselected(MediaRouter, RouteInfo, int)} when the user pressed 102 * and {@link Callback#onRouteUnselected(MediaRouter, RouteInfo, int)} when the user pressed 108 * and {@link Callback#onRouteUnselected(MediaRouter, RouteInfo, int)} when the user selected 267 * Gets information about the {@link MediaRouter.RouteInfo routes} currently known to 270 public List<RouteInfo> getRoutes() { 293 public RouteInfo getDefaultRoute() { 303 public RouteInfo getBluetoothRoute() { 312 * {@link RouteInfo#getControlFilters media control intent filters} to assess th [all...] |