Home
last modified time | relevance | path

Searched refs:mRoutes (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/media/java/android/media/
DMediaRoute2ProviderInfo.java52 final ArrayMap<String, MediaRoute2Info> mRoutes; field in MediaRoute2ProviderInfo
58 mRoutes = builder.mRoutes; in MediaRoute2ProviderInfo()
64 mRoutes = (routes == null) ? ArrayMap.EMPTY : routes; in MediaRoute2ProviderInfo()
76 final int count = mRoutes.size(); in isValid()
78 MediaRoute2Info route = mRoutes.valueAt(i); in isValid()
102 return mRoutes.get(Objects.requireNonNull(routeId, "routeId must not be null")); in getRoute()
110 return mRoutes.values(); in getRoutes()
121 dest.writeTypedArrayMap(mRoutes, flags); in writeToParcel()
139 final ArrayMap<String, MediaRoute2Info> mRoutes; field in MediaRoute2ProviderInfo.Builder
143 mRoutes = new ArrayMap<>(); in Builder()
[all …]
DMediaRouter.java94 final ArrayList<RouteInfo> mRoutes = new ArrayList<RouteInfo>(); field in MediaRouter.Static
405 final int count = mRoutes.size(); in updatePresentationDisplays()
407 final RouteInfo route = mRoutes.get(i); in updatePresentationDisplays()
418 final int count = mRoutes.size(); in handleGroupRouteSelected()
420 final RouteInfo route = mRoutes.get(i); in handleGroupRouteSelected()
513 outer: for (int i = mRoutes.size(); i-- > 0; ) { in updateClientState()
514 final RouteInfo route = mRoutes.get(i); in updateClientState()
641 final int count = mRoutes.size(); in findGlobalRoute()
643 final RouteInfo route = mRoutes.get(i); in findGlobalRoute()
924 final int count = sStatic.mRoutes.size(); in isRouteAvailable()
[all …]
DMediaRouter2Manager.java94 private final Map<String, MediaRoute2Info> mRoutes = new HashMap<>(); field in MediaRouter2Manager
291 return List.copyOf(mRoutes.values()); in getSortedRoutes()
302 routes = new ArrayList<>(mRoutes.values()); in getSortedRoutes()
464 routes.addAll(mRoutes.values()); in getAllRoutes()
516 if (!mRoutes.containsKey(route.getId())) { in transfer()
590 mRoutes.clear(); in updateRoutesOnHandler()
592 mRoutes.put(route.getId(), route); in updateRoutesOnHandler()
748 return sessionInfo.getSelectedRoutes().stream().map(mRoutes::get) in getSelectedRoutes()
766 .map(mRoutes::get) in getSelectableRoutes()
784 .map(mRoutes::get) in getDeselectableRoutes()
DMediaRouter2.java173 private final Map<String, MediaRoute2Info> mRoutes = new ArrayMap<>(); field in MediaRouter2
669 mRoutes.put(route.getId(), route); in loadSystemRoutes()
1215 mRoutes.clear(); in updateRoutesOnHandler()
1217 mRoutes.put(route.getId(), route); in updateRoutesOnHandler()
1228 filterRoutesWithCompositePreferenceLocked(List.copyOf(mRoutes.values()))); in updateFilteredRoutesLocked()
1238 new HashMap<>(mRoutes))); in updateFilteredRoutesLocked()
1454 .map(mRoutes::get) in getRoutesWithIds()
2687 return new ArrayList<>(mRoutes.values()); in getAllRoutes()
2753 isUnknownRoute = !mRoutes.containsKey(route.getId()); in transfer()
3581 routeFound = mRoutes.containsKey(route.getId()); in transferTo()
/frameworks/base/media/tests/MediaRouter/src/com/android/mediaroutertest/
DStubMediaRoute2ProviderService.java77 Map<String, MediaRoute2Info> mRoutes = new HashMap<>(); field in StubMediaRoute2ProviderService
128 mRoutes.put(route1.getId(), route1); in initializeRoutes()
129 mRoutes.put(route2.getId(), route2); in initializeRoutes()
130 mRoutes.put(route3.getId(), route3); in initializeRoutes()
131 mRoutes.put(route4.getId(), route4); in initializeRoutes()
132 mRoutes.put(route5.getId(), route5); in initializeRoutes()
133 mRoutes.put(route6.getId(), route6); in initializeRoutes()
135 mRoutes.put(routeSpecial.getId(), routeSpecial); in initializeRoutes()
136 mRoutes.put(fixedVolumeRoute.getId(), fixedVolumeRoute); in initializeRoutes()
137 mRoutes.put(variableVolumeRoute.getId(), variableVolumeRoute); in initializeRoutes()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DCastControllerImpl.java61 private final ArrayMap<String, RouteInfo> mRoutes = new ArrayMap<>(); field in CastControllerImpl
88 pw.print(" mRoutes.size="); pw.println(mRoutes.size()); in dump()
89 for (int i = 0; i < mRoutes.size(); i++) { in dump()
90 final RouteInfo route = mRoutes.valueAt(i); in dump()
157 synchronized(mRoutes) { in getCastDevices()
158 for (RouteInfo route : mRoutes.values()) { in getCastDevices()
266 synchronized(mRoutes) { in updateRemoteDisplays()
267 mRoutes.clear(); in updateRemoteDisplays()
274 mRoutes.put(route.getTag().toString(), route); in updateRemoteDisplays()
279 mRoutes.put(selected.getTag().toString(), selected); in updateRemoteDisplays()
/frameworks/base/core/java/android/net/
DVpnService.java495 private final List<RouteInfo> mRoutes = new ArrayList<>(); field in VpnService.Builder
611 mRoutes.add(newRoute); in addRoute()
613 mRoutes.set(index, newRoute); in addRoute()
973 mConfig.routes = mRoutes; in establish()
983 for (int i = 0; i < mRoutes.size(); i++) { in findRouteIndexByDestination()
984 if (mRoutes.get(i).getDestination().equals(route.getDestination())) { in findRouteIndexByDestination()
997 return Collections.unmodifiableList(mRoutes); in routes()
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DPolicyAudioPort.h100 void addRoute(const sp<AudioRoute> &route) { mRoutes.add(route); } in addRoute()
101 const AudioRouteVector &getRoutes() const { return mRoutes; } in getRoutes()
115 AudioRouteVector mRoutes; // Routes involving this port variable
DHwModule.h84 const AudioRouteVector& getRoutes() const { return mRoutes; } in getRoutes()
133 AudioRouteVector mRoutes; variable
/frameworks/base/services/core/java/com/android/server/media/
DMediaRouterService.java1663 private final ArrayList<RouteRecord> mRoutes = new ArrayList<RouteRecord>(); field in MediaRouterService.UserHandler.ProviderRecord
1701 mRoutes.add(targetIndex++, route); in updateDescriptor()
1710 RouteRecord route = mRoutes.get(sourceIndex); in updateDescriptor()
1711 Collections.swap(mRoutes, sourceIndex, targetIndex++); in updateDescriptor()
1722 for (int i = mRoutes.size() - 1; i >= targetIndex; i--) { in updateDescriptor()
1723 RouteRecord route = mRoutes.remove(i); in updateDescriptor()
1732 final int routeCount = mRoutes.size(); in appendClientState()
1734 state.routes.add(mRoutes.get(i).getInfo()); in appendClientState()
1739 final int routeCount = mRoutes.size(); in findRouteByUniqueId()
1741 RouteRecord route = mRoutes.get(i); in findRouteByUniqueId()
[all …]
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DHwModule.cpp198 mRoutes = routes; in setRoutes()
254 for (const auto &route : mRoutes) { in supportsPatch()
283 dumpAudioRouteVector(mRoutes, dst, spaces); in dump()
/frameworks/av/media/libaudiohal/impl/
DHal2AidlMapper.cpp1105 statusTFromBinderStatus(mModule->getAudioRoutes(&mRoutes))); in updateRoutes()
1106 ALOGW_IF(mRoutes.empty(), "%s: module %s returned an empty list of audio routes", in updateRoutes()
1115 for (auto it = mRoutes.begin(); it != mRoutes.end();) { in updateRoutes()
1118 it = mRoutes.erase(it); in updateRoutes()
1125 it = mRoutes.erase(it); in updateRoutes()
1133 for (const auto& r : mRoutes) { in updateRoutes()
DHal2AidlMapper.h72 return ::aidl::android::convertContainer(mRoutes, routes, converter); in getAudioRoutes()
229 Routes mRoutes; variable
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt28414 Landroid/media/MediaRouter$RouteGroup;->mRoutes:Ljava/util/ArrayList;
28484 Landroid/media/MediaRouter$Static;->mRoutes:Ljava/util/ArrayList;