Lines Matching refs:sinkDevice
3561 sp<DeviceDescriptor> sinkDevice = in createAudioPatchInternal() local
3563 if (sinkDevice == 0) { in createAudioPatchInternal()
3567 sinkDevice->toAudioPortConfig(&sinkPortConfig, &patch->sinks[i]); in createAudioPatchInternal()
3576 if (!srcDevice->hasSameHwModuleAs(sinkDevice) || in createAudioPatchInternal()
3578 !srcDevice->getModule()->supportsPatch(srcDevice, sinkDevice) || in createAudioPatchInternal()
3605 __FUNCTION__, sinkDevice->toString().c_str()); in createAudioPatchInternal()
3610 getOutputsForDevices(DeviceVector(sinkDevice), mOutputs); in createAudioPatchInternal()
3620 __FUNCTION__, sinkDevice->toString().c_str()); in createAudioPatchInternal()
3986 sp<DeviceDescriptor> sinkDevice = sinkDevices.itemAt(0); in connectAudioSource() local
3987 ALOG_ASSERT(mAvailableOutputDevices.contains(sinkDevice), "%s: Device %s not available", in connectAudioSource()
3988 __FUNCTION__, sinkDevice->toString().c_str()); in connectAudioSource()
3990 patchBuilder.addSink(sinkDevice).addSource(srcDevice); in connectAudioSource()