Lines Matching refs:patchBuilder
604 PatchBuilder patchBuilder; in createTelephonyPatch() local
612 patchBuilder.addSink(device). in createTelephonyPatch()
616 patchBuilder.addSource(device). in createTelephonyPatch()
623 createAudioPatchInternal(patchBuilder.patch(), &patchHandle, mUidCached, delayMs); in createTelephonyPatch()
1368 PatchBuilder patchBuilder; in buildMsdPatch() local
1369 patchBuilder.addSource(getMsdAudioInDevice()).addSink(outputDevice); in buildMsdPatch()
1370 audio_port_config sourceConfig = patchBuilder.patch()->sources[0]; in buildMsdPatch()
1371 audio_port_config sinkConfig = patchBuilder.patch()->sinks[0]; in buildMsdPatch()
1384 return patchBuilder; in buildMsdPatch()
1399 PatchBuilder patchBuilder = buildMsdPatch(device); in setMsdPatch() local
1400 const struct audio_patch* patch = patchBuilder.patch(); in setMsdPatch()
3551 PatchBuilder patchBuilder; in createAudioPatchInternal() local
3554 patchBuilder.addSource(sourcePortConfig); in createAudioPatchInternal()
3568 patchBuilder.addSink(sinkPortConfig); in createAudioPatchInternal()
3631 patchBuilder.addSource(srcMixPortConfig); in createAudioPatchInternal()
3638 __func__, index, handle, patchBuilder.patch(), delayMs, uid, &patchDesc); in createAudioPatchInternal()
3989 PatchBuilder patchBuilder; in connectAudioSource() local
3990 patchBuilder.addSink(sinkDevice).addSource(srcDevice); in connectAudioSource()
3993 createAudioPatchInternal(patchBuilder.patch(), &handle, mUidCached, 0, sourceDesc); in connectAudioSource()
5617 PatchBuilder patchBuilder; in setOutputDevices() local
5618 patchBuilder.addSource(outputDesc); in setOutputDevices()
5621 patchBuilder.addSink(filteredDevice); in setOutputDevices()
5626 installPatch(__func__, patchHandle, outputDesc.get(), patchBuilder.patch(), in setOutputDevices()
5671 PatchBuilder patchBuilder; in setInputDevice() local
5672 patchBuilder.addSink(inputDesc, in setInputDevice()
5683 status = installPatch(__func__, patchHandle, inputDesc.get(), patchBuilder.patch(), 0); in setInputDevice()