Home
last modified time | relevance | path

Searched refs:data_header (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/libs/androidfw/
DIdmap.cpp119 OverlayDynamicRefTable::OverlayDynamicRefTable(const Idmap_data_header* data_header, in OverlayDynamicRefTable() argument
122 : data_header_(data_header), in OverlayDynamicRefTable()
148 IdmapResMap::IdmapResMap(const Idmap_data_header* data_header, in IdmapResMap() argument
155 : data_header_(data_header), in IdmapResMap()
261 const Idmap_data_header* data_header, in LoadedIdmap() argument
270 data_header_(data_header), in LoadedIdmap()
318 auto data_header = ReadType<Idmap_data_header>(&data_ptr, &data_size, "data header"); in Load() local
319 if (data_header == nullptr) { in Load()
323 dtohl(data_header->target_entry_count)); in Load()
328 &data_ptr, &data_size, "target inline", dtohl(data_header->target_inline_entry_count)); in Load()
[all …]
/frameworks/base/cmds/idmap2/libidmap2/
DIdmap.cpp344 std::unique_ptr<IdmapData::Header> data_header(new IdmapData::Header()); in FromResourceMapping() local
345 data_header->target_entry_count = static_cast<uint32_t>(data->target_entries_.size()); in FromResourceMapping()
346 data_header->target_entry_inline_count = in FromResourceMapping()
348 data_header->target_entry_inline_value_count = inline_value_count; in FromResourceMapping()
349 data_header->config_count = config_set.size(); in FromResourceMapping()
350 data_header->overlay_entry_count = static_cast<uint32_t>(data->overlay_entries_.size()); in FromResourceMapping()
351 data_header->string_pool_index_offset = resource_mapping.GetStringPoolOffset(); in FromResourceMapping()
352 data->header_ = std::move(data_header); in FromResourceMapping()
/frameworks/base/libs/androidfw/include/androidfw/
DIdmap.h69 explicit OverlayDynamicRefTable(const Idmap_data_header* data_header,
134 explicit IdmapResMap(const Idmap_data_header* data_header,
212 const Idmap_data_header* data_header,