Home
last modified time | relevance | path

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

/frameworks/av/services/audioflinger/
DAudioHwDevice.h45 sp<DeviceHalInterface> hwDevice, in AudioHwDevice() argument
49 , mHwDevice(hwDevice) in AudioHwDevice()
67 sp<DeviceHalInterface> hwDevice() const { return mHwDevice; } in hwDevice() function
DPatchPanel.cpp123 AudioHwDevice* hwDevice = findAudioHwDeviceByModule(port->ext.device.hw_module); in getAudioPort() local
124 if (hwDevice == nullptr) { in getAudioPort()
128 if (!hwDevice->supportsAudioPatches()) { in getAudioPort()
131 return hwDevice->getAudioPort(port); in getAudioPort()
190 sp<DeviceHalInterface> hwDevice = findHwDeviceByModule(hwModule); in createAudioPatch() local
191 if (hwDevice != 0) { in createAudioPatch()
192 hwDevice->releaseAudioPatch(removedPatch.mHalHandle); in createAudioPatch()
363 sp<DeviceHalInterface> hwDevice = audioHwDevice->hwDevice(); in createAudioPatch() local
364 status = hwDevice->createAudioPatch(patch->num_sources, in createAudioPatch()
721 sp<DeviceHalInterface> hwDevice = findHwDeviceByModule(src.ext.device.hw_module); in releaseAudioPatch() local
[all …]
DAudioFlinger.cpp512 return audioHwDevice->hwDevice()->addDeviceEffect(deviceId, effect); in addEffectToHal()
522 return audioHwDevice->hwDevice()->removeDeviceEffect(deviceId, effect); in removeEffectFromHal()
546 sp<DeviceHalInterface> dev = audioHwDevice->hwDevice(); in findSuitableHwDev_l()
697 sp<DeviceHalInterface> dev = mAudioHwDevs.valueAt(i)->hwDevice(); in dump()
1113 dev->hwDevice()->setMasterVolume(value); in setMasterVolume()
1187 sp<DeviceHalInterface> dev = mPrimaryHardwareDev->hwDevice(); in setMode()
1223 sp<DeviceHalInterface> primaryDev = mPrimaryHardwareDev->hwDevice(); in setMicMute()
1231 sp<DeviceHalInterface> dev = mAudioHwDevs.valueAt(i)->hwDevice(); in setMicMute()
1251 sp<DeviceHalInterface> primaryDev = mPrimaryHardwareDev->hwDevice(); in getMicMute()
1300 dev->hwDevice()->setMasterMute(muted); in setMasterMute()
[all …]
DAudioStreamOut.cpp51 return audioHwDev->hwDevice(); in hwDev()
DThreads.cpp4353 sp<DeviceHalInterface> hwDevice = mOutput->audioHwDev->hwDevice(); in createAudioPatch_l() local
4354 status = hwDevice->createAudioPatch(patch->num_sources, in createAudioPatch_l()
4414 sp<DeviceHalInterface> hwDevice = mOutput->audioHwDev->hwDevice(); in releaseAudioPatch_l() local
4415 status = hwDevice->releaseAudioPatch(handle); in releaseAudioPatch_l()
8802 sp<DeviceHalInterface> hwDevice = mInput->audioHwDev->hwDevice(); in createAudioPatch_l() local
8803 status = hwDevice->createAudioPatch(patch->num_sources, in createAudioPatch_l()
8852 sp<DeviceHalInterface> hwDevice = mInput->audioHwDev->hwDevice(); in releaseAudioPatch_l() local
8853 status = hwDevice->releaseAudioPatch(handle); in releaseAudioPatch_l()
9084 mHalStream(stream), mHalDevice(hwDev->hwDevice()), mAudioHwDev(hwDev), in MmapThread()
DAudioFlinger.h831 sp<DeviceHalInterface> hwDev() const { return audioHwDev->hwDevice(); } in hwDev()