Home
last modified time | relevance | path

Searched refs:string_pool_data (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/cmds/idmap2/libidmap2/
DResourceMapping.cpp151 auto& string_pool_data = overlay_data->string_pool_data; in FromContainers() local
152 if (string_pool_data.has_value()) { in FromContainers()
153 mapping.string_pool_offset_ = string_pool_data->string_pool_offset; in FromContainers()
154 mapping.string_pool_data_ = std::move(string_pool_data->data); in FromContainers()
155 mapping.string_pool_data_length_ = string_pool_data->data_length; in FromContainers()
DFabricatedOverlay.cpp65 std::string&& string_pool_data, in FabricatedOverlay() argument
70 string_pool_data_(std::move(string_pool_data)), in FabricatedOverlay()
478 result.string_pool_data = OverlayData::InlineStringPoolData{ in GetOverlayData()
483 memcpy(result.string_pool_data->data.get(), overlay_.string_pool_data_.data(), in GetOverlayData()
DResourceContainer.cpp238 overlay_data.string_pool_data = OverlayData::InlineStringPoolData{ in CreateResourceMapping()
245 memcpy(overlay_data.string_pool_data->data.get(), string_pool.data().unsafe_ptr(), in CreateResourceMapping()
/frameworks/base/cmds/idmap2/tests/
DFabricatedOverlayTests.cpp78 auto string_pool = ResStringPool(pairs->string_pool_data->data.get(), in TEST()
79 pairs->string_pool_data->data_length, false); in TEST()
168 auto string_pool = ResStringPool(pairs->string_pool_data->data.get(), in TEST()
169 pairs->string_pool_data->data_length, false); in TEST()
DResourceMappingTests.cpp230 auto string_pool_data = res.GetStringPoolData(); in TEST() local
231 auto string_pool = ResStringPool(string_pool_data.data(), string_pool_data.size(), false); in TEST()
DIdmapTests.cpp299 auto string_pool_data = data->GetStringPoolData(); in TEST() local
300 auto string_pool = ResStringPool(string_pool_data.data(), string_pool_data.size(), false); in TEST()
/frameworks/base/cmds/idmap2/include/idmap2/
DResourceContainer.h84 std::optional<InlineStringPoolData> string_pool_data; member