Home
last modified time | relevance | path

Searched refs:mMappings (Results 1 – 5 of 5) sorted by relevance

/frameworks/native/services/surfaceflinger/tests/unittests/
DSmallAreaDetectionAllowMappingsTest.cpp28 SmallAreaDetectionAllowMappings mMappings; member in android::scheduler::SmallAreaDetectionAllowMappingsTest
42 mMappings.update(mappings); in TEST_F()
43 ASSERT_EQ(mMappings.getThresholdForAppId(kAppId1).value(), kThreshold1); in TEST_F()
44 ASSERT_EQ(mMappings.getThresholdForAppId(kAppId2).value(), kThreshold2); in TEST_F()
48 mMappings.setThresholdForAppId(kAppId1, kThreshold1); in TEST_F()
49 ASSERT_EQ(mMappings.getThresholdForAppId(kAppId1), kThreshold1); in TEST_F()
53 ASSERT_EQ(mMappings.getThresholdForAppId(kAppId1), std::nullopt); in TEST_F()
/frameworks/av/media/module/libmediaformatshaper/
DCodecProperties.cpp421 auto mapped = mMappings.find(kind + "-" + key); in getMapping()
422 if (mapped != mMappings.end()) { in getMapping()
436 for (const auto& [key, value] : mMappings) { in showMappings()
446 mMappings.insert({metaKey, value}); in setMapping()
452 int count = mMappings.size(); in getMappings()
466 for (const auto& [key, value] : mMappings) { in getMappings()
DCodecProperties.h141 std::map<std::string, std::string> mMappings /*GUARDED_BY(mMappingLock)*/ ; variable
/frameworks/av/media/codec2/vndk/
DC2DmaBufAllocator.cpp165 Mutexed<std::list<Mapping>> mMappings; member in android::C2DmaBufAllocation
176 if (!mMappings.lock()->empty()) { in map()
204 mMappings.lock()->push_back(map); in map()
210 Mutexed<std::list<Mapping>>::Locked mappings(mMappings); in unmap()
259 Mutexed<std::list<Mapping>>::Locked mappings(mMappings); in ~C2DmaBufAllocation()
DC2AllocatorIon.cpp185 if (!mMappings.lock()->empty()) { in map()
212 mMappings.lock()->push_back(map); in map()
218 Mutexed<std::list<Mapping>>::Locked mappings(mMappings); in unmap()
246 Mutexed<std::list<Mapping>>::Locked mappings(mMappings); in ~Impl()
327 Mutexed<std::list<Mapping>> mMappings; member in android::C2AllocationIon::Impl