Searched refs:src_pool (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/tools/aapt2/format/proto/ |
D | ProtoDeserialize.cpp | 358 static void DeserializeSourceFromPb(const pb::Source& pb_source, const ResStringPool& src_pool, in DeserializeSourceFromPb() argument 360 out_source->path = util::GetString(src_pool, pb_source.path_idx()); in DeserializeSourceFromPb() 377 const android::ResStringPool& src_pool, in DeserializeOverlayableItemFromPb() argument 409 DeserializeSourceFromPb(pb_overlayable.source(), src_pool, &out_overlayable->source); in DeserializeOverlayableItemFromPb() 416 static bool DeserializePackageFromPb(const pb::Package& pb_package, const ResStringPool& src_pool, in DeserializePackageFromPb() argument 453 DeserializeSourceFromPb(pb_visibility.source(), src_pool, &entry->visibility.source); in DeserializePackageFromPb() 475 DeserializeSourceFromPb(pb_allow_new.source(), src_pool, &allow_new.source); in DeserializePackageFromPb() 491 if (!DeserializeOverlayableItemFromPb(pb_overlayable_item, src_pool, &overlayable_item, in DeserializePackageFromPb() 519 config_value->value = DeserializeValueFromPb(pb_config_value.value(), src_pool, config, in DeserializePackageFromPb() 656 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 | 40 void SerializeSourceToPb(const Source& source, StringPool* src_pool, pb::Source* out_pb_source) { in SerializeSourceToPb() argument 41 StringPool::Ref ref = src_pool->MakeRef(source.path); in SerializeSourceToPb() 411 static void SerializeItemMetaDataToPb(const Item& item, T* pb_item, StringPool* src_pool) { in SerializeItemMetaDataToPb() argument 412 if (src_pool != nullptr) { in SerializeItemMetaDataToPb() 413 SerializeSourceToPb(item.GetSource(), src_pool, pb_item->mutable_source()); in SerializeItemMetaDataToPb() 455 ValueSerializer(pb::Value* out_value, StringPool* src_pool) in ValueSerializer() argument 456 : out_value_(out_value), src_pool_(src_pool) { in ValueSerializer() 621 void SerializeValueToPb(const Value& value, pb::Value* out_value, StringPool* src_pool) { in SerializeValueToPb() argument 622 ValueSerializer serializer(out_value, src_pool); in SerializeValueToPb() 628 if (src_pool != nullptr) { in SerializeValueToPb() [all …]
|
D | ProtoSerialize.h | 40 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 747 const std::string str = util::GetString(src_pool, data); in ParseBinaryResValue() 748 const android::ResStringPool_span* spans = src_pool.styleAt(data); in ParseBinaryResValue() 754 style_str.spans.push_back(Span{util::GetString(src_pool, spans->name.index), in ParseBinaryResValue()
|