Home
last modified time | relevance | path

Searched refs:indexMask (Results 1 – 4 of 4) sorted by relevance

/hardware/interfaces/audio/aidl/default/alsa/
DUtils.cpp106 AudioChannelLayout::make<AudioChannelLayout::Tag::indexMask>(AudioChannelLayout::INDEX_MASK_##n)
193 case AudioChannelLayout::Tag::indexMask: { in getChannelCountFromChannelMask()
215 auto indexMask = alsa::getChannelIndexMaskFromChannelCount(profile->channel_counts[i]); in getChannelMasksFromProfile() local
216 if (indexMask.getTag() == AudioChannelLayout::Tag::indexMask) { in getChannelMasksFromProfile()
217 channels.push_back(indexMask); in getChannelMasksFromProfile()
/hardware/interfaces/audio/aidl/common/tests/
Dutils_tests.cpp46 EXPECT_EQ(0UL, getChannelCount(AudioChannelLayout::make<Tag::indexMask>(0))); in TEST()
50 AudioChannelLayout::make<Tag::indexMask>(AudioChannelLayout::INDEX_MASK_##N); \ in TEST()
/hardware/interfaces/audio/aidl/common/include/
DUtils.h91 case Tag::indexMask:
92 return __builtin_popcount(layout.get<Tag::indexMask>() & mask);
/hardware/google/gfxstream/guest/android-emu/aemu/base/containers/
DEntityManager.h73 static constexpr uint64_t indexMask = indexMaskBase;
82 return static_cast<size_t>(h & indexMask);
97 EntityHandle res = (index & indexMask);