Searched refs:mMappings (Results 1 – 5 of 5) sorted by relevance
28 SmallAreaDetectionAllowMappings mMappings; member in android::scheduler::SmallAreaDetectionAllowMappingsTest42 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()
421 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()
141 std::map<std::string, std::string> mMappings /*GUARDED_BY(mMappingLock)*/ ; variable
165 Mutexed<std::list<Mapping>> mMappings; member in android::C2DmaBufAllocation176 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()
185 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