Home
last modified time | relevance | path

Searched refs:newRoutes (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/media/java/android/media/
DIAudioRoutesObserver.aidl26 void dispatchAudioRoutesChanged(in AudioRoutesInfo newRoutes); in dispatchAudioRoutesChanged() argument
DMediaRouter.java108 public void dispatchAudioRoutesChanged(final AudioRoutesInfo newRoutes) {
111 updateAudioRoutes(newRoutes);
188 void updateAudioRoutes(AudioRoutesInfo newRoutes) { in updateAudioRoutes() argument
192 if (newRoutes.mainType != mCurAudioRoutesInfo.mainType) { in updateAudioRoutes()
193 mCurAudioRoutesInfo.mainType = newRoutes.mainType; in updateAudioRoutes()
195 if ((newRoutes.mainType & AudioRoutesInfo.MAIN_HEADPHONES) != 0 in updateAudioRoutes()
196 || (newRoutes.mainType & AudioRoutesInfo.MAIN_HEADSET) != 0) { in updateAudioRoutes()
198 } else if ((newRoutes.mainType & AudioRoutesInfo.MAIN_DOCK_SPEAKERS) != 0) { in updateAudioRoutes()
200 } else if ((newRoutes.mainType&AudioRoutesInfo.MAIN_HDMI) != 0) { in updateAudioRoutes()
202 } else if ((newRoutes.mainType&AudioRoutesInfo.MAIN_USB) != 0) { in updateAudioRoutes()
[all …]
/frameworks/base/services/core/java/com/android/server/connectivity/tethering/
DOffloadController.java399 final List<RouteInfo> newRoutes = newLp.getRoutes(); in pushDownstreamState() local
404 if (!newRoutes.contains(ri)) { in pushDownstreamState()
410 for (RouteInfo ri : newRoutes) { in pushDownstreamState()
/frameworks/base/services/core/java/com/android/server/media/
DMediaRouterService.java173 public void dispatchAudioRoutesChanged(final AudioRoutesInfo newRoutes) { in MediaRouterService()
175 if (newRoutes.mainType != mAudioRouteMainType) { in MediaRouterService()
176 if ((newRoutes.mainType & (AudioRoutesInfo.MAIN_HEADSET in MediaRouterService()
180 mGlobalBluetoothA2dpOn = (newRoutes.bluetoothName != null in MediaRouterService()
186 mAudioRouteMainType = newRoutes.mainType; in MediaRouterService()
/frameworks/base/core/java/android/net/
DLinkProperties.java207 ArrayList<RouteInfo> newRoutes = new ArrayList<>(mRoutes.size()); in setInterfaceName() local
209 newRoutes.add(routeWithInterface(route)); in setInterfaceName()
211 mRoutes = newRoutes; in setInterfaceName()