Searched refs:newRoutes (Results 1 – 7 of 7) sorted by relevance
95 public void dispatchAudioRoutesChanged(final AudioRoutesInfo newRoutes) {97 updateDeviceRoute(newRoutes);240 private void updateDeviceRoute(AudioRoutesInfo newRoutes) { in updateDeviceRoute() argument243 if (newRoutes != null) { in updateDeviceRoute()244 mCurAudioRoutesInfo.mainType = newRoutes.mainType; in updateDeviceRoute()245 if ((newRoutes.mainType & AudioRoutesInfo.MAIN_HEADPHONES) != 0) { in updateDeviceRoute()248 } else if ((newRoutes.mainType & AudioRoutesInfo.MAIN_HEADSET) != 0) { in updateDeviceRoute()251 } else if ((newRoutes.mainType & AudioRoutesInfo.MAIN_DOCK_SPEAKERS) != 0) { in updateDeviceRoute()254 } else if ((newRoutes.mainType & AudioRoutesInfo.MAIN_HDMI) != 0) { in updateDeviceRoute()257 } else if ((newRoutes.mainType & AudioRoutesInfo.MAIN_USB) != 0) { in updateDeviceRoute()
184 public void dispatchAudioRoutesChanged(final AudioRoutesInfo newRoutes) { in MediaRouterService()186 if (newRoutes.mainType != mAudioRouteMainType) { in MediaRouterService()187 if ((newRoutes.mainType & (AudioRoutesInfo.MAIN_HEADSET in MediaRouterService()191 mGlobalBluetoothA2dpOn = (newRoutes.bluetoothName != null in MediaRouterService()197 mAudioRouteMainType = newRoutes.mainType; in MediaRouterService()
169 final ArrayMap<String, MediaRoute2Info> newRoutes = new ArrayMap<>(); in setUniqueId() local174 newRoutes.put(routeWithProviderId.getOriginalId(), routeWithProviderId); in setUniqueId()178 mRoutes.putAll(newRoutes); in setUniqueId()
26 void dispatchAudioRoutesChanged(in AudioRoutesInfo newRoutes); in dispatchAudioRoutesChanged() argument
121 public void dispatchAudioRoutesChanged(final AudioRoutesInfo newRoutes) {131 updateAudioRoutes(newRoutes);209 void updateAudioRoutes(AudioRoutesInfo newRoutes) { in updateAudioRoutes() argument213 if (newRoutes.mainType != mCurAudioRoutesInfo.mainType) { in updateAudioRoutes()214 mCurAudioRoutesInfo.mainType = newRoutes.mainType; in updateAudioRoutes()216 if ((newRoutes.mainType & AudioRoutesInfo.MAIN_HEADPHONES) != 0 in updateAudioRoutes()217 || (newRoutes.mainType & AudioRoutesInfo.MAIN_HEADSET) != 0) { in updateAudioRoutes()219 } else if ((newRoutes.mainType & AudioRoutesInfo.MAIN_DOCK_SPEAKERS) != 0) { in updateAudioRoutes()221 } else if ((newRoutes.mainType&AudioRoutesInfo.MAIN_HDMI) != 0) { in updateAudioRoutes()223 } else if ((newRoutes.mainType&AudioRoutesInfo.MAIN_USB) != 0) { in updateAudioRoutes()[all …]
251 Map<String, MediaRoute2Info> newRoutes = waitAndGetRoutesWithManager(FEATURES_ALL); in testGetRoutes_removedRoute_returnsCorrectRoutes() local252 assertNull(newRoutes.get(ROUTE_ID2)); in testGetRoutes_removedRoute_returnsCorrectRoutes()
2503 final Collection<RouteInfo> newRoutes = VpnIkev2Utils.getRoutesFromTrafficSelectors(2524 mConfig.routes.addAll(newRoutes);