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.cpp355 auto moduleDevice = moduleDevices.getDevice(deviceType, devAddress, encodedFormat); in getDeviceDescriptor() local
359 if (moduleDevice && allowToCreate && in getDeviceDescriptor()
360 (!moduleDevice->address().empty() && in getDeviceDescriptor()
361 (moduleDevice->address().compare(devAddress.c_str()) != 0))) { in getDeviceDescriptor()
364 if (moduleDevice) { in getDeviceDescriptor()
366 moduleDevice->setEncodedFormat(encodedFormat); in getDeviceDescriptor()
369 moduleDevice->attach(hwModule); in getDeviceDescriptor()
371 moduleDevice->setAddress(devAddress.string()); in getDeviceDescriptor()
373 moduleDevice->setName(name); in getDeviceDescriptor()
375 return moduleDevice; in getDeviceDescriptor()