Home
last modified time | relevance | path

Searched refs:map_entry (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/tools/aapt2/unflatten/
DBinaryResourceParser.cpp482 for (const ResTable_map& map_entry : map) { in ParseStyle() local
483 if (Res_INTERNALID(util::DeviceToHost32(map_entry.name.ident))) { in ParseStyle()
488 style_entry.key = Reference(util::DeviceToHost32(map_entry.name.ident)); in ParseStyle()
489 style_entry.value = ParseValue(name, config, map_entry.value); in ParseStyle()
516 for (const ResTable_map& map_entry : map) { in ParseAttr() local
517 if (Res_INTERNALID(util::DeviceToHost32(map_entry.name.ident))) { in ParseAttr()
518 switch (util::DeviceToHost32(map_entry.name.ident)) { in ParseAttr()
520 attr->min_int = static_cast<int32_t>(map_entry.value.data); in ParseAttr()
523 attr->max_int = static_cast<int32_t>(map_entry.value.data); in ParseAttr()
532 symbol.value = util::DeviceToHost32(map_entry.value.data); in ParseAttr()
[all …]
DBinaryResourceParser.h95 bool CollectMetaData(const android::ResTable_map& map_entry, Value* value);
/frameworks/base/tools/aapt2/process/
DSymbolTable.cpp252 const android::ResTable_map& map_entry = entry[i].map; in LookupAttributeInTable() local
253 if (Res_INTERNALID(map_entry.name.ident)) { in LookupAttributeInTable()
254 switch (map_entry.name.ident) { in LookupAttributeInTable()
256 s->attribute->min_int = static_cast<int32_t>(map_entry.value.data); in LookupAttributeInTable()
259 s->attribute->max_int = static_cast<int32_t>(map_entry.value.data); in LookupAttributeInTable()
266 if (!table.getResourceName(map_entry.name.ident, false, &entry_name)) { in LookupAttributeInTable()
278 symbol.symbol.id = ResourceId(map_entry.name.ident); in LookupAttributeInTable()
279 symbol.value = map_entry.value.data; in LookupAttributeInTable()
/frameworks/base/libs/androidfw/
DAssetManager2.cpp483 const ResTable_map* map_entry = in GetBag() local
485 const ResTable_map* const map_entry_end = map_entry + dtohl(map->count); in GetBag()
491 const size_t entry_count = map_entry_end - map_entry; in GetBag()
495 for (; map_entry != map_entry_end; ++map_entry) { in GetBag()
496 uint32_t new_key = dtohl(map_entry->name.ident); in GetBag()
506 new_entry->value.copyFrom_dtoh(map_entry->value); in GetBag()
544 while (map_entry != map_entry_end && parent_entry != parent_entry_end) { in GetBag()
545 uint32_t child_key = dtohl(map_entry->name.ident); in GetBag()
557 new_entry->value.copyFrom_dtoh(map_entry->value); in GetBag()
561 ++map_entry; in GetBag()
[all …]
/frameworks/base/tools/aapt2/flatten/
DTableFlattener.cpp539 for (auto& map_entry : *shared_libs_) { in FlattenLibrarySpec()
540 lib_entry->packageId = util::HostToDevice32(map_entry.first); in FlattenLibrarySpec()
542 util::Utf8ToUtf16(map_entry.second)); in FlattenLibrarySpec()
/frameworks/base/tools/aapt2/cmd/
DLink.cpp571 for (auto& map_entry : config_sorted_files) { in Flatten() local
572 const ConfigDescription& config = map_entry.first.first; in Flatten()
573 FileOperation& file_op = map_entry.second; in Flatten()