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.java105 public void dispatchAudioRoutesChanged(final AudioRoutesInfo newRoutes) {
108 updateAudioRoutes(newRoutes);
185 void updateAudioRoutes(AudioRoutesInfo newRoutes) { in updateAudioRoutes() argument
189 if (newRoutes.mainType != mCurAudioRoutesInfo.mainType) { in updateAudioRoutes()
190 mCurAudioRoutesInfo.mainType = newRoutes.mainType; in updateAudioRoutes()
192 if ((newRoutes.mainType & AudioRoutesInfo.MAIN_HEADPHONES) != 0 in updateAudioRoutes()
193 || (newRoutes.mainType & AudioRoutesInfo.MAIN_HEADSET) != 0) { in updateAudioRoutes()
195 } else if ((newRoutes.mainType & AudioRoutesInfo.MAIN_DOCK_SPEAKERS) != 0) { in updateAudioRoutes()
197 } else if ((newRoutes.mainType&AudioRoutesInfo.MAIN_HDMI) != 0) { in updateAudioRoutes()
199 } 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/core/java/android/net/
DLinkProperties.java197 ArrayList<RouteInfo> newRoutes = new ArrayList<RouteInfo>(mRoutes.size()); in setInterfaceName() local
199 newRoutes.add(routeWithInterface(route)); in setInterfaceName()
201 mRoutes = newRoutes; in setInterfaceName()
/frameworks/base/services/core/java/com/android/server/media/
DMediaRouterService.java175 public void dispatchAudioRoutesChanged(final AudioRoutesInfo newRoutes) { in MediaRouterService()
177 if (newRoutes.mainType != mAudioRouteMainType) { in MediaRouterService()
178 if ((newRoutes.mainType & (AudioRoutesInfo.MAIN_HEADSET in MediaRouterService()
182 mGlobalBluetoothA2dpOn = (newRoutes.bluetoothName != null in MediaRouterService()
188 mAudioRouteMainType = newRoutes.mainType; in MediaRouterService()