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.cpp167 sp<DeviceHalInterface> hwDevice = findHwDeviceByModule(hwModule); in createAudioPatch() local
168 if (hwDevice != 0) { in createAudioPatch()
169 hwDevice->releaseAudioPatch(removedPatch.mHalHandle); in createAudioPatch()
340 sp<DeviceHalInterface> hwDevice = audioHwDevice->hwDevice(); in createAudioPatch() local
341 status = hwDevice->createAudioPatch(patch->num_sources, in createAudioPatch()
691 sp<DeviceHalInterface> hwDevice = findHwDeviceByModule(src.ext.device.hw_module); in releaseAudioPatch() local
692 if (hwDevice == 0) { in releaseAudioPatch()
716 status = hwDevice->releaseAudioPatch(removedPatch.mHalHandle); in releaseAudioPatch()
812 return audioHwDevice ? audioHwDevice->hwDevice() : nullptr; in findHwDeviceByModule()
DAudioFlinger.cpp419 return audioHwDevice->hwDevice()->addDeviceEffect(deviceId, effect); in addEffectToHal()
429 return audioHwDevice->hwDevice()->removeDeviceEffect(deviceId, effect); in removeEffectFromHal()
453 sp<DeviceHalInterface> dev = audioHwDevice->hwDevice(); in findSuitableHwDev_l()
604 sp<DeviceHalInterface> dev = mAudioHwDevs.valueAt(i)->hwDevice(); in dump()
1092 dev->hwDevice()->setMasterVolume(value); in setMasterVolume()
1166 sp<DeviceHalInterface> dev = mPrimaryHardwareDev->hwDevice(); in setMode()
1202 sp<DeviceHalInterface> primaryDev = mPrimaryHardwareDev->hwDevice(); in setMicMute()
1210 sp<DeviceHalInterface> dev = mAudioHwDevs.valueAt(i)->hwDevice(); in setMicMute()
1230 sp<DeviceHalInterface> primaryDev = mPrimaryHardwareDev->hwDevice(); in getMicMute()
1279 dev->hwDevice()->setMasterMute(muted); in setMasterMute()
[all …]
DAudioStreamOut.cpp51 return audioHwDev->hwDevice(); in hwDev()
DThreads.cpp4242 sp<DeviceHalInterface> hwDevice = mOutput->audioHwDev->hwDevice(); in createAudioPatch_l() local
4243 status = hwDevice->createAudioPatch(patch->num_sources, in createAudioPatch_l()
4303 sp<DeviceHalInterface> hwDevice = mOutput->audioHwDev->hwDevice(); in releaseAudioPatch_l() local
4304 status = hwDevice->releaseAudioPatch(handle); in releaseAudioPatch_l()
8574 sp<DeviceHalInterface> hwDevice = mInput->audioHwDev->hwDevice(); in createAudioPatch_l() local
8575 status = hwDevice->createAudioPatch(patch->num_sources, in createAudioPatch_l()
8624 sp<DeviceHalInterface> hwDevice = mInput->audioHwDev->hwDevice(); in releaseAudioPatch_l() local
8625 status = hwDevice->releaseAudioPatch(handle); in releaseAudioPatch_l()
8723 mHalStream(stream), mHalDevice(hwDev->hwDevice()), mAudioHwDev(hwDev), in MmapThread()
DAudioFlinger.h800 sp<DeviceHalInterface> hwDev() const { return audioHwDev->hwDevice(); } in hwDev()