Home
last modified time | relevance | path

Searched refs:patchBuilder (Results 1 – 2 of 2) sorted by relevance

/frameworks/av/services/audiopolicy/tests/
Daudiopolicymanager_tests.cpp268 PatchBuilder patchBuilder; in TEST_F() local
269 patchBuilder.addSource(mManager->getConfig().getAvailableInputDevices()[0]). in TEST_F()
271 ASSERT_EQ(NO_ERROR, mManager->createAudioPatch(patchBuilder.patch(), &handle, uid)); in TEST_F()
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp574 PatchBuilder patchBuilder; in createTelephonyPatch() local
580 patchBuilder.addSink(device). in createTelephonyPatch()
584 patchBuilder.addSource(device). in createTelephonyPatch()
601 patchBuilder.addSource(outputDesc, { .stream = AUDIO_STREAM_PATCH }); in createTelephonyPatch()
618 patchBuilder.patch(), &afPatchHandle, delayMs); in createTelephonyPatch()
623 audioPatch = new AudioPatch(patchBuilder.patch(), mUidCached); in createTelephonyPatch()
1387 PatchBuilder patchBuilder; in buildMsdPatch() local
1388 patchBuilder.addSource(getMsdAudioInDevice()).addSink(outputDevice); in buildMsdPatch()
1389 audio_port_config sourceConfig = patchBuilder.patch()->sources[0]; in buildMsdPatch()
1390 audio_port_config sinkConfig = patchBuilder.patch()->sinks[0]; in buildMsdPatch()
[all …]