Home
last modified time | relevance | path

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

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