Searched refs:newRoutes (Results 1 – 3 of 3) sorted by relevance
26 void dispatchAudioRoutesChanged(in AudioRoutesInfo newRoutes); in dispatchAudioRoutesChanged() argument
103 public void dispatchAudioRoutesChanged(final AudioRoutesInfo newRoutes) {106 updateAudioRoutes(newRoutes);178 void updateAudioRoutes(AudioRoutesInfo newRoutes) { in updateAudioRoutes() argument179 Log.v(TAG, "Updating audio routes: " + newRoutes); in updateAudioRoutes()180 if (newRoutes.mainType != mCurAudioRoutesInfo.mainType) { in updateAudioRoutes()181 mCurAudioRoutesInfo.mainType = newRoutes.mainType; in updateAudioRoutes()183 if ((newRoutes.mainType&AudioRoutesInfo.MAIN_HEADPHONES) != 0 in updateAudioRoutes()184 || (newRoutes.mainType&AudioRoutesInfo.MAIN_HEADSET) != 0) { in updateAudioRoutes()186 } else if ((newRoutes.mainType&AudioRoutesInfo.MAIN_DOCK_SPEAKERS) != 0) { in updateAudioRoutes()188 } else if ((newRoutes.mainType&AudioRoutesInfo.MAIN_HDMI) != 0) { in updateAudioRoutes()[all …]
175 ArrayList<RouteInfo> newRoutes = new ArrayList<RouteInfo>(mRoutes.size()); in setInterfaceName() local177 newRoutes.add(routeWithInterface(route)); in setInterfaceName()179 mRoutes = newRoutes; in setInterfaceName()