Home
last modified time | relevance | path

Searched refs:out_value (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/tools/aapt2/
DResourceValues.cpp87 bool RawString::Flatten(android::Res_value* out_value) const { in Flatten()
88 out_value->dataType = android::Res_value::TYPE_STRING; in Flatten()
89 out_value->data = util::HostToDevice32(static_cast<uint32_t>(value.index())); in Flatten()
118 bool Reference::Flatten(android::Res_value* out_value) const { in Flatten()
124 out_value->dataType = android::Res_value::TYPE_DYNAMIC_REFERENCE; in Flatten()
126 out_value->dataType = android::Res_value::TYPE_REFERENCE; in Flatten()
130 out_value->dataType = android::Res_value::TYPE_DYNAMIC_ATTRIBUTE; in Flatten()
132 out_value->dataType = android::Res_value::TYPE_ATTRIBUTE; in Flatten()
135 out_value->data = util::HostToDevice32(resid.id); in Flatten()
258 bool String::Flatten(android::Res_value* out_value) const { in Flatten()
[all …]
DResourceValues.h137 virtual bool Flatten(android::Res_value* out_value) const = 0;
168 bool Flatten(android::Res_value* out_value) const override;
200 bool Flatten(android::Res_value* out_value) const override;
234 bool Flatten(android::Res_value* out_value) const override;
251 bool Flatten(android::Res_value* out_value) const override;
271 bool Flatten(android::Res_value* out_value) const override;
285 bool Flatten(android::Res_value* out_value) const override;
/frameworks/base/tools/aapt2/format/proto/
DProtoSerialize.cpp455 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()
626 out_value->set_comment(value.GetComment()); in SerializeValueToPb()
627 out_value->set_weak(value.IsWeak()); in SerializeValueToPb()
629 SerializeSourceToPb(value.GetSource(), src_pool, out_value->mutable_source()); in SerializeValueToPb()
DProtoSerialize.h40 void SerializeValueToPb(const Value& value, pb::Value* out_value, StringPool* src_pool = nullptr);
DProtoDeserialize.cpp657 Value* out_value) { in DeserializeItemMetaDataFromPb() argument
661 out_value->SetSource(std::move(source)); in DeserializeItemMetaDataFromPb()
663 out_value->SetComment(pb_item.comment()); in DeserializeItemMetaDataFromPb()
/frameworks/native/libs/vr/libdisplay/include/private/dvr/
Ddisplay_protocol.h169 bool GetAttribute(SurfaceAttributeKey key, ReturnType* out_value, in GetAttribute()
173 return pdx::rpc::IfAnyOf<Types...>::Get(&search->second, out_value); in GetAttribute()
/frameworks/base/libs/androidfw/include/androidfw/
DAssetManager2.h216 Res_value* out_value, ResTable_config* out_selected_config,
461 ApkAssetsCookie GetAttribute(uint32_t resid, Res_value* out_value, uint32_t* out_flags) const;
/frameworks/base/libs/androidfw/
DAssetManager2.cpp692 uint16_t density_override, Res_value* out_value, in GetResource() argument
709 out_value->dataType = Res_value::TYPE_REFERENCE; in GetResource()
710 out_value->data = resid; in GetResource()
718 out_value->copyFrom_dtoh(*device_value); in GetResource()
721 entry.dynamic_ref_table->lookupResourceValue(out_value); in GetResource()
1207 ApkAssetsCookie Theme::GetAttribute(uint32_t resid, Res_value* out_value, in GetAttribute() argument
1241 *out_value = entry.value; in GetAttribute()
/frameworks/native/libs/gui/
DBufferHubProducer.cpp531 status_t BufferHubProducer::query(int what, int* out_value) { in query() argument
536 if (out_value == nullptr) { in query()
592 *out_value = value; in query()
/frameworks/native/libs/gui/include/gui/
DBufferHubProducer.h83 status_t query(int what, int* out_value) override;