/frameworks/support/v7/mediarouter/src/android/support/v7/media/ |
D | MediaRouteProviderDescriptor.java | 37 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 …]
|
D | MediaRouter.java | 1539 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/ |
D | LinkProperties.java | 55 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 …]
|
D | VpnService.java | 407 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/ |
D | CastControllerImpl.java | 52 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/ |
D | MediaRouter.java | 78 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/ |
D | AudioPort.h | 136 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
|
D | HwModule.h | 96 AudioRouteVector mRoutes; variable
|
/frameworks/support/v7/mediarouter/src/android/support/v7/app/ |
D | MediaRouteChooserDialog.java | 73 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/ |
D | MediaRouterService.java | 1082 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/ |
D | HwModule.cpp | 168 mRoutes = routes; in setRoutes() 250 mRoutes.dump(fd, 2); in dump()
|