Home
last modified time | relevance | path

Searched refs:type_id (Results 1 – 20 of 20) 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.h218 uint8_t type_id = ptr->type_spec->id; in ForEachTypeSpec() local
220 type_id = ptr->idmap_entries->target_type_id; in ForEachTypeSpec()
222 f(ptr.get(), type_id - 1); in ForEachTypeSpec()
DIdmap.h58 const IdmapEntry_header* GetEntryMapForType(uint8_t type_id) const;
/frameworks/base/libs/androidfw/
DIdmap.cpp182 const IdmapEntry_header* LoadedIdmap::GetEntryMapForType(uint8_t type_id) const { in GetEntryMapForType()
183 auto iter = type_map_.find(type_id); in GetEntryMapForType()
/frameworks/base/tools/aapt2/
DSdkConstants.cpp65 if (id.package_id() != 0x01 || id.type_id() != 0x01) { in FindAttributeSdkLevel()
DResourceTable.cpp416 ResourceTableType* type = package->FindOrCreateType(name.type, use_id ? res_id.type_id() in AddResourceImpl()
420 if (check_id && type->id && type->id.value() != res_id.type_id()) { in AddResourceImpl()
470 type->id = res_id.type_id(); in AddResourceImpl()
522 ResourceTableType* type = package->FindOrCreateType(name.type, use_id ? res_id.type_id() in SetVisibilityImpl()
526 if (check_id && type->id && type->id.value() != res_id.type_id()) { in SetVisibilityImpl()
548 type->id = res_id.type_id(); in SetVisibilityImpl()
DResource.h156 uint8_t type_id() const;
248 inline uint8_t ResourceId::type_id() const { in type_id() function
DResources.proto98 TypeId type_id = 1; field
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/google/protobuf/internal/
Ddecoder.py669 type_id = -1
678 (type_id, pos) = local_DecodeVarint(buffer, pos)
692 if type_id == -1:
697 extension = extensions_by_number.get(type_id)
Dunknown_fields_test.py96 item.type_id = 98418603
Dreflection_test.py1725 self.assertEqual(raw.item[0].type_id, 98418634)
2460 item.type_id = 98418603
2468 item.type_id = 98418604
2476 item.type_id = 98418605
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/
Dwire_format_unittest.cc445 raw.item(0).type_id()); in TEST()
448 raw.item(1).type_id()); in TEST()
449 EXPECT_EQ(kUnknownTypeId, raw.item(2).type_id()); in TEST()
583 uint32 type_id = message.GetDescriptor()->extension(0)->number(); in TEST() local
585 type_id, &coded_output); in TEST()
Dunittest_mset.proto79 required int32 type_id = 2; field
Dextension_set_heavy.cc664 uint32 type_id; in ParseMessageSetItem() local
665 if (!input->ReadVarint32(&type_id)) return false; in ParseMessageSetItem()
666 last_type_id = type_id; in ParseMessageSetItem()
Dwire_format.cc732 uint32 type_id; in ParseAndMergeMessageSetItem() local
733 if (!input->ReadVarint32(&type_id)) return false; in ParseAndMergeMessageSetItem()
734 last_type_id = type_id; in ParseAndMergeMessageSetItem()
735 field = message_reflection->FindKnownExtensionByNumber(type_id); in ParseAndMergeMessageSetItem()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/compatibility_tests/v2.5.0/more_protos/src/proto/google/protobuf/
Dunittest_mset.proto68 required int32 type_id = 2; field
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/compatibility_tests/v2.5.0/protos/src/proto/google/protobuf/
Dunittest_mset.proto68 required int32 type_id = 2; field
/frameworks/base/tools/aapt2/format/proto/
DProtoDeserialize.cpp440 type->id = static_cast<uint8_t>(pb_type.type_id().id()); in DeserializePackageFromPb()
499 ResourceId resid(pb_package.package_id().id(), pb_type.type_id().id(), in DeserializePackageFromPb()
/frameworks/base/tools/aapt2/dump/
DDumpManifest.cpp195 if (type->id && type->id.value() == res_id.type_id()) { in FindValueById()