Home
last modified time | relevance | path

Searched refs:src_pool (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/tools/aapt2/format/proto/
DProtoDeserialize.cpp360 static void DeserializeSourceFromPb(const pb::Source& pb_source, const ResStringPool& src_pool, in DeserializeSourceFromPb() argument
362 out_source->path = util::GetString(src_pool, pb_source.path_idx()); in DeserializeSourceFromPb()
379 const android::ResStringPool& src_pool, in DeserializeOverlayableItemFromPb() argument
417 DeserializeSourceFromPb(pb_overlayable.source(), src_pool, &out_overlayable->source); in DeserializeOverlayableItemFromPb()
424 static bool DeserializePackageFromPb(const pb::Package& pb_package, const ResStringPool& src_pool, in DeserializePackageFromPb() argument
456 DeserializeSourceFromPb(pb_visibility.source(), src_pool, &entry->visibility.source); in DeserializePackageFromPb()
479 DeserializeSourceFromPb(pb_allow_new.source(), src_pool, &allow_new.source); in DeserializePackageFromPb()
497 if (!DeserializeOverlayableItemFromPb(pb_overlayable_item, src_pool, &overlayable_item, in DeserializePackageFromPb()
509 DeserializeSourceFromPb(pb_staged_id.source(), src_pool, &staged_id.source); in DeserializePackageFromPb()
535 config_value->value = DeserializeValueFromPb(pb_config_value.value(), src_pool, config, in DeserializePackageFromPb()
[all …]
DProtoDeserialize.h36 const android::ResStringPool& src_pool,
42 const android::ResStringPool& src_pool,
DProtoSerialize.cpp42 void SerializeSourceToPb(const Source& source, StringPool* src_pool, pb::Source* out_pb_source) { in SerializeSourceToPb() argument
43 StringPool::Ref ref = src_pool->MakeRef(source.path); in SerializeSourceToPb()
485 static void SerializeItemMetaDataToPb(const Item& item, T* pb_item, StringPool* src_pool) { in SerializeItemMetaDataToPb() argument
486 if (src_pool != nullptr) { in SerializeItemMetaDataToPb()
487 SerializeSourceToPb(item.GetSource(), src_pool, pb_item->mutable_source()); in SerializeItemMetaDataToPb()
529 ValueSerializer(pb::Value* out_value, StringPool* src_pool) in ValueSerializer() argument
530 : out_value_(out_value), src_pool_(src_pool) { in ValueSerializer()
701 void SerializeValueToPb(const Value& value, pb::Value* out_value, StringPool* src_pool) { in SerializeValueToPb() argument
702 ValueSerializer serializer(out_value, src_pool); in SerializeValueToPb()
708 if (src_pool != nullptr) { in SerializeValueToPb()
[all …]
DProtoSerialize.h54 void SerializeValueToPb(const Value& value, pb::Value* out_value, StringPool* src_pool = nullptr);
/frameworks/base/tools/aapt2/
DResourceUtils.h232 const android::ResStringPool& src_pool,
DResourceUtils.cpp740 const android::ResStringPool& src_pool, in ParseBinaryResValue() argument
756 const std::string str = util::GetString(src_pool, data); in ParseBinaryResValue()
757 auto spans_result = src_pool.styleAt(data); in ParseBinaryResValue()
765 style_str.spans.push_back(Span{util::GetString(src_pool, spans->name.index), in ParseBinaryResValue()