Lines Matching refs:hwDevice
101 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()
494 AudioHwDevice* hwDevice = findAudioHwDeviceByModule_l(devicePort->ext.device.hw_module); in getAudioMixPort_l() local
495 if (hwDevice == nullptr) { in getAudioMixPort_l()
499 return hwDevice->getAudioMixPort(devicePort, mixPort); in getAudioMixPort_l()
792 sp<DeviceHalInterface> hwDevice = findHwDeviceByModule_l(src.ext.device.hw_module); in releaseAudioPatch_l() local
793 if (hwDevice == 0) { in releaseAudioPatch_l()
819 status = hwDevice->releaseAudioPatch(removedPatch.mHalHandle); in releaseAudioPatch_l()
946 return audioHwDevice ? audioHwDevice->hwDevice() : nullptr; in findHwDeviceByModule_l()