Searched refs:staged_id (Results 1 – 12 of 12) sorted by relevance
/frameworks/base/tools/aapt2/link/ |
D | TableMerger.cpp | 154 if (src_entry->staged_id) { in MergeEntry() 155 if (dst_entry->staged_id && in MergeEntry() 156 dst_entry->staged_id.value().id != src_entry->staged_id.value().id) { in MergeEntry() 157 context->GetDiagnostics()->Error(DiagMessage(src_entry->staged_id.value().source) in MergeEntry() 160 context->GetDiagnostics()->Error(DiagMessage(dst_entry->staged_id.value().source) in MergeEntry() 163 dst_entry->staged_id = std::move(src_entry->staged_id); in MergeEntry()
|
/frameworks/base/tools/aapt2/ |
D | ResourceTable.cpp | 348 const std::optional<StagedId>& staged_id, in InsertEntryIntoTableView() argument 371 .staged_id = staged_id}; in InsertEntryIntoTableView() 400 entry->staged_id, entry->values); in GetPartitionedView() 402 if (options.create_alias_entries && entry->staged_id) { in GetPartitionedView() 403 auto alias_id = entry->staged_id.value().id; in GetPartitionedView() 548 if (res.staged_id.has_value()) { in AddResource() 549 entry->staged_id = res.staged_id.value(); in AddResource() 718 res_.staged_id = std::move(staged_alias); in SetStagedId()
|
D | ResourceTable.h | 134 std::optional<StagedId> staged_id; variable 212 std::optional<StagedId> staged_id; member 266 std::optional<StagedId> staged_id; member
|
D | Debug.cpp | 314 if (entry.staged_id) { in PrintTable() 316 printer->Print(entry.staged_id.value().id.to_string()); in PrintTable()
|
D | Resources.proto | 196 uint32 staged_id = 2; field 233 StagedId staged_id = 7; field
|
/frameworks/base/tools/aapt2/format/proto/ |
D | ProtoDeserialize.cpp | 505 const pb::StagedId& pb_staged_id = pb_entry.staged_id(); in DeserializePackageFromPb() 507 StagedId staged_id; in DeserializePackageFromPb() local 509 DeserializeSourceFromPb(pb_staged_id.source(), src_pool, &staged_id.source); in DeserializePackageFromPb() 511 staged_id.id = pb_staged_id.staged_id(); in DeserializePackageFromPb() 512 entry->staged_id = std::move(staged_id); in DeserializePackageFromPb()
|
D | ProtoSerialize.cpp | 403 if (entry.staged_id) { in SerializeTableToPb() 406 SerializeSourceToPb(entry.staged_id.value().source, source_pool.get(), in SerializeTableToPb() 409 pb_staged_id->set_staged_id(entry.staged_id.value().id.id); in SerializeTableToPb()
|
D | ProtoSerialize_test.cpp | 950 ASSERT_TRUE(result.value().entry->staged_id); in TEST() 951 EXPECT_THAT(result.value().entry->staged_id.value().id, Eq(ResourceId(0x01ff0001))); in TEST()
|
/frameworks/base/tools/aapt2/format/binary/ |
D | BinaryResourceParser.cpp | 522 const auto staged_id = ResourceId(util::DeviceToHost32(ref_iter->stagedResId)); in ParseStagedAliases() local 536 const StagedId staged_id_def{.id = staged_id}; in ParseStagedAliases() 548 if (!table_->RemoveResource(resource_name, staged_id)) { in ParseStagedAliases() 550 staged_entries_to_remove_.insert({resource_name, staged_id}); in ParseStagedAliases()
|
D | TableFlattener.cpp | 630 if (entry.staged_id) { in FlattenTypes() 632 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 | 724 auto staged_id = dtohl(entry_iter->stagedResId); in Load() local 725 auto [_, success] = loaded_package->alias_id_map_.emplace(staged_id, finalized_id); in Load() 728 staged_id); in Load()
|