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.cpp361 static void DeserializeSourceFromPb(const pb::Source& pb_source, const ResStringPool& src_pool, in DeserializeSourceFromPb() argument
363 out_source->path = android::util::GetString(src_pool, pb_source.path_idx()); in DeserializeSourceFromPb()
380 const android::ResStringPool& src_pool, in DeserializeOverlayableItemFromPb() argument
418 DeserializeSourceFromPb(pb_overlayable.source(), src_pool, &out_overlayable->source); in DeserializeOverlayableItemFromPb()
425 static bool DeserializePackageFromPb(const pb::Package& pb_package, const ResStringPool& src_pool, in DeserializePackageFromPb() argument
457 DeserializeSourceFromPb(pb_visibility.source(), src_pool, &entry->visibility.source); in DeserializePackageFromPb()
480 DeserializeSourceFromPb(pb_allow_new.source(), src_pool, &allow_new.source); in DeserializePackageFromPb()
498 if (!DeserializeOverlayableItemFromPb(pb_overlayable_item, src_pool, &overlayable_item, in DeserializePackageFromPb()
510 DeserializeSourceFromPb(pb_staged_id.source(), src_pool, &staged_id.source); in DeserializePackageFromPb()
536 config_value->value = DeserializeValueFromPb(pb_config_value.value(), src_pool, config, in DeserializePackageFromPb()
[all …]
DProtoDeserialize.h35 const android::ResStringPool& src_pool,
41 const android::ResStringPool& src_pool,
DProtoSerialize.cpp44 void SerializeSourceToPb(const android::Source& source, android::StringPool* src_pool, in SerializeSourceToPb() argument
46 android::StringPool::Ref ref = src_pool->MakeRef(source.path); in SerializeSourceToPb()
496 static void SerializeItemMetaDataToPb(const Item& item, T* pb_item, android::StringPool* src_pool) { in SerializeItemMetaDataToPb() argument
497 if (src_pool != nullptr) { in SerializeItemMetaDataToPb()
498 SerializeSourceToPb(item.GetSource(), src_pool, pb_item->mutable_source()); in SerializeItemMetaDataToPb()
540 ValueSerializer(pb::Value* out_value, android::StringPool* src_pool) in ValueSerializer() argument
541 : out_value_(out_value), src_pool_(src_pool) { in ValueSerializer()
712 void SerializeValueToPb(const Value& value, pb::Value* out_value, android::StringPool* src_pool) { in SerializeValueToPb() argument
713 ValueSerializer serializer(out_value, src_pool); in SerializeValueToPb()
719 if (src_pool != nullptr) { in SerializeValueToPb()
[all …]
DProtoSerialize.h54 android::StringPool* src_pool = nullptr);
/frameworks/base/tools/aapt2/
DResourceUtils.h229 const android::ResStringPool& src_pool,
DResourceUtils.cpp732 const android::ResStringPool& src_pool, in ParseBinaryResValue() argument
748 const std::string str = android::util::GetString(src_pool, data); in ParseBinaryResValue()
749 auto spans_result = src_pool.styleAt(data); in ParseBinaryResValue()
758 android::Span{android::util::GetString(src_pool, spans->name.index), spans->firstChar, in ParseBinaryResValue()