/frameworks/av/packages/MediaComponents/src/com/android/support/mediarouter/media/ |
D | MediaRouteProviderDescriptor.java | 36 private List<MediaRouteDescriptor> mRoutes; field in MediaRouteProviderDescriptor 40 mRoutes = routes; in MediaRouteProviderDescriptor() 48 return mRoutes; in getRoutes() 52 if (mRoutes == null) { in ensureRoutes() 55 mRoutes = Collections.<MediaRouteDescriptor>emptyList(); in ensureRoutes() 58 mRoutes = new ArrayList<MediaRouteDescriptor>(count); in ensureRoutes() 60 mRoutes.add(MediaRouteDescriptor.fromBundle(routeBundles.get(i))); in ensureRoutes() 76 final int routeCount = mRoutes.size(); in isValid() 78 MediaRouteDescriptor route = mRoutes.get(i); in isValid() 121 private ArrayList<MediaRouteDescriptor> mRoutes; field in MediaRouteProviderDescriptor.Builder [all …]
|
D | MediaRouter.java | 1580 private List<RouteInfo> mRoutes = new ArrayList<>(); field in MediaRouter.RouteGroup 1590 return mRoutes.size(); in getRouteCount() 1600 return mRoutes.get(index); in getRouteAt() 1609 return mRoutes; in getRoutes() 1616 final int count = mRoutes.size(); in toString() 1619 sb.append(mRoutes.get(i)); in toString() 1633 changed = groupMemberIds.size() != mRoutes.size(); in maybeUpdateDescriptor() 1639 if (!changed && !mRoutes.contains(groupMember)) { in maybeUpdateDescriptor() 1645 mRoutes = routes; in maybeUpdateDescriptor() 1662 private final List<RouteInfo> mRoutes = new ArrayList<>(); field in MediaRouter.ProviderInfo [all …]
|
/frameworks/support/mediarouter/src/main/java/androidx/mediarouter/media/ |
D | MediaRouteProviderDescriptor.java | 36 private List<MediaRouteDescriptor> mRoutes; field in MediaRouteProviderDescriptor 40 mRoutes = routes; in MediaRouteProviderDescriptor() 48 return mRoutes; in getRoutes() 52 if (mRoutes == null) { in ensureRoutes() 55 mRoutes = Collections.<MediaRouteDescriptor>emptyList(); in ensureRoutes() 58 mRoutes = new ArrayList<MediaRouteDescriptor>(count); in ensureRoutes() 60 mRoutes.add(MediaRouteDescriptor.fromBundle(routeBundles.get(i))); in ensureRoutes() 76 final int routeCount = mRoutes.size(); in isValid() 78 MediaRouteDescriptor route = mRoutes.get(i); in isValid() 121 private ArrayList<MediaRouteDescriptor> mRoutes; field in MediaRouteProviderDescriptor.Builder [all …]
|
D | MediaRouter.java | 1581 private List<RouteInfo> mRoutes = new ArrayList<>(); field in MediaRouter.RouteGroup 1591 return mRoutes.size(); in getRouteCount() 1601 return mRoutes.get(index); in getRouteAt() 1610 return mRoutes; in getRoutes() 1617 final int count = mRoutes.size(); in toString() 1620 sb.append(mRoutes.get(i)); in toString() 1638 changed = groupMemberIds.size() != mRoutes.size(); in maybeUpdateDescriptor() 1644 if (!changed && !mRoutes.contains(groupMember)) { in maybeUpdateDescriptor() 1651 mRoutes = routes; in maybeUpdateDescriptor() 1668 private final List<RouteInfo> mRoutes = new ArrayList<>(); field in MediaRouter.ProviderInfo [all …]
|
/frameworks/base/core/java/android/net/ |
D | LinkProperties.java | 57 private ArrayList<RouteInfo> mRoutes = new ArrayList<RouteInfo>(); field in LinkProperties 177 for (RouteInfo r : source.getRoutes()) mRoutes.add(r); in LinkProperties() 197 ArrayList<RouteInfo> newRoutes = new ArrayList<RouteInfo>(mRoutes.size()); in setInterfaceName() 198 for (RouteInfo route : mRoutes) { in setInterfaceName() 201 mRoutes = newRoutes; in setInterfaceName() 608 if (!mRoutes.contains(route)) { in addRoute() 609 mRoutes.add(route); in addRoute() 628 mRoutes.remove(route); in removeRoute() 637 return Collections.unmodifiableList(mRoutes); in getRoutes() 657 routes.addAll(mRoutes); in getAllRoutes() [all …]
|
D | VpnService.java | 444 private final List<RouteInfo> mRoutes = new ArrayList<RouteInfo>(); field in VpnService.Builder 542 mRoutes.add(new RouteInfo(new IpPrefix(address, prefixLength), null)); in addRoute() 803 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 | 80 final ArrayList<RouteInfo> mRoutes = new ArrayList<RouteInfo>(); field in MediaRouter.Static 349 final int count = mRoutes.size(); in updatePresentationDisplays() 351 final RouteInfo route = mRoutes.get(i); in updatePresentationDisplays() 442 outer: for (int i = mRoutes.size(); i-- > 0; ) { in updateClientState() 443 final RouteInfo route = mRoutes.get(i); in updateClientState() 567 final int count = mRoutes.size(); in findGlobalRoute() 569 final RouteInfo route = mRoutes.get(i); in findGlobalRoute() 830 final int count = sStatic.mRoutes.size(); in isRouteAvailable() 832 RouteInfo route = sStatic.mRoutes.get(i); in isRouteAvailable() 1076 sStatic.mRoutes.add(group); in addRouteStatic() [all …]
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/ |
D | AudioPort.h | 132 void addRoute(const sp<AudioRoute> &route) { mRoutes.add(route); } in addRoute() 133 const AudioRouteVector &getRoutes() const { return mRoutes; } in getRoutes() 150 AudioRouteVector mRoutes; // Routes involving this port variable
|
D | HwModule.h | 96 AudioRouteVector mRoutes; variable
|
/frameworks/support/mediarouter/src/main/java/androidx/mediarouter/app/ |
D | MediaRouteChooserDialog.java | 76 private ArrayList<MediaRouter.RouteInfo> mRoutes; field in MediaRouteChooserDialog 187 mRoutes = new ArrayList<>(); in onCreate() 188 mAdapter = new RouteAdapter(getContext(), mRoutes); in onCreate() 244 mRoutes.clear(); in updateRoutes() 245 mRoutes.addAll(routes); in updateRoutes()
|
/frameworks/av/packages/MediaComponents/src/com/android/support/mediarouter/app/ |
D | MediaRouteChooserDialog.java | 80 private ArrayList<MediaRouter.RouteInfo> mRoutes; field in MediaRouteChooserDialog 194 mRoutes = new ArrayList<>(); in onCreate() 195 mAdapter = new RouteAdapter(getContext(), mRoutes); in onCreate() 251 mRoutes.clear(); in updateRoutes() 252 mRoutes.addAll(routes); in updateRoutes()
|
/frameworks/base/services/core/java/com/android/server/media/ |
D | MediaRouterService.java | 1236 private final ArrayList<RouteRecord> mRoutes = new ArrayList<RouteRecord>(); field in MediaRouterService.UserHandler.ProviderRecord 1274 mRoutes.add(targetIndex++, route); in updateDescriptor() 1283 RouteRecord route = mRoutes.get(sourceIndex); in updateDescriptor() 1284 Collections.swap(mRoutes, sourceIndex, targetIndex++); in updateDescriptor() 1295 for (int i = mRoutes.size() - 1; i >= targetIndex; i--) { in updateDescriptor() 1296 RouteRecord route = mRoutes.remove(i); in updateDescriptor() 1305 final int routeCount = mRoutes.size(); in appendClientState() 1307 state.routes.add(mRoutes.get(i).getInfo()); in appendClientState() 1312 final int routeCount = mRoutes.size(); in findRouteByUniqueId() 1314 RouteRecord route = mRoutes.get(i); in findRouteByUniqueId() [all …]
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
D | HwModule.cpp | 167 mRoutes = routes; in setRoutes() 251 mRoutes.dump(fd, 2); in dump()
|
/frameworks/base/config/ |
D | hiddenapi-light-greylist.txt | 3594 Landroid/net/VpnService$Builder;->mRoutes:Ljava/util/List;
|