Home
last modified time | relevance | path

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

/frameworks/base/cmds/idmap2/include/idmap2/
DResourceMapping.h36 using ConfigMap = std::unordered_map<std::string, TargetValue>; variable
37 using TargetResourceMap = std::map<ResourceId, std::variant<ResourceId, ConfigMap>>;
/frameworks/base/cmds/idmap2/libidmap2/
DResourceMapping.cpp178 auto[iter, inserted] = target_map_.try_emplace(target_resource, ConfigMap()); in AddMapping()
183 auto& config_map = std::get<ConfigMap>(resource_value); in AddMapping()
DFabricatedOverlay.cpp185 using ConfigMap = std::map<std::string, TargetValue, std::less<>>; in Build() typedef
186 using EntryMap = std::map<std::string, ConfigMap, std::less<>>; in Build()
223 entry = type->second.insert(std::make_pair(entry_name, ConfigMap())).first; in Build()
DIdmap.cpp329 for (const auto& [config, value] : std::get<ConfigMap>(mapping.second)) { in FromResourceMapping()
/frameworks/base/cmds/idmap2/tests/
DResourceMappingTests.cpp125 auto config_map = std::get_if<ConfigMap>(&entry_map->second); in MappingExists()