Searched refs:newRoutes (Results 1 – 5 of 5) sorted by relevance
26 void dispatchAudioRoutesChanged(in AudioRoutesInfo newRoutes); in dispatchAudioRoutesChanged() argument
105 public void dispatchAudioRoutesChanged(final AudioRoutesInfo newRoutes) {108 updateAudioRoutes(newRoutes);185 void updateAudioRoutes(AudioRoutesInfo newRoutes) { in updateAudioRoutes() argument189 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 …]
399 final List<RouteInfo> newRoutes = newLp.getRoutes(); in pushDownstreamState() local404 if (!newRoutes.contains(ri)) { in pushDownstreamState()410 for (RouteInfo ri : newRoutes) { in pushDownstreamState()
197 ArrayList<RouteInfo> newRoutes = new ArrayList<RouteInfo>(mRoutes.size()); in setInterfaceName() local199 newRoutes.add(routeWithInterface(route)); in setInterfaceName()201 mRoutes = newRoutes; in setInterfaceName()
175 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()