Lines Matching refs:patchBuilder
676 PatchBuilder patchBuilder; in createTelephonyPatch() local
684 patchBuilder.addSink(device). in createTelephonyPatch()
688 patchBuilder.addSource(device). in createTelephonyPatch()
695 createAudioPatchInternal(patchBuilder.patch(), &patchHandle, mUidCached, delayMs); in createTelephonyPatch()
1488 PatchBuilder patchBuilder; in buildMsdPatch() local
1494 return patchBuilder; in buildMsdPatch()
1504 patchBuilder.addSource(sourceDevice).addSink(sinkDevice); in buildMsdPatch()
1506 audio_port_config sourceConfig = patchBuilder.patch()->sources[0]; in buildMsdPatch()
1507 audio_port_config sinkConfig = patchBuilder.patch()->sinks[0]; in buildMsdPatch()
1525 return patchBuilder; in buildMsdPatch()
3972 PatchBuilder patchBuilder; in createAudioPatchInternal() local
3979 patchBuilder = buildMsdPatch(false /*msdIsSource*/, srcDevice); in createAudioPatchInternal()
3984 patchBuilder.addSource(sourcePortConfig); in createAudioPatchInternal()
3998 patchBuilder.addSink(sinkPortConfig); in createAudioPatchInternal()
4072 patchBuilder.addSource(srcMixPortConfig); in createAudioPatchInternal()
4080 __func__, index, handle, patchBuilder.patch(), delayMs, uid, &patchDesc); in createAudioPatchInternal()
4441 PatchBuilder patchBuilder; in connectAudioSource() local
4442 patchBuilder.addSink(sinkDevice).addSource(srcDevice); in connectAudioSource()
4445 createAudioPatchInternal(patchBuilder.patch(), &handle, mUidCached, 0, sourceDesc); in connectAudioSource()
6211 PatchBuilder patchBuilder; in setOutputDevices() local
6212 patchBuilder.addSource(outputDesc); in setOutputDevices()
6215 patchBuilder.addSink(filteredDevice); in setOutputDevices()
6220 installPatch(__func__, patchHandle, outputDesc.get(), patchBuilder.patch(), in setOutputDevices()
6265 PatchBuilder patchBuilder; in setInputDevice() local
6266 patchBuilder.addSink(inputDesc, in setInputDevice()
6277 status = installPatch(__func__, patchHandle, inputDesc.get(), patchBuilder.patch(), 0); in setInputDevice()