Home
last modified time | relevance | path

Searched refs:staged_id (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/tools/aapt2/link/
DTableMerger.cpp154 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/
DResourceTable.cpp348 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()
DResourceTable.h134 std::optional<StagedId> staged_id; variable
212 std::optional<StagedId> staged_id; member
266 std::optional<StagedId> staged_id; member
DDebug.cpp314 if (entry.staged_id) { in PrintTable()
316 printer->Print(entry.staged_id.value().id.to_string()); in PrintTable()
DResources.proto196 uint32 staged_id = 2; field
233 StagedId staged_id = 7; field
/frameworks/base/tools/aapt2/format/proto/
DProtoDeserialize.cpp505 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()
DProtoSerialize.cpp403 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()
DProtoSerialize_test.cpp950 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/
DBinaryResourceParser.cpp522 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()
DTableFlattener.cpp630 if (entry.staged_id) { in FlattenTypes()
632 entry.staged_id.value().id.id, in FlattenTypes()
/frameworks/base/tools/aapt2/compile/
DIdAssigner.cpp139 if (entry->staged_id && !assigned_ids.ReserveId(name, entry->staged_id.value().id, v, in Consume()
/frameworks/base/libs/androidfw/
DLoadedArsc.cpp724 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()