Home | History | Annotate | Download | only in media

Lines Matching defs:route

27  * Describes the state of a media route provider and the routes that it publishes.
67 * Returns true if the route provider descriptor and all of the routes that
78 MediaRouteDescriptor route = mRoutes.get(i);
79 if (route == null || !route.isValid()) {
117 * Builder for {@link MediaRouteProviderDescriptor media route provider descriptors}.
124 * Creates an empty media route provider descriptor builder.
131 * Creates a media route provider descriptor builder whose initial contents are
148 * Adds a route.
150 public Builder addRoute(MediaRouteDescriptor route) {
151 if (route == null) {
152 throw new IllegalArgumentException("route must not be null");
157 } else if (mRoutes.contains(route)) {
158 throw new IllegalArgumentException("route descriptor already added");
160 mRoutes.add(route);
173 for (MediaRouteDescriptor route : routes) {
174 addRoute(route);
194 * Builds the {@link MediaRouteProviderDescriptor media route provider descriptor}.