Lines Matching refs:patchBuilder
605 PatchBuilder patchBuilder; in createTelephonyPatch() local
613 patchBuilder.addSink(device). in createTelephonyPatch()
617 patchBuilder.addSource(device). in createTelephonyPatch()
624 createAudioPatchInternal(patchBuilder.patch(), &patchHandle, mUidCached, delayMs); in createTelephonyPatch()
1421 PatchBuilder patchBuilder; in buildMsdPatch() local
1422 patchBuilder.addSource(getMsdAudioInDevice()).addSink(outputDevice); in buildMsdPatch()
1423 audio_port_config sourceConfig = patchBuilder.patch()->sources[0]; in buildMsdPatch()
1424 audio_port_config sinkConfig = patchBuilder.patch()->sinks[0]; in buildMsdPatch()
1437 return patchBuilder; in buildMsdPatch()
1452 PatchBuilder patchBuilder = buildMsdPatch(device); in setMsdPatch() local
1453 const struct audio_patch* patch = patchBuilder.patch(); in setMsdPatch()
3666 PatchBuilder patchBuilder; in createAudioPatchInternal() local
3669 patchBuilder.addSource(sourcePortConfig); in createAudioPatchInternal()
3683 patchBuilder.addSink(sinkPortConfig); in createAudioPatchInternal()
3746 patchBuilder.addSource(srcMixPortConfig); in createAudioPatchInternal()
3753 __func__, index, handle, patchBuilder.patch(), delayMs, uid, &patchDesc); in createAudioPatchInternal()
4109 PatchBuilder patchBuilder; in connectAudioSource() local
4110 patchBuilder.addSink(sinkDevice).addSource(srcDevice); in connectAudioSource()
4113 createAudioPatchInternal(patchBuilder.patch(), &handle, mUidCached, 0, sourceDesc); in connectAudioSource()
5817 PatchBuilder patchBuilder; in setOutputDevices() local
5818 patchBuilder.addSource(outputDesc); in setOutputDevices()
5821 patchBuilder.addSink(filteredDevice); in setOutputDevices()
5826 installPatch(__func__, patchHandle, outputDesc.get(), patchBuilder.patch(), in setOutputDevices()
5871 PatchBuilder patchBuilder; in setInputDevice() local
5872 patchBuilder.addSink(inputDesc, in setInputDevice()
5883 status = installPatch(__func__, patchHandle, inputDesc.get(), patchBuilder.patch(), 0); in setInputDevice()