Home
last modified time | relevance | path

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

/aosp12/frameworks/base/media/java/android/media/
H A DMediaRouter2.java774 void syncRoutesOnHandler(List<MediaRoute2Info> currentRoutes, in syncRoutesOnHandler() argument
776 if (currentRoutes == null || currentRoutes.isEmpty() || currentSystemSessionInfo == null) { in syncRoutesOnHandler()
777 Log.e(TAG, "syncRoutesOnHandler: Received wrong data. currentRoutes=" + currentRoutes in syncRoutesOnHandler()
787 List<String> currentRoutesIds = currentRoutes.stream().map(MediaRoute2Info::getId) in syncRoutesOnHandler()
800 for (MediaRoute2Info route : currentRoutes) { in syncRoutesOnHandler()
818 for (MediaRoute2Info route : currentRoutes) { in syncRoutesOnHandler()
1862 public void notifyRouterRegistered(List<MediaRoute2Info> currentRoutes, in notifyRouterRegistered() argument
1865 MediaRouter2.this, currentRoutes, currentSystemSessionInfo)); in notifyRouterRegistered()
H A DIMediaRouter2.aidl27 void notifyRouterRegistered(in List<MediaRoute2Info> currentRoutes, in notifyRouterRegistered() argument
/aosp12/frameworks/base/services/core/java/com/android/server/media/
H A DMediaRouter2ServiceImpl.java1429 final Collection<MediaRoute2Info> currentRoutes = currentInfo.getRoutes(); in onProviderStateChangedOnHandler() local
1431 for (MediaRoute2Info route : currentRoutes) { in onProviderStateChangedOnHandler()
1936 List<MediaRoute2Info> currentRoutes = new ArrayList<>(); in notifyRouterRegistered() local
1946 currentRoutes.addAll(providerInfo.getRoutes()); in notifyRouterRegistered()
1952 currentRoutes.addAll(systemProviderInfo.getRoutes()); in notifyRouterRegistered()
1959 currentRoutes.add(mSystemProvider.getDefaultRoute()); in notifyRouterRegistered()
1963 if (currentRoutes.size() == 0) { in notifyRouterRegistered()
1969 currentRoutes, currentSystemSessionInfo); in notifyRouterRegistered()