Searched refs:staged_id (Results 1 – 13 of 13) sorted by relevance
/frameworks/base/tools/aapt2/link/ |
D | TableMerger.cpp | 158 if (src_entry->staged_id) { in MergeEntry() 159 if (dst_entry->staged_id && in MergeEntry() 160 dst_entry->staged_id.value().id != src_entry->staged_id.value().id) { in MergeEntry() 161 context->GetDiagnostics()->Error(android::DiagMessage(src_entry->staged_id.value().source) in MergeEntry() 164 context->GetDiagnostics()->Error(android::DiagMessage(dst_entry->staged_id.value().source) in MergeEntry() 167 dst_entry->staged_id = std::move(src_entry->staged_id); in MergeEntry()
|
/frameworks/base/tools/aapt2/ |
D | ResourceTable.cpp | 355 const std::optional<StagedId>& staged_id, in InsertEntryIntoTableView() argument 379 .staged_id = staged_id}; in InsertEntryIntoTableView() 408 entry->staged_id, entry->values); in GetPartitionedView() 410 if (options.create_alias_entries && entry->staged_id) { in GetPartitionedView() 411 auto alias_id = entry->staged_id.value().id; in GetPartitionedView() 558 if (res.staged_id.has_value()) { in AddResource() 559 entry->staged_id = res.staged_id.value(); in AddResource() 729 res_.staged_id = std::move(staged_alias); in SetStagedId()
|
D | ResourceTable.h | 134 std::optional<StagedId> staged_id; variable 216 std::optional<StagedId> staged_id; member 270 std::optional<StagedId> staged_id; member
|
D | Debug.cpp | 326 if (entry.staged_id) { in PrintTable() 328 printer->Print(entry.staged_id.value().id.to_string()); in PrintTable()
|
D | Resources.proto | 205 uint32 staged_id = 2; field 242 StagedId staged_id = 7; field
|
/frameworks/base/tools/aapt2/optimize/ |
D | Obfuscator.cpp | 205 .staged_id = entry->staged_id}; in HandleCollapseKeyStringPool()
|
/frameworks/base/tools/aapt2/format/proto/ |
D | ProtoDeserialize.cpp | 506 const pb::StagedId& pb_staged_id = pb_entry.staged_id(); in DeserializePackageFromPb() 508 StagedId staged_id; in DeserializePackageFromPb() local 510 DeserializeSourceFromPb(pb_staged_id.source(), src_pool, &staged_id.source); in DeserializePackageFromPb() 512 staged_id.id = pb_staged_id.staged_id(); in DeserializePackageFromPb() 513 entry->staged_id = std::move(staged_id); in DeserializePackageFromPb()
|
D | ProtoSerialize.cpp | 414 if (entry.staged_id) { in SerializeTableToPb() 417 SerializeSourceToPb(entry.staged_id.value().source, source_pool.get(), in SerializeTableToPb() 420 pb_staged_id->set_staged_id(entry.staged_id.value().id.id); in SerializeTableToPb()
|
D | ProtoSerialize_test.cpp | 956 ASSERT_TRUE(result.value().entry->staged_id); in TEST() 957 EXPECT_THAT(result.value().entry->staged_id.value().id, Eq(ResourceId(0x01ff0001))); in TEST()
|
/frameworks/base/tools/aapt2/format/binary/ |
D | BinaryResourceParser.cpp | 528 const auto staged_id = ResourceId(android::util::DeviceToHost32(ref_iter->stagedResId)); in ParseStagedAliases() local 542 const StagedId staged_id_def{.id = staged_id}; in ParseStagedAliases() 554 if (!table_->RemoveResource(resource_name, staged_id)) { in ParseStagedAliases() 556 staged_entries_to_remove_.insert({resource_name, staged_id}); in ParseStagedAliases()
|
D | TableFlattener.cpp | 470 if (entry.staged_id) { in FlattenTypes() 472 entry.staged_id.value().id.id, in FlattenTypes()
|
/frameworks/base/tools/aapt2/compile/ |
D | IdAssigner.cpp | 139 if (entry->staged_id && !assigned_ids.ReserveId(name, entry->staged_id.value().id, v, in Consume()
|
/frameworks/base/libs/androidfw/ |
D | LoadedArsc.cpp | 764 auto staged_id = dtohl(entry_iter->stagedResId); in Load() local 765 loaded_package->alias_id_map_.emplace_back(staged_id, finalized_id); in Load()
|