Home
last modified time | relevance | path

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

/frameworks/base/tools/aapt2/format/binary/
DBinaryResourceParser.cpp389 const ResourceId res_id(package_id, type->id, static_cast<uint16_t>(it.index())); in ParseType() local
401 << "failed to parse value for resource " << name << " (" << res_id in ParseType()
406 if (const auto to_remove_it = staged_entries_to_remove_.find({name, res_id}); in ParseType()
414 .SetId(res_id, OnIdConflict::CREATE_ENTRY) in ParseType()
420 auto spec_flags = entry_type_spec_flags_.find(res_id); in ParseType()
429 entry_type_spec_flags_.erase(res_id); in ParseType()
434 auto cache_iter = id_index_.find(res_id); in ParseType()
436 id_index_.insert({res_id, name}); in ParseType()
488 ResourceId res_id(android::util::DeviceToHost32(ref_iter->ident)); in ParseOverlayable() local
489 const auto iter = id_index_.find(res_id); in ParseOverlayable()
[all …]
/frameworks/base/tools/aapt2/process/
DSymbolTable.cpp326 ResourceId res_id = 0; in FindByName() local
344 res_id.id = *real_res_id; in FindByName()
345 if (!res_id.is_valid_static()) { in FindByName()
349 auto flags = asset_manager_.GetResourceTypeSpecFlags(res_id.id); in FindByName()
365 s = LookupAttributeInTable(asset_manager_, res_id); in FindByName()
368 s->id = res_id; in FindByName()
373 s->is_dynamic = IsPackageDynamic(ResourceId(res_id).package_id(), real_name.package) || in FindByName()
/frameworks/base/tools/aapt2/
DResource.h190 ResourceId(uint32_t res_id); // NOLINT(google-explicit-constructor)
273 inline ResourceId::ResourceId(uint32_t res_id) : id(res_id) {} in ResourceId() argument
314 inline ::std::ostream& operator<<(::std::ostream& out, const ResourceId& res_id) {
315 return out << res_id.to_string();
/frameworks/base/core/jni/
Dandroid_util_XmlBlock.cpp78 jlong token, jint res_id) in android_content_XmlBlock_nativeCreateParseState() argument
92 st->setSourceResourceId(res_id); in android_content_XmlBlock_nativeCreateParseState()
/frameworks/base/tools/aapt2/xml/
DXmlDom.cpp242 uint32_t res_id = parser->getAttributeNameResID(i); in CopyAttributes() local
243 if (res_id > 0) { in CopyAttributes()
244 attr.compiled_attribute = AaptAttribute(::aapt::Attribute(), {res_id}); in CopyAttributes()
/frameworks/base/libs/androidfw/
DAssetManager2.cpp1873 auto res_id = keys_[i]; in Dump() local
1876 res_id, entry.value.data, entry.value.dataType, in Dump()
/frameworks/base/tools/aapt2/dump/
DDumpManifest.cpp307 Value* FindValueById(const ResourceTable* table, const ResourceId& res_id, in FindValueById() argument
313 if (entry->id && entry->id.value() == res_id.id) { in FindValueById()