Home
last modified time | relevance | path

Searched refs:sourcePortConfigIds (Results 1 – 3 of 3) sorted by relevance

/frameworks/av/media/libaudiohal/impl/
DHal2AidlMapper.cpp133 patch.sourcePortConfigIds.clear(); in createOrUpdatePatch()
192 sourceIsDevice ? &patch.sourcePortConfigIds : &patch.sinkPortConfigIds; in createOrUpdatePatch()
196 sourceIsDevice ? &patch.sinkPortConfigIds : &patch.sourcePortConfigIds; in createOrUpdatePatch()
300 std::set<int32_t> sourcePortConfigIds(requestedPatch.sourcePortConfigIds.begin(), in findOrCreatePatch() local
301 requestedPatch.sourcePortConfigIds.end()); in findOrCreatePatch()
304 return findOrCreatePatch(sourcePortConfigIds, sinkPortConfigIds, match, patch, created); in findOrCreatePatch()
308 const std::set<int32_t>& sourcePortConfigIds, const std::set<int32_t>& sinkPortConfigIds, in findOrCreatePatch() argument
310 auto patchIt = findPatch(sourcePortConfigIds, sinkPortConfigIds, match); in findOrCreatePatch()
313 requestedPatch.sourcePortConfigIds.insert(requestedPatch.sourcePortConfigIds.end(), in findOrCreatePatch()
314 sourcePortConfigIds.begin(), sourcePortConfigIds.end()); in findOrCreatePatch()
[all …]
DHal2AidlMapper.h155 const std::set<int32_t>& sourcePortConfigIds,
182 Patches::iterator findPatch(const std::set<int32_t>& sourcePortConfigIds,
/frameworks/av/media/libaudiohal/tests/
DCoreAudioHalAidl_test.cpp938 ASSERT_EQ(1UL, mPatch.sourcePortConfigIds.size()); in SetUp()
939 ASSERT_EQ(mMixPortConfig.id, mPatch.sourcePortConfigIds[0]); in SetUp()
1242 EXPECT_EQ(std::vector<int32_t>{backMicPortConfig.id}, patchIt->sourcePortConfigIds); in TEST_F()