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.cpp365 auto moduleDevice = moduleDevices.getDevice(deviceType, devAddress, encodedFormat); in getDeviceDescriptor() local
369 if (moduleDevice && allowToCreate && in getDeviceDescriptor()
370 (!moduleDevice->address().empty() && in getDeviceDescriptor()
371 (moduleDevice->address().compare(devAddress.c_str()) != 0))) { in getDeviceDescriptor()
374 if (moduleDevice) { in getDeviceDescriptor()
376 moduleDevice->setEncodedFormat(encodedFormat); in getDeviceDescriptor()
379 moduleDevice->attach(hwModule); in getDeviceDescriptor()
381 moduleDevice->setAddress(devAddress.c_str()); in getDeviceDescriptor()
383 moduleDevice->setName(name); in getDeviceDescriptor()
385 return moduleDevice; in getDeviceDescriptor()