Searched refs:src_pool (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/tools/aapt2/format/proto/ |
D | ProtoDeserialize.cpp | 360 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 414 DeserializeSourceFromPb(pb_overlayable.source(), src_pool, &out_overlayable->source); in DeserializeOverlayableItemFromPb() 421 static bool DeserializePackageFromPb(const pb::Package& pb_package, const ResStringPool& src_pool, in DeserializePackageFromPb() argument 458 DeserializeSourceFromPb(pb_visibility.source(), src_pool, &entry->visibility.source); in DeserializePackageFromPb() 480 DeserializeSourceFromPb(pb_allow_new.source(), src_pool, &allow_new.source); in DeserializePackageFromPb() 496 if (!DeserializeOverlayableItemFromPb(pb_overlayable_item, src_pool, &overlayable_item, in DeserializePackageFromPb() 524 config_value->value = DeserializeValueFromPb(pb_config_value.value(), src_pool, config, in DeserializePackageFromPb() 662 static void DeserializeItemMetaDataFromPb(const T& pb_item, const android::ResStringPool& src_pool, in DeserializeItemMetaDataFromPb() argument [all …]
|
D | ProtoDeserialize.h | 36 const android::ResStringPool& src_pool, 42 const android::ResStringPool& src_pool,
|
D | ProtoSerialize.cpp | 42 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() 432 static void SerializeItemMetaDataToPb(const Item& item, T* pb_item, StringPool* src_pool) { in SerializeItemMetaDataToPb() argument 433 if (src_pool != nullptr) { in SerializeItemMetaDataToPb() 434 SerializeSourceToPb(item.GetSource(), src_pool, pb_item->mutable_source()); in SerializeItemMetaDataToPb() 476 ValueSerializer(pb::Value* out_value, StringPool* src_pool) in ValueSerializer() argument 477 : out_value_(out_value), src_pool_(src_pool) { in ValueSerializer() 643 void SerializeValueToPb(const Value& value, pb::Value* out_value, StringPool* src_pool) { in SerializeValueToPb() argument 644 ValueSerializer serializer(out_value, src_pool); in SerializeValueToPb() 650 if (src_pool != nullptr) { in SerializeValueToPb() [all …]
|
D | ProtoSerialize.h | 45 void SerializeValueToPb(const Value& value, pb::Value* out_value, StringPool* src_pool = nullptr);
|
/frameworks/base/tools/aapt2/ |
D | ResourceUtils.h | 232 const android::ResStringPool& src_pool,
|
D | ResourceUtils.cpp | 737 const android::ResStringPool& src_pool, in ParseBinaryResValue() argument 753 const std::string str = util::GetString(src_pool, data); in ParseBinaryResValue() 754 const android::ResStringPool_span* spans = src_pool.styleAt(data); in ParseBinaryResValue() 760 style_str.spans.push_back(Span{util::GetString(src_pool, spans->name.index), in ParseBinaryResValue()
|