Lines Matching refs:srcDevice
3658 sp<DeviceDescriptor> srcDevice = in createAudioPatchInternal() local
3660 if (srcDevice == 0) { in createAudioPatchInternal()
3668 srcDevice->toAudioPortConfig(&sourcePortConfig, &patch->sources[0]); in createAudioPatchInternal()
3691 if (!srcDevice->hasSameHwModuleAs(sinkDevice) || in createAudioPatchInternal()
3692 (srcDevice->getModuleVersionMajor() < 3) || in createAudioPatchInternal()
3693 !srcDevice->getModule()->supportsPatch(srcDevice, sinkDevice) || in createAudioPatchInternal()
3695 srcDevice->getAudioPort()->getGains().size() == 0)) { in createAudioPatchInternal()
4068 sp<DeviceDescriptor> srcDevice = in startAudioSource() local
4072 if (srcDevice == 0) { in startAudioSource()
4080 new SourceClientDescriptor(*portId, uid, *attributes, *source, srcDevice, in startAudioSource()
4100 sp<DeviceDescriptor> srcDevice = sourceDesc->srcDevice(); in connectAudioSource() local
4110 patchBuilder.addSink(sinkDevice).addSource(srcDevice); in connectAudioSource()
6308 if (sourceDesc->srcDevice()->equals(deviceDesc)) { in cleanUpForDevice()