Home
last modified time | relevance | path

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

/hardware/interfaces/audio/core/all-versions/default/
DConversions.cpp34 uint32_t halDevice = static_cast<uint32_t>(address.device); in deviceAddressToHal() local
35 if (getAudioDeviceOutAllA2dpSet().count(halDevice) > 0 || in deviceAddressToHal()
36 halDevice == AUDIO_DEVICE_IN_BLUETOOTH_A2DP) { in deviceAddressToHal()
40 } else if (halDevice == AUDIO_DEVICE_OUT_IP || halDevice == AUDIO_DEVICE_IN_IP) { in deviceAddressToHal()
43 } else if (getAudioDeviceOutAllUsbSet().count(halDevice) > 0 || in deviceAddressToHal()
44 getAudioDeviceInAllUsbSet().count(halDevice) > 0) { in deviceAddressToHal()
47 } else if (halDevice == AUDIO_DEVICE_OUT_BUS || halDevice == AUDIO_DEVICE_IN_BUS) { in deviceAddressToHal()
49 } else if (halDevice == AUDIO_DEVICE_OUT_REMOTE_SUBMIX || in deviceAddressToHal()
50 halDevice == AUDIO_DEVICE_IN_REMOTE_SUBMIX) { in deviceAddressToHal()
DDevicesFactory.cpp68 audio_hw_device_t* halDevice; in openDevice() local
71 int halStatus = loadAudioInterface(moduleName, &halDevice); in openDevice()
73 result = new DeviceShim(halDevice); in openDevice()
/hardware/interfaces/audio/effect/all-versions/default/
DEffect.cpp513 uint32_t halDevice = static_cast<uint32_t>(device); in setDevice() local
514 return sendCommand(EFFECT_CMD_SET_DEVICE, "SET_DEVICE", sizeof(uint32_t), &halDevice); in setDevice()
552 uint32_t halDevice = static_cast<uint32_t>(device); in setInputDevice() local
554 &halDevice); in setInputDevice()