Home
last modified time | relevance | path

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

/frameworks/support/v7/mediarouter/src/android/support/v7/media/
DMediaRouteProviderDescriptor.java37 List<MediaRouteDescriptor> mRoutes; field in MediaRouteProviderDescriptor
42 mRoutes = routes; in MediaRouteProviderDescriptor()
50 return mRoutes; in getRoutes()
54 if (mRoutes == null) { in ensureRoutes()
57 mRoutes = Collections.<MediaRouteDescriptor>emptyList(); in ensureRoutes()
60 mRoutes = new ArrayList<MediaRouteDescriptor>(count); in ensureRoutes()
62 mRoutes.add(MediaRouteDescriptor.fromBundle(routeBundles.get(i))); in ensureRoutes()
78 final int routeCount = mRoutes.size(); in isValid()
80 MediaRouteDescriptor route = mRoutes.get(i); in isValid()
123 private ArrayList<MediaRouteDescriptor> mRoutes; field in MediaRouteProviderDescriptor.Builder
[all …]
DMediaRouter.java1539 private List<RouteInfo> mRoutes = new ArrayList<>(); field in MediaRouter.RouteGroup
1549 return mRoutes.size(); in getRouteCount()
1559 return mRoutes.get(index); in getRouteAt()
1568 return mRoutes; in getRoutes()
1575 final int count = mRoutes.size(); in toString()
1578 sb.append(mRoutes.get(i)); in toString()
1592 changed = groupMemberIds.size() != mRoutes.size(); in maybeUpdateDescriptor()
1598 if (!changed && !mRoutes.contains(groupMember)) { in maybeUpdateDescriptor()
1604 mRoutes = routes; in maybeUpdateDescriptor()
1621 private final List<RouteInfo> mRoutes = new ArrayList<>(); field in MediaRouter.ProviderInfo
[all …]
/frameworks/base/core/java/android/net/
DLinkProperties.java55 private ArrayList<RouteInfo> mRoutes = new ArrayList<RouteInfo>(); field in LinkProperties
155 for (RouteInfo r : source.getRoutes()) mRoutes.add(r); in LinkProperties()
175 ArrayList<RouteInfo> newRoutes = new ArrayList<RouteInfo>(mRoutes.size()); in setInterfaceName()
176 for (RouteInfo route : mRoutes) { in setInterfaceName()
179 mRoutes = newRoutes; in setInterfaceName()
474 if (!mRoutes.contains(route)) { in addRoute()
475 mRoutes.add(route); in addRoute()
494 mRoutes.remove(route); in removeRoute()
503 return Collections.unmodifiableList(mRoutes); in getRoutes()
512 routes.addAll(mRoutes); in getAllRoutes()
[all …]
DVpnService.java407 private final List<RouteInfo> mRoutes = new ArrayList<RouteInfo>(); field in VpnService.Builder
505 mRoutes.add(new RouteInfo(new IpPrefix(address, prefixLength), null)); in addRoute()
766 mConfig.routes = mRoutes; in establish()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DCastControllerImpl.java52 private final ArrayMap<String, RouteInfo> mRoutes = new ArrayMap<>(); field in CastControllerImpl
76 pw.print(" mRoutes.size="); pw.println(mRoutes.size()); in dump()
77 for (int i = 0; i < mRoutes.size(); i++) { in dump()
78 final RouteInfo route = mRoutes.valueAt(i); in dump()
147 synchronized(mRoutes) { in getCastDevices()
148 for (RouteInfo route : mRoutes.values()) { in getCastDevices()
226 synchronized(mRoutes) { in updateRemoteDisplays()
227 mRoutes.clear(); in updateRemoteDisplays()
234 mRoutes.put(route.getTag().toString(), route); in updateRemoteDisplays()
239 mRoutes.put(selected.getTag().toString(), selected); in updateRemoteDisplays()
/frameworks/base/media/java/android/media/
DMediaRouter.java78 final ArrayList<RouteInfo> mRoutes = new ArrayList<RouteInfo>(); field in MediaRouter.Static
328 final int count = mRoutes.size(); in updatePresentationDisplays()
330 final RouteInfo route = mRoutes.get(i); in updatePresentationDisplays()
443 outer: for (int i = mRoutes.size(); i-- > 0; ) { in updateClientState()
444 final RouteInfo route = mRoutes.get(i); in updateClientState()
568 final int count = mRoutes.size(); in findGlobalRoute()
570 final RouteInfo route = mRoutes.get(i); in findGlobalRoute()
793 final int count = sStatic.mRoutes.size(); in isRouteAvailable()
795 RouteInfo route = sStatic.mRoutes.get(i); in isRouteAvailable()
1020 sStatic.mRoutes.add(group); in addRouteStatic()
[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()
154 AudioRouteVector mRoutes; // Routes involving this port variable
DHwModule.h96 AudioRouteVector mRoutes; variable
/frameworks/support/v7/mediarouter/src/android/support/v7/app/
DMediaRouteChooserDialog.java73 private ArrayList<MediaRouter.RouteInfo> mRoutes; field in MediaRouteChooserDialog
174 mRoutes = new ArrayList<>(); in onCreate()
175 mAdapter = new RouteAdapter(getContext(), mRoutes); in onCreate()
230 mRoutes.clear(); in updateRoutes()
231 mRoutes.addAll(routes); in updateRoutes()
/frameworks/base/services/core/java/com/android/server/media/
DMediaRouterService.java1082 private final ArrayList<RouteRecord> mRoutes = new ArrayList<RouteRecord>(); field in MediaRouterService.UserHandler.ProviderRecord
1120 mRoutes.add(targetIndex++, route); in updateDescriptor()
1129 RouteRecord route = mRoutes.get(sourceIndex); in updateDescriptor()
1130 Collections.swap(mRoutes, sourceIndex, targetIndex++); in updateDescriptor()
1141 for (int i = mRoutes.size() - 1; i >= targetIndex; i--) { in updateDescriptor()
1142 RouteRecord route = mRoutes.remove(i); in updateDescriptor()
1151 final int routeCount = mRoutes.size(); in appendClientState()
1153 state.routes.add(mRoutes.get(i).getInfo()); in appendClientState()
1158 final int routeCount = mRoutes.size(); in findRouteByUniqueId()
1160 RouteRecord route = mRoutes.get(i); in findRouteByUniqueId()
[all …]
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DHwModule.cpp168 mRoutes = routes; in setRoutes()
250 mRoutes.dump(fd, 2); in dump()