Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/net/
DLinkProperties.java65 private ArrayList<RouteInfo> mRoutes = new ArrayList<>(); field in LinkProperties
188 mRoutes.addAll(source.mRoutes); in LinkProperties()
207 ArrayList<RouteInfo> newRoutes = new ArrayList<>(mRoutes.size()); in setInterfaceName()
208 for (RouteInfo route : mRoutes) { in setInterfaceName()
211 mRoutes = newRoutes; in setInterfaceName()
682 if (!mRoutes.contains(route)) { in addRoute()
683 mRoutes.add(route); in addRoute()
701 return Objects.equals(mIfaceName, route.getInterface()) && mRoutes.remove(route); in removeRoute()
710 return Collections.unmodifiableList(mRoutes); in getRoutes()
730 List<RouteInfo> routes = new ArrayList<>(mRoutes); in getAllRoutes()
[all …]
DVpnService.java486 private final List<RouteInfo> mRoutes = new ArrayList<RouteInfo>(); field in VpnService.Builder
600 mRoutes.add(new RouteInfo(new IpPrefix(address, prefixLength), null)); in addRoute()
894 mConfig.routes = mRoutes; in establish()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DCastControllerImpl.java61 private final ArrayMap<String, RouteInfo> mRoutes = new ArrayMap<>(); field in CastControllerImpl
87 pw.print(" mRoutes.size="); pw.println(mRoutes.size()); in dump()
88 for (int i = 0; i < mRoutes.size(); i++) { in dump()
89 final RouteInfo route = mRoutes.valueAt(i); in dump()
156 synchronized(mRoutes) { in getCastDevices()
157 for (RouteInfo route : mRoutes.values()) { in getCastDevices()
259 synchronized(mRoutes) { in updateRemoteDisplays()
260 mRoutes.clear(); in updateRemoteDisplays()
267 mRoutes.put(route.getTag().toString(), route); in updateRemoteDisplays()
272 mRoutes.put(selected.getTag().toString(), selected); in updateRemoteDisplays()
/frameworks/base/media/java/android/media/
DMediaRouter.java83 final ArrayList<RouteInfo> mRoutes = new ArrayList<RouteInfo>(); field in MediaRouter.Static
362 final int count = mRoutes.size(); in updatePresentationDisplays()
364 final RouteInfo route = mRoutes.get(i); in updatePresentationDisplays()
375 final int count = mRoutes.size(); in updateSelectedRouteForId()
377 final RouteInfo route = mRoutes.get(i); in updateSelectedRouteForId()
470 outer: for (int i = mRoutes.size(); i-- > 0; ) { in updateClientState()
471 final RouteInfo route = mRoutes.get(i); in updateClientState()
595 final int count = mRoutes.size(); in findGlobalRoute()
597 final RouteInfo route = mRoutes.get(i); in findGlobalRoute()
877 final int count = sStatic.mRoutes.size(); in isRouteAvailable()
[all …]
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DAudioPort.h136 void addRoute(const sp<AudioRoute> &route) { mRoutes.add(route); } in addRoute()
137 const AudioRouteVector &getRoutes() const { return mRoutes; } in getRoutes()
155 AudioRouteVector mRoutes; // Routes involving this port variable
DHwModule.h124 AudioRouteVector mRoutes; variable
/frameworks/base/services/core/java/com/android/server/media/
DMediaRouterService.java1357 private final ArrayList<RouteRecord> mRoutes = new ArrayList<RouteRecord>(); field in MediaRouterService.UserHandler.ProviderRecord
1395 mRoutes.add(targetIndex++, route); in updateDescriptor()
1404 RouteRecord route = mRoutes.get(sourceIndex); in updateDescriptor()
1405 Collections.swap(mRoutes, sourceIndex, targetIndex++); in updateDescriptor()
1416 for (int i = mRoutes.size() - 1; i >= targetIndex; i--) { in updateDescriptor()
1417 RouteRecord route = mRoutes.remove(i); in updateDescriptor()
1426 final int routeCount = mRoutes.size(); in appendClientState()
1428 state.routes.add(mRoutes.get(i).getInfo()); in appendClientState()
1433 final int routeCount = mRoutes.size(); in findRouteByUniqueId()
1435 RouteRecord route = mRoutes.get(i); in findRouteByUniqueId()
[all …]
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DHwModule.cpp179 mRoutes = routes; in setRoutes()
234 for (const auto &route : mRoutes) { in supportsPatch()
263 mRoutes.dump(dst, 2); in dump()