/frameworks/base/media/java/android/media/ |
D | MediaRouterClientState.java | 35 public final ArrayList<RouteInfo> routes; 38 routes = new ArrayList<RouteInfo>(); in MediaRouterClientState() 42 routes = src.createTypedArrayList(RouteInfo.CREATOR); in MediaRouterClientState() 45 public RouteInfo getRoute(String id) { in getRoute() 48 final RouteInfo route = routes.get(i); in getRoute() 84 public static final class RouteInfo implements Parcelable { class in MediaRouterClientState 97 public @MediaRouter.RouteInfo.DeviceType int deviceType; 99 public RouteInfo(String id) { in RouteInfo() method in MediaRouterClientState.RouteInfo 102 statusCode = MediaRouter.RouteInfo.STATUS_NONE; in RouteInfo() 103 playbackType = MediaRouter.RouteInfo.PLAYBACK_TYPE_REMOTE; in RouteInfo() [all …]
|
D | MediaRouter.java | 94 final ArrayList<RouteInfo> mRoutes = new ArrayList<RouteInfo>(); 101 RouteInfo mDefaultAudioVideo; 102 RouteInfo mBluetoothA2dpRoute; 105 RouteInfo mSelectedRoute; 166 mDefaultAudioVideo = new RouteInfo(mSystemCategory); in startMonitoringRoutes() 172 mDefaultAudioVideo.mVolumeHandling = RouteInfo.PLAYBACK_VOLUME_FIXED; in startMonitoringRoutes() 245 final RouteInfo info = new RouteInfo(mSystemCategory); in updateAudioRoutes() 250 info.mDeviceType = RouteInfo.DEVICE_TYPE_BLUETOOTH; in updateAudioRoutes() 262 RouteInfo btRoute = mBluetoothA2dpRoute; in updateAudioRoutes() 407 final RouteInfo route = mRoutes.get(i); in updatePresentationDisplays() [all …]
|
D | RemoteDisplayState.java | 103 MediaRouter.RouteInfo.PLAYBACK_VOLUME_VARIABLE; 105 MediaRouter.RouteInfo.PLAYBACK_VOLUME_FIXED; 119 volumeHandling = MediaRouter.RouteInfo.PLAYBACK_VOLUME_FIXED; in RemoteDisplayInfo()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | MediaRouteChooserDialog.java | 22 import android.media.MediaRouter.RouteInfo; 124 public boolean onFilterRoute(MediaRouter.RouteInfo route) { in onFilterRoute() 204 private final class RouteAdapter extends ArrayAdapter<MediaRouter.RouteInfo> 217 MediaRouter.RouteInfo route = mRouter.getRouteAt(i); in update() 242 MediaRouter.RouteInfo route = getItem(position); in getView() 260 MediaRouter.RouteInfo route = getItem(position); in onItemClick() 270 public void onRouteAdded(MediaRouter router, MediaRouter.RouteInfo info) { in onRouteAdded() 275 public void onRouteRemoved(MediaRouter router, MediaRouter.RouteInfo info) { in onRouteRemoved() 280 public void onRouteChanged(MediaRouter router, MediaRouter.RouteInfo info) { in onRouteChanged() 285 public void onRouteSelected(MediaRouter router, int type, RouteInfo info) { in onRouteSelected() [all …]
|
D | MediaRouteControllerDialog.java | 33 import android.media.MediaRouter.RouteInfo; 61 private final MediaRouter.RouteInfo mRoute; 88 public MediaRouter.RouteInfo getRoute() { in getRoute() 323 MediaRouter.RouteInfo.PLAYBACK_VOLUME_VARIABLE; in isVolumeControlAvailable() 328 public void onRouteUnselected(MediaRouter router, int type, RouteInfo info) { in onRouteUnselected() 333 public void onRouteChanged(MediaRouter router, MediaRouter.RouteInfo route) { in onRouteChanged() 338 public void onRouteVolumeChanged(MediaRouter router, MediaRouter.RouteInfo route) { in onRouteVolumeChanged() 345 public void onRouteGrouped(MediaRouter router, RouteInfo info, RouteGroup group, in onRouteGrouped() 351 public void onRouteUngrouped(MediaRouter router, RouteInfo info, RouteGroup group) { in onRouteUngrouped()
|
D | MediaRouteDialogPresenter.java | 47 MediaRouter.RouteInfo route = router.getSelectedRoute(); in showDialogFragment() 91 MediaRouter.RouteInfo route = router.getSelectedRoute(); in createDialog()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | CastControllerImpl.java | 26 import android.media.MediaRouter.RouteInfo; 61 private final ArrayMap<String, RouteInfo> mRoutes = new ArrayMap<>(); 90 final RouteInfo route = mRoutes.valueAt(i); in dump() 158 for (RouteInfo route : mRoutes.values()) { in getCastDevices() 167 if (statusCode == RouteInfo.STATUS_CONNECTING) { in getCastDevices() 169 } else if (route.isSelected() || statusCode == RouteInfo.STATUS_CONNECTED) { in getCastDevices() 198 final RouteInfo route = (RouteInfo) device.tag; in startCasting() 270 final RouteInfo route = mMediaRouter.getRouteAt(i); in updateRemoteDisplays() 276 final RouteInfo selected = mMediaRouter.getSelectedRoute(ROUTE_TYPE_REMOTE_DISPLAY); in updateRemoteDisplays() 285 private void ensureTagExists(RouteInfo route) { in ensureTagExists() [all …]
|
/frameworks/base/core/java/android/net/ |
D | INetworkManagementEventObserver.aidl | 20 import android.net.RouteInfo; 109 void routeUpdated(in RouteInfo route); in routeUpdated() 114 void routeRemoved(in RouteInfo route); in routeRemoved()
|
D | VpnService.java | 495 private final List<RouteInfo> mRoutes = new ArrayList<>(); 605 final RouteInfo newRoute = new RouteInfo(prefix, /* gateway */ in addRoute() 638 return addRoute(new IpPrefix(address, prefixLength), RouteInfo.RTN_UNICAST); in addRoute() 658 return addRoute(prefix, RouteInfo.RTN_UNICAST); in addRoute() 697 return addRoute(prefix, RouteInfo.RTN_THROW); in excludeRoute() 982 private int findRouteIndexByDestination(RouteInfo route) { in findRouteIndexByDestination() 996 public List<RouteInfo> routes() { in routes()
|
/frameworks/base/core/java/com/android/server/net/ |
D | BaseNetworkObserver.java | 22 import android.net.RouteInfo; 83 public void routeUpdated(RouteInfo route) { in routeUpdated() 88 public void routeRemoved(RouteInfo route) { in routeRemoved()
|
D | NetlinkTracker.java | 22 import android.net.RouteInfo; 149 public void routeUpdated(RouteInfo route) { in routeUpdated() 163 public void routeRemoved(RouteInfo route) { in routeRemoved()
|
/frameworks/base/core/java/android/app/ |
D | MediaRouteButton.java | 31 import android.media.MediaRouter.RouteInfo; 343 final MediaRouter.RouteInfo route = mRouter.getSelectedRoute(); in refreshRoute() 383 public void onRouteAdded(MediaRouter router, RouteInfo info) { in onRouteAdded() 388 public void onRouteRemoved(MediaRouter router, RouteInfo info) { in onRouteRemoved() 393 public void onRouteChanged(MediaRouter router, RouteInfo info) { in onRouteChanged() 398 public void onRouteSelected(MediaRouter router, int type, RouteInfo info) { in onRouteSelected() 403 public void onRouteUnselected(MediaRouter router, int type, RouteInfo info) { in onRouteUnselected() 408 public void onRouteGrouped(MediaRouter router, RouteInfo info, RouteGroup group, in onRouteGrouped() 414 public void onRouteUngrouped(MediaRouter router, RouteInfo info, RouteGroup group) { in onRouteUngrouped()
|
D | MediaRouteActionProvider.java | 21 import android.media.MediaRouter.RouteInfo; 161 public void onRouteAdded(MediaRouter router, RouteInfo info) { in onRouteAdded() 166 public void onRouteRemoved(MediaRouter router, RouteInfo info) { in onRouteRemoved() 171 public void onRouteChanged(MediaRouter router, RouteInfo info) { in onRouteChanged()
|
/frameworks/base/core/java/com/android/internal/net/ |
D | VpnConfig.java | 32 import android.net.RouteInfo; 95 public List<RouteInfo> routes = new ArrayList<>(); 154 RouteInfo info = new RouteInfo(new IpPrefix(route), null, null, RouteInfo.RTN_UNICAST); in addLegacyRoutes() 212 in.readTypedList(config.routes, RouteInfo.CREATOR);
|
/frameworks/base/media/tests/MediaRouter/src/com/android/mediaroutertest/ |
D | MediaRouteInfoTest.java | 161 private static class TestableRouteInfo extends MediaRouter.RouteInfo { 165 private MediaRouter.RouteInfo mDefaultRouteInfo = null; 192 public MediaRouter.RouteInfo getDefaultAudioVideo() { in getDefaultAudioVideo()
|
/frameworks/base/services/core/java/com/android/server/media/ |
D | MediaRouterService.java | 1645 case MediaRouter.RouteInfo.STATUS_NONE: in getConnectionPhase() 1646 case MediaRouter.RouteInfo.STATUS_CONNECTED: in getConnectionPhase() 1648 case MediaRouter.RouteInfo.STATUS_CONNECTING: in getConnectionPhase() 1650 case MediaRouter.RouteInfo.STATUS_SCANNING: in getConnectionPhase() 1651 case MediaRouter.RouteInfo.STATUS_AVAILABLE: in getConnectionPhase() 1653 case MediaRouter.RouteInfo.STATUS_NOT_AVAILABLE: in getConnectionPhase() 1654 case MediaRouter.RouteInfo.STATUS_IN_USE: in getConnectionPhase() 1789 private final MediaRouterClientState.RouteInfo mMutableInfo; 1790 private MediaRouterClientState.RouteInfo mImmutableInfo; 1797 mMutableInfo = new MediaRouterClientState.RouteInfo(uniqueId); in RouteRecord() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/ |
D | CastTileTest.java | 31 import android.media.MediaRouter.RouteInfo; 314 device.tag = mock(MediaRouter.RouteInfo.class); in testHandleClick_castDevicePresent() 365 casting.tag = mock(RouteInfo.class); in testUpdateState_castingAndProjection() 390 connecting.tag = mock(RouteInfo.class); in testUpdateState_connectedAndConnecting() 395 connected.tag = mock(RouteInfo.class); in testUpdateState_connectedAndConnecting() 462 device.tag = mock(MediaRouter.RouteInfo.class); in testExpandView_casting_mediaRoute() 477 connecting.tag = mock(RouteInfo.class); in testExpandView_connecting_mediaRoute()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | KeyguardDisplayManager.java | 25 import android.media.MediaRouter.RouteInfo; 228 public void onRouteSelected(MediaRouter router, int type, RouteInfo info) { 234 public void onRouteUnselected(MediaRouter router, int type, RouteInfo info) { 240 public void onRoutePresentationDisplayChanged(MediaRouter router, RouteInfo info) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
D | MediaRouterWrapper.java | 48 public List<MediaRouter.RouteInfo> getRoutes() { in getRoutes()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | VpnIkev2Utils.java | 56 import android.net.RouteInfo; 481 static Collection<RouteInfo> getRoutesFromTrafficSelectors( in getRoutesFromTrafficSelectors() 483 final HashSet<RouteInfo> routes = new HashSet<>(); in getRoutesFromTrafficSelectors() 488 routes.add(new RouteInfo(prefix, null /*gateway*/, null /*iface*/, in getRoutesFromTrafficSelectors() 489 RouteInfo.RTN_UNICAST)); in getRoutesFromTrafficSelectors()
|
D | Vpn.java | 25 import static android.net.RouteInfo.RTN_UNREACHABLE; 79 import android.net.RouteInfo; 1483 for (RouteInfo route : mConfig.routes) { in makeLinkProperties() 1488 if (route.getType() == RouteInfo.RTN_UNICAST) { in makeLinkProperties() 1508 lp.addRoute(new RouteInfo(new IpPrefix( in makeLinkProperties() 1513 lp.addRoute(new RouteInfo(new IpPrefix( in makeLinkProperties() 2966 final Collection<RouteInfo> newRoutes = VpnIkev2Utils.getRoutesFromTrafficSelectors( in onChildOpened() 3900 final List<RouteInfo> oldRoutes = new ArrayList<>(mConfig.routes); in handleSessionLost() 3903 for (final RouteInfo route : oldRoutes) { in handleSessionLost() 3904 mConfig.routes.add(new RouteInfo(route.getDestination(), in handleSessionLost()
|
/frameworks/base/core/java/android/os/ |
D | INetworkManagementService.aidl | 24 import android.net.RouteInfo;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
D | CastTile.java | 26 import android.media.MediaRouter.RouteInfo; 196 return activeDevices.isEmpty() || (activeDevices.get(0).tag instanceof RouteInfo); in willPopDialog()
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkManagementService.java | 58 import android.net.RouteInfo; 565 private void notifyRouteChange(boolean updated, RouteInfo route) { in notifyRouteChange() 638 final RouteInfo processRoute = new RouteInfo(new IpPrefix(route), in onRouteChanged() 640 ifName, RouteInfo.RTN_UNICAST); in onRouteChanged()
|
/frameworks/base/services/tests/VpnTests/java/com/android/server/connectivity/ |
D | VpnTest.java | 33 import static android.net.RouteInfo.RTN_UNREACHABLE; 126 import android.net.RouteInfo; 2184 final List<RouteInfo> expectedRoutes = in verifySetupPlatformVpn() 2187 new RouteInfo( in verifySetupPlatformVpn() 2191 RouteInfo.RTN_UNICAST))); in verifySetupPlatformVpn() 2199 new RouteInfo( in verifySetupPlatformVpn() 2203 RouteInfo.RTN_UNICAST)); in verifySetupPlatformVpn() 2208 new RouteInfo( in verifySetupPlatformVpn() 2820 for (RouteInfo routeInfo : lp.getRoutes()) { in testStartPlatformVpnMobility_mobikeEnabledMtuDoesNotSupportIpv6() 2970 final List<RouteInfo> expectedRoutes = Arrays.asList( in verifyHandlingNetworkLoss() [all …]
|