Home
last modified time | relevance | path

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

/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp605 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
[all …]
/frameworks/av/services/audiopolicy/tests/
Daudiopolicymanager_tests.cpp310 PatchBuilder patchBuilder; in TEST_F() local
311 patchBuilder.addSource(mManager->getAvailableInputDevices()[0]). in TEST_F()
313 ASSERT_EQ(NO_ERROR, mManager->createAudioPatch(patchBuilder.patch(), &handle, uid)); in TEST_F()