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