Home
last modified time | relevance | path

Searched refs:newRoutes (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/media/java/android/media/
DIAudioRoutesObserver.aidl26 void dispatchAudioRoutesChanged(in AudioRoutesInfo newRoutes); in dispatchAudioRoutesChanged() argument
DMediaRouter.java103 public void dispatchAudioRoutesChanged(final AudioRoutesInfo newRoutes) {
106 updateAudioRoutes(newRoutes);
178 void updateAudioRoutes(AudioRoutesInfo newRoutes) { in updateAudioRoutes() argument
179 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 …]
/frameworks/base/core/java/android/net/
DLinkProperties.java175 ArrayList<RouteInfo> newRoutes = new ArrayList<RouteInfo>(mRoutes.size()); in setInterfaceName() local
177 newRoutes.add(routeWithInterface(route)); in setInterfaceName()
179 mRoutes = newRoutes; in setInterfaceName()