Home
last modified time | relevance | path

Searched refs:type_id (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/tools/aapt2/compile/
DIdAssigner.cpp38 if (!type->id || type->id.value() == id.type_id()) { in AssignId()
39 type->id = id.type_id(); in AssignId()
146 const uint8_t type_id = next_type_iter->first.type_id(); in Consume() local
147 if (type_id > next_expected_type_id) { in Consume()
156 next_expected_type_id = type_id + 1; in Consume()
186 next_entry_iter->first.type_id() != type->id.value()) { in Consume()
/frameworks/base/libs/androidfw/include/androidfw/
DResourceUtils.h66 inline uint32_t make_resid(uint8_t package_id, uint8_t type_id, uint16_t entry_id) { in make_resid() argument
67 return (static_cast<uint32_t>(package_id) << 24) | (static_cast<uint32_t>(type_id) << 16) | in make_resid()
DLoadedArsc.h242 uint8_t type_id = ptr->type_spec->id; in ForEachTypeSpec() local
243 f(ptr.get(), type_id - 1); in ForEachTypeSpec()
/frameworks/base/tools/aapt2/
DResourceTable.cpp414 ResourceTableType* type = package->FindOrCreateType(name.type, use_id ? res_id.type_id() in AddResourceImpl()
418 if (check_id && type->id && type->id.value() != res_id.type_id()) { in AddResourceImpl()
468 type->id = res_id.type_id(); in AddResourceImpl()
520 ResourceTableType* type = package->FindOrCreateType(name.type, use_id ? res_id.type_id() in SetVisibilityImpl()
524 if (check_id && type->id && type->id.value() != res_id.type_id()) { in SetVisibilityImpl()
546 type->id = res_id.type_id(); in SetVisibilityImpl()
DSdkConstants.cpp69 if (id.package_id() != 0x01 || id.type_id() != 0x01) { in FindAttributeSdkLevel()
DResource.h157 uint8_t type_id() const;
249 inline uint8_t ResourceId::type_id() const { in type_id() function
DResources.proto97 TypeId type_id = 1; field
/frameworks/base/tools/aapt2/format/proto/
DProtoDeserialize.cpp445 type->id = static_cast<uint8_t>(pb_type.type_id().id()); in DeserializePackageFromPb()
504 ResourceId resid(pb_package.package_id().id(), pb_type.type_id().id(), in DeserializePackageFromPb()
/frameworks/base/tools/aapt2/dump/
DDumpManifest.cpp196 if (type->id && type->id.value() == res_id.type_id()) { in FindValueById()