Home
last modified time | relevance | path

Searched refs:portMap (Results 1 – 1 of 1) sorted by relevance

/hardware/interfaces/audio/aidl/default/
DXsdcConversion.cpp323 const std::unordered_map<std::string, int32_t>& portMap) { in getSinkPortId() argument
324 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() argument
340 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() local
356 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()