Home
last modified time | relevance | path

Searched refs:discoveryPreference (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/media/java/android/media/
DMediaRouter2Manager.java319 RouteDiscoveryPreference discoveryPreference = in getFilteredRoutes() local
322 for (MediaRoute2Info route : getSortedRoutes(discoveryPreference)) { in getFilteredRoutes()
335 if (!route.hasAnyFeatures(discoveryPreference.getPreferredFeatures())) { in getFilteredRoutes()
338 if (!discoveryPreference.getAllowedPackages().isEmpty() in getFilteredRoutes()
340 || !discoveryPreference.getAllowedPackages() in getFilteredRoutes()
347 if (discoveryPreference.shouldRemoveDuplicates()) { in getFilteredRoutes()
1028 @NonNull RouteDiscoveryPreference discoveryPreference) { in onDiscoveryPreferenceChanged() argument
1029 onPreferredFeaturesChanged(packageName, discoveryPreference.getPreferredFeatures()); in onDiscoveryPreferenceChanged()
1125 RouteDiscoveryPreference discoveryPreference) { in notifyDiscoveryPreferenceChanged() argument
1127 MediaRouter2Manager.this, packageName, discoveryPreference)); in notifyDiscoveryPreferenceChanged()
DIMediaRouter2Manager.aidl33 in RouteDiscoveryPreference discoveryPreference); in notifyDiscoveryPreferenceChanged() argument
DIMediaRoute2ProviderService.aidl31 void updateDiscoveryPreference(in RouteDiscoveryPreference discoveryPreference); in updateDiscoveryPreference() argument
DMediaRoute2ProviderService.java633 public void updateDiscoveryPreference(RouteDiscoveryPreference discoveryPreference) { in updateDiscoveryPreference() argument
639 MediaRoute2ProviderService.this, discoveryPreference)); in updateDiscoveryPreference()
DMediaRouter2.java2492 List<MediaRoute2Info> routes, RouteDiscoveryPreference discoveryPreference); in filterRoutesWithIndividualPreference() argument
2936 List<MediaRoute2Info> routes, RouteDiscoveryPreference discoveryPreference) { in filterRoutesWithIndividualPreference() argument
3649 List<MediaRoute2Info> routes, RouteDiscoveryPreference discoveryPreference) { in filterRoutesWithIndividualPreference() argument
3652 if (!route.hasAnyFeatures(discoveryPreference.getPreferredFeatures())) { in filterRoutesWithIndividualPreference()
3655 if (!discoveryPreference.getAllowedPackages().isEmpty() in filterRoutesWithIndividualPreference()
3657 || !discoveryPreference in filterRoutesWithIndividualPreference()
/frameworks/base/services/core/java/com/android/server/media/
DMediaRoute2ProviderServiceProxy.java158 Set<String> activelyScanningPackages, RouteDiscoveryPreference discoveryPreference) { in updateDiscoveryPreference() argument
159 mLastDiscoveryPreference = discoveryPreference; in updateDiscoveryPreference()
163 mActiveConnection.updateDiscoveryPreference(discoveryPreference); in updateDiscoveryPreference()
737 public void updateDiscoveryPreference(RouteDiscoveryPreference discoveryPreference) { in updateDiscoveryPreference() argument
739 mService.updateDiscoveryPreference(discoveryPreference); in updateDiscoveryPreference()
DMediaRoute2Provider.java72 Set<String> activelyScanningPackages, RouteDiscoveryPreference discoveryPreference); in updateDiscoveryPreference() argument
DSystemMediaRoute2Provider.java218 Set<String> activelyScanningPackages, RouteDiscoveryPreference discoveryPreference) { in updateDiscoveryPreference() argument
DMediaRouter2ServiceImpl.java3328 @Nullable RouteDiscoveryPreference discoveryPreference) { in notifyDiscoveryPreferenceChangedToManagers() argument
3342 discoveryPreference); in notifyDiscoveryPreferenceChangedToManagers()
/frameworks/base/media/tests/MediaRouter/src/com/android/mediaroutertest/
DMediaRouter2ManagerTest.java979 String packageName, RouteDiscoveryPreference discoveryPreference) { in waitAndGetRoutesWithManager()
981 && Objects.equals(preference, discoveryPreference)) { in waitAndGetRoutesWithManager()