Home
last modified time | relevance | path

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

/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp676 PatchBuilder patchBuilder; in createTelephonyPatch() local
684 patchBuilder.addSink(device). in createTelephonyPatch()
688 patchBuilder.addSource(device). in createTelephonyPatch()
695 createAudioPatchInternal(patchBuilder.patch(), &patchHandle, mUidCached, delayMs); in createTelephonyPatch()
1488 PatchBuilder patchBuilder; in buildMsdPatch() local
1494 return patchBuilder; in buildMsdPatch()
1504 patchBuilder.addSource(sourceDevice).addSink(sinkDevice); in buildMsdPatch()
1506 audio_port_config sourceConfig = patchBuilder.patch()->sources[0]; in buildMsdPatch()
1507 audio_port_config sinkConfig = patchBuilder.patch()->sinks[0]; in buildMsdPatch()
1525 return patchBuilder; in buildMsdPatch()
[all …]
/frameworks/av/services/audiopolicy/tests/
Daudiopolicymanager_tests.cpp352 PatchBuilder patchBuilder; in TEST_F() local
353 patchBuilder.addSource(mManager->getAvailableInputDevices()[0]). in TEST_F()
355 ASSERT_EQ(NO_ERROR, mManager->createAudioPatch(patchBuilder.patch(), &handle, uid)); in TEST_F()
622 PatchBuilder patchBuilder; in TEST_P() local
623 patchBuilder. in TEST_P()
628 ASSERT_EQ(NO_ERROR, mManager->createAudioPatch(patchBuilder.patch(), &handle, uid)); in TEST_P()