Home
last modified time | relevance | path

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

/frameworks/av/services/audioflinger/datapath/
DAudioHwDevice.h49 const sp<DeviceHalInterface>& hwDevice, in AudioHwDevice() argument
53 , mHwDevice(hwDevice) in AudioHwDevice()
75 [[nodiscard]] sp<DeviceHalInterface> hwDevice() const { return mHwDevice; } in hwDevice() function
DAudioStreamIn.cpp44 return audioHwDev->hwDevice(); in hwDev()
DAudioStreamOut.cpp45 return audioHwDev->hwDevice(); in hwDev()
/frameworks/av/services/audioflinger/
DPatchPanel.cpp101 AudioHwDevice* hwDevice = findAudioHwDeviceByModule_l(port->ext.device.hw_module); in getAudioPort_l() local
102 if (hwDevice == nullptr) { in getAudioPort_l()
106 if (!hwDevice->supportsAudioPatches()) { in getAudioPort_l()
109 return hwDevice->getAudioPort(port); in getAudioPort_l()
174 sp<DeviceHalInterface> hwDevice = findHwDeviceByModule_l(hwModule); in createAudioPatch_l() local
175 if (hwDevice != 0) { in createAudioPatch_l()
176 hwDevice->releaseAudioPatch(removedPatch.mHalHandle); in createAudioPatch_l()
182 reuseExistingHalPatch = (hwDevice == 0) && patchesHaveSameRoute(*patch, oldPatch); in createAudioPatch_l()
361 sp<DeviceHalInterface> hwDevice = audioHwDevice->hwDevice(); in createAudioPatch_l() local
362 status = hwDevice->createAudioPatch(patch->num_sources, in createAudioPatch_l()
[all …]
DAudioFlinger.cpp397 sp<DeviceHalInterface> dev = mAudioHwDevs.valueAt(i)->hwDevice(); in setDeviceConnectedState()
418 sp<DeviceHalInterface> dev = mAudioHwDevs.valueAt(i)->hwDevice(); in setSimulateDeviceConnections()
619 return audioHwDevice->hwDevice()->addDeviceEffect(device, effect); in addEffectToHal()
629 return audioHwDevice->hwDevice()->removeDeviceEffect(device, effect); in removeEffectFromHal()
653 sp<DeviceHalInterface> dev = audioHwDevice->hwDevice(); in findSuitableHwDev_l()
804 sp<DeviceHalInterface> dev = mAudioHwDevs.valueAt(i)->hwDevice(); in dump()
1284 dev->hwDevice()->setMasterVolume(value); in setMasterVolume()
1358 sp<DeviceHalInterface> dev = mPrimaryHardwareDev.load()->hwDevice(); in setMode()
1395 sp<DeviceHalInterface> primaryDev = mPrimaryHardwareDev.load()->hwDevice(); in setMicMute()
1403 sp<DeviceHalInterface> dev = mAudioHwDevs.valueAt(i)->hwDevice(); in setMicMute()
[all …]
DThreads.cpp4984 sp<DeviceHalInterface> hwDevice = mOutput->audioHwDev->hwDevice(); in createAudioPatch_l() local
4985 status = hwDevice->createAudioPatch(patch->num_sources, in createAudioPatch_l()
5036 sp<DeviceHalInterface> hwDevice = mOutput->audioHwDev->hwDevice(); in releaseAudioPatch_l() local
5037 status = hwDevice->releaseAudioPatch(handle); in releaseAudioPatch_l()
9877 sp<DeviceHalInterface> hwDevice = mInput->audioHwDev->hwDevice(); in createAudioPatch_l() local
9878 status = hwDevice->createAudioPatch(patch->num_sources, in createAudioPatch_l()
9918 sp<DeviceHalInterface> hwDevice = mInput->audioHwDev->hwDevice(); in releaseAudioPatch_l() local
9919 status = hwDevice->releaseAudioPatch(handle); in releaseAudioPatch_l()
10184 mHalStream(stream), mHalDevice(hwDev->hwDevice()), mAudioHwDev(hwDev), in MmapThread()