Lines Matching refs:srcDeviceDesc
3023 sp<DeviceDescriptor> srcDeviceDesc = in createAudioPatch() local
3025 if (srcDeviceDesc == 0) { in createAudioPatch()
3032 srcDeviceDesc->toAudioPortConfig(&newPatch.sources[0], &patch->sources[0]); in createAudioPatch()
3050 if (!srcDeviceDesc->hasSameHwModuleAs(sinkDeviceDesc) || in createAudioPatch()
3051 (srcDeviceDesc->mModule->getHalVersionMajor() < 3)) { in createAudioPatch()
3371 sp<DeviceDescriptor> srcDeviceDesc = in startAudioSource() local
3374 if (srcDeviceDesc == 0) { in startAudioSource()
3379 new AudioSourceDescriptor(srcDeviceDesc, attributes, uid); in startAudioSource()
3402 sp<DeviceDescriptor> srcDeviceDesc = sourceDesc->mDevice; in connectAudioSource() local
3411 if (srcDeviceDesc->getAudioPort()->mModule->getHandle() == in connectAudioSource()
3413 srcDeviceDesc->getAudioPort()->mModule->getHalVersionMajor() >= 3 && in connectAudioSource()
3414 srcDeviceDesc->getAudioPort()->mGains.size() > 0) { in connectAudioSource()
3443 srcDeviceDesc->toAudioPortConfig(&patch->sources[0], NULL); in connectAudioSource()