Searched refs:portMap (Results 1 – 1 of 1) sorted by relevance
323 const std::unordered_map<std::string, int32_t>& portMap) { in getSinkPortId() argument324 auto portMapIter = portMap.find(xRoute.getSink()); in getSinkPortId()325 if (portMapIter == portMap.end()) { in getSinkPortId()336 const std::unordered_map<std::string, int32_t>& portMap) { in getSourcePortIds() argument340 auto portMapIter = portMap.find(source); in getSourcePortIds()341 if (portMapIter == portMap.end()) { in getSourcePortIds()354 std::unordered_map<std::string, int32_t> portMap; in convertRouteToAidl() local356 portMap.insert({port.name, port.id}); in convertRouteToAidl()358 return AudioRoute{.sourcePortIds = VALUE_OR_FATAL(getSourcePortIds(xRoute, portMap)), in convertRouteToAidl()359 .sinkPortId = VALUE_OR_FATAL(getSinkPortId(xRoute, portMap)), in convertRouteToAidl()