Searched refs:mRoutes (Results 1 – 8 of 8) sorted by relevance
/frameworks/support/v7/mediarouter/src/android/support/v7/media/ |
D | MediaRouteProviderDescriptor.java | 37 private 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 | 1357 private final ArrayList<RouteInfo> mRoutes = new ArrayList<RouteInfo>(); field in MediaRouter.ProviderInfo 1396 return mRoutes; in getRoutes() 1423 final int count = mRoutes.size(); in findRouteByDescriptorId() 1425 if (mRoutes.get(i).mDescriptorId.equals(id)) { in findRouteByDescriptorId() 1607 private final ArrayList<RouteInfo> mRoutes = new ArrayList<RouteInfo>(); field in MediaRouter.GlobalMediaRouter 1724 return mRoutes; in getRoutes() 1758 if (!mRoutes.contains(route)) { in selectRoute() 1781 final int routeCount = mRoutes.size(); in isRouteAvailable() 1783 RouteInfo route = mRoutes.get(i); in isRouteAvailable() 1941 provider.mRoutes.add(targetIndex++, route); in updateProviderContents() [all …]
|
/frameworks/base/core/java/android/net/ |
D | LinkProperties.java | 55 private ArrayList<RouteInfo> mRoutes = new ArrayList<RouteInfo>(); field in LinkProperties 151 for (RouteInfo r : source.getRoutes()) mRoutes.add(r); in LinkProperties() 171 ArrayList<RouteInfo> newRoutes = new ArrayList<RouteInfo>(mRoutes.size()); in setInterfaceName() 172 for (RouteInfo route : mRoutes) { in setInterfaceName() 175 mRoutes = newRoutes; in setInterfaceName() 470 if (!mRoutes.contains(route)) { in addRoute() 471 mRoutes.add(route); in addRoute() 490 mRoutes.remove(route); in removeRoute() 499 return Collections.unmodifiableList(mRoutes); in getRoutes() 508 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/support/v7/mediarouter/src/android/support/v7/app/ |
D | MediaRouteChooserDialog.java | 55 private ArrayList<MediaRouter.RouteInfo> mRoutes; field in MediaRouteChooserDialog 151 mRoutes = new ArrayList<MediaRouter.RouteInfo>(); in onCreate() 152 mAdapter = new RouteAdapter(getContext(), mRoutes); in onCreate() 181 mRoutes.clear(); in refreshRoutes() 182 mRoutes.addAll(mRouter.getRoutes()); in refreshRoutes() 183 onFilterRoutes(mRoutes); in refreshRoutes() 184 Collections.sort(mRoutes, RouteComparator.sInstance); in refreshRoutes()
|
/frameworks/base/media/java/android/media/ |
D | MediaRouter.java | 75 final ArrayList<RouteInfo> mRoutes = new ArrayList<RouteInfo>(); field in MediaRouter.Static 324 final int count = mRoutes.size(); in updatePresentationDisplays() 326 final RouteInfo route = mRoutes.get(i); in updatePresentationDisplays() 439 outer: for (int i = mRoutes.size(); i-- > 0; ) { in updateClientState() 440 final RouteInfo route = mRoutes.get(i); in updateClientState() 563 final int count = mRoutes.size(); in findGlobalRoute() 565 final RouteInfo route = mRoutes.get(i); in findGlobalRoute() 788 final int count = sStatic.mRoutes.size(); in isRouteAvailable() 790 RouteInfo route = sStatic.mRoutes.get(i); in isRouteAvailable() 1013 sStatic.mRoutes.add(group); in addRouteStatic() [all …]
|
/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 …]
|