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()
339 sp<DeviceHalInterface> hwDevice = audioHwDevice->hwDevice(); in createAudioPatch() local
340 status = hwDevice->createAudioPatch(patch->num_sources, in createAudioPatch()
690 sp<DeviceHalInterface> hwDevice = findHwDeviceByModule(src.ext.device.hw_module); in releaseAudioPatch() local
691 if (hwDevice == 0) { in releaseAudioPatch()
715 status = hwDevice->releaseAudioPatch(removedPatch.mHalHandle); in releaseAudioPatch()
811 return audioHwDevice ? audioHwDevice->hwDevice() : nullptr; in findHwDeviceByModule()
DAudioFlinger.cpp410 return audioHwDevice->hwDevice()->addDeviceEffect(deviceId, effect); in addEffectToHal()
420 return audioHwDevice->hwDevice()->removeDeviceEffect(deviceId, effect); in removeEffectFromHal()
444 sp<DeviceHalInterface> dev = audioHwDevice->hwDevice(); in findSuitableHwDev_l()
594 sp<DeviceHalInterface> dev = mAudioHwDevs.valueAt(i)->hwDevice(); in dump()
1082 dev->hwDevice()->setMasterVolume(value); in setMasterVolume()
1156 sp<DeviceHalInterface> dev = mPrimaryHardwareDev->hwDevice(); in setMode()
1188 sp<DeviceHalInterface> primaryDev = mPrimaryHardwareDev->hwDevice(); in setMicMute()
1196 sp<DeviceHalInterface> dev = mAudioHwDevs.valueAt(i)->hwDevice(); in setMicMute()
1216 sp<DeviceHalInterface> primaryDev = mPrimaryHardwareDev->hwDevice(); in getMicMute()
1265 dev->hwDevice()->setMasterMute(muted); in setMasterMute()
[all …]
DAudioStreamOut.cpp51 return audioHwDev->hwDevice(); in hwDev()
DThreads.cpp4118 sp<DeviceHalInterface> hwDevice = mOutput->audioHwDev->hwDevice(); in createAudioPatch_l() local
4119 status = hwDevice->createAudioPatch(patch->num_sources, in createAudioPatch_l()
4168 sp<DeviceHalInterface> hwDevice = mOutput->audioHwDev->hwDevice(); in releaseAudioPatch_l() local
4169 status = hwDevice->releaseAudioPatch(handle); in releaseAudioPatch_l()
8373 sp<DeviceHalInterface> hwDevice = mInput->audioHwDev->hwDevice(); in createAudioPatch_l() local
8374 status = hwDevice->createAudioPatch(patch->num_sources, in createAudioPatch_l()
8414 sp<DeviceHalInterface> hwDevice = mInput->audioHwDev->hwDevice(); in releaseAudioPatch_l() local
8415 status = hwDevice->releaseAudioPatch(handle); in releaseAudioPatch_l()
8513 mHalStream(stream), mHalDevice(hwDev->hwDevice()), mAudioHwDev(hwDev), in MmapThread()
DAudioFlinger.h787 sp<DeviceHalInterface> hwDev() const { return audioHwDev->hwDevice(); } in hwDev()