Home
last modified time | relevance | path

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

/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DHwModule.cpp353 auto moduleDevice = moduleDevices.getDevice(deviceType, devAddress, encodedFormat); in getDeviceDescriptor() local
357 if (moduleDevice && allowToCreate && in getDeviceDescriptor()
358 (!moduleDevice->address().empty() && in getDeviceDescriptor()
359 (moduleDevice->address().compare(devAddress.c_str()) != 0))) { in getDeviceDescriptor()
362 if (moduleDevice) { in getDeviceDescriptor()
364 moduleDevice->setEncodedFormat(encodedFormat); in getDeviceDescriptor()
367 moduleDevice->attach(hwModule); in getDeviceDescriptor()
369 moduleDevice->setAddress(devAddress.string()); in getDeviceDescriptor()
371 moduleDevice->setName(name); in getDeviceDescriptor()
373 return moduleDevice; in getDeviceDescriptor()