Searched refs:patchBuilder (Results 1 – 2 of 2) sorted by relevance
/frameworks/av/services/audiopolicy/managerdefault/ |
D | AudioPolicyManager.cpp | 839 PatchBuilder patchBuilder; in connectTelephonyTxAudioSource() local 840 patchBuilder.addSource(srcDevice).addSink(sinkDevice); in connectTelephonyTxAudioSource() 856 mCallTxSourceClient, sinkDevice, patchBuilder.patch(), patchHandle, mUidCached, in connectTelephonyTxAudioSource() 1931 PatchBuilder patchBuilder; in buildMsdPatch() local 1937 return patchBuilder; in buildMsdPatch() 1947 patchBuilder.addSource(sourceDevice).addSink(sinkDevice); in buildMsdPatch() 1949 audio_port_config sourceConfig = patchBuilder.patch()->sources[0]; in buildMsdPatch() 1950 audio_port_config sinkConfig = patchBuilder.patch()->sinks[0]; in buildMsdPatch() 1968 return patchBuilder; in buildMsdPatch() 5322 PatchBuilder patchBuilder; in createAudioPatchInternal() local [all …]
|
/frameworks/av/services/audiopolicy/tests/ |
D | audiopolicymanager_tests.cpp | 438 PatchBuilder patchBuilder; in TEST_F() local 439 patchBuilder.addSource(mManager->getAvailableInputDevices()[0]). in TEST_F() 441 ASSERT_EQ(NO_ERROR, mManager->createAudioPatch(patchBuilder.patch(), &handle, uid)); in TEST_F() 713 PatchBuilder patchBuilder; in TEST_P() local 714 patchBuilder. in TEST_P() 719 ASSERT_EQ(NO_ERROR, mManager->createAudioPatch(patchBuilder.patch(), &handle, uid)); in TEST_P()
|