Lines Matching defs:routes
166 void HwModule::setRoutes(const AudioRouteVector &routes)
168 mRoutes = routes;
179 const AudioRouteVector &routes = stream->getRoutes();
180 for (size_t j = 0; j < routes.size(); j++) {
181 sp<AudioPort> sink = routes[j]->getSink();
186 DeviceVector sourceDevicesForRoute = getRouteSourceDevices(routes[j]);
202 const AudioRouteVector &routes = stream->getRoutes();
203 for (size_t j = 0; j < routes.size(); j++) {
204 sp<AudioPort> source = routes[j]->getSources().findByTagName(stream->getTagName());
209 sp<DeviceDescriptor> sinkDevice = getRouteSinkDevice(routes[j]);