Home
last modified time | relevance | path

Searched refs:data_type (Results 1 – 25 of 29) sorted by relevance

12

/frameworks/base/cmds/idmap2/libidmap2/
DResourceUtils.cpp32 bool IsReference(uint8_t data_type) { in IsReference() argument
33 return data_type == Res_value::TYPE_REFERENCE || data_type == Res_value::TYPE_DYNAMIC_REFERENCE; in IsReference()
36 StringPiece DataTypeToString(uint8_t data_type) { in DataTypeToString() argument
37 switch (data_type) { in DataTypeToString()
DFabricatedOverlay.cpp89 const std::string& resource_name, uint8_t data_type, uint32_t data_value, in SetResourceValue() argument
92 Entry{resource_name, data_type, data_value, "", std::nullopt, 0, 0, configuration, false}); in SetResourceValue()
97 const std::string& resource_name, uint8_t data_type, const std::string& data_string_value, in SetResourceValue() argument
101 data_type, in SetResourceValue()
231 value->second = TargetValue{res_entry.data_type, res_entry.data_value, in Build()
262 pb_value->set_data_type(value.second.data_type); in Build()
263 if (value.second.data_type == Res_value::TYPE_STRING) { in Build()
472 .data_type = static_cast<uint8_t>(res_value.data_type()), in GetOverlayData()
DPrettyPrintVisitor.cpp100 << utils::DataTypeToString(value.data_type); in visit()
102 if (value.data_type == Res_value::TYPE_STRING) { in visit()
DRawPrintVisitor.cpp101 print(value.data_type, "type: %s", in visit()
102 utils::DataTypeToString(value.data_type).data()); in visit()
DBinaryStreamVisitor.cpp95 Write8(target_entry_value.second.data_type); in visit()
DResourceContainer.cpp230 .value = TargetValue{.data_type = overlay_resource->dataType, in CreateResourceMapping()
DIdmap.cpp240 || !Read8(stream, &value.data_type) in FromBinaryStream()
/frameworks/rs/driver/runtime/
Drs_allocation.c425 rs_data_type data_type) { in rsCreateElement() argument
427 switch (data_type) { in rsCreateElement()
447 return rsCreateElement(data_type, RS_KIND_USER, false, 1); in rsCreateElement()
449 rsDebug("Invalid data_type", data_type); in rsCreateElement()
455 rs_data_type data_type, uint32_t vector_width) { in rsCreateVectorElement() argument
460 switch (data_type) { in rsCreateVectorElement()
473 return rsCreateElement(data_type, RS_KIND_USER, false, in rsCreateVectorElement()
476 rsDebug("Invalid data_type for vector element", data_type); in rsCreateVectorElement()
482 rs_data_type data_type, rs_data_kind data_kind) { in rsCreatePixelElement() argument
483 if (data_type != RS_TYPE_UNSIGNED_8 && in rsCreatePixelElement()
[all …]
/frameworks/base/cmds/idmap2/tests/
DFabricatedOverlayTests.cpp87 ASSERT_EQ(Res_value::TYPE_STRING, entry->value.data_type); in TEST()
95 ASSERT_EQ(Res_value::TYPE_INT_DEC, entry->value.data_type); in TEST()
103 ASSERT_EQ(Res_value::TYPE_REFERENCE, entry->value.data_type); in TEST()
110 ASSERT_EQ(Res_value::TYPE_STRING, entry->value.data_type); in TEST()
119 ASSERT_EQ(Res_value::TYPE_INT_DEC, entry->value.data_type); in TEST()
176 EXPECT_EQ(Res_value::TYPE_INT_DEC, entry->value.data_type); in TEST()
182 ASSERT_EQ(Res_value::TYPE_STRING, entry->value.data_type); in TEST()
DBinaryStreamVisitorTests.cpp87 ASSERT_EQ(target_inline_entries1[0].values.begin()->second.data_type, in TEST()
88 target_inline_entries2[0].values.begin()->second.data_type); in TEST()
DResourceMappingTests.cpp131 if (actual_overlay_value.data_type != type) { in MappingExists()
133 actual_overlay_value.data_type); in MappingExists()
/frameworks/base/cmds/idmap2/include/idmap2/
DResourceUtils.h42 DataType data_type; member
63 bool IsReference(uint8_t data_type);
66 StringPiece DataTypeToString(uint8_t data_type);
DFabricatedOverlay.h45 Builder& SetResourceValue(const std::string& resource_name, uint8_t data_type,
48 Builder& SetResourceValue(const std::string& resource_name, uint8_t data_type,
69 DataType data_type; member
/frameworks/native/libs/vr/libdvr/include/dvr/
Ddvr_pose.h115 uint64_t data_type; member
147 int dvrPoseClientGetDataReader(DvrPoseClient* client, uint64_t data_type,
Ddvr_api.h283 uint64_t data_type);
287 uint64_t data_type,
/frameworks/rs/script_api/
Drs_allocation_create.spec30 arg: rs_data_type data_type, "Data type of the Element"
42 arg: rs_data_type data_type, "Data type of the Element"
55 arg: rs_data_type data_type, "Data type of the Element"
68 arg: int32_t data_type
/frameworks/native/libs/binder/rust/tests/parcel_fuzzer/
Dread_utils.rs24 ($data_type:ty) => {
26 let _res = parcel.read::<$data_type>();
/frameworks/base/cmds/idmap2/libidmap2/proto/
Dfabricated_v1.proto54 uint32 data_type = 1; field
/frameworks/base/libs/androidfw/include/androidfw/
DAssetManager2.h266 Res_value::data_type data;
282 SelectedValue(uint8_t value_type, Res_value::data_type value_data, ApkAssetsCookie cookie, in SelectedValue()
DResourceTypes.h408 typedef uint32_t data_type; typedef
409 data_type data;
1877 DataType data_type; member
/frameworks/base/libs/androidfw/
DStreamingZipInflater.cpp108 mInflateState.data_type = Z_UNKNOWN; in initInflateState()
/frameworks/base/cmds/idmap2/self_targeting/
DSelfTargeting.cpp52 const auto dataType = entry_params.data_type; in CreateFrroFile()
/frameworks/native/cmds/installd/
Dutils.h88 const char* data_type, const char* package_name);
Dutils.cpp288 const char* data_type, const char* package_name) { in create_data_media_package_path() argument
290 data_type, package_name); in create_data_media_package_path()
/frameworks/rs/script_api/include/
Drs_allocation_create.rsh40 * data_type: Data type of the Element
44 rsCreateElement(rs_data_type data_type);
55 * data_type: Data type of the Element
60 rsCreateVectorElement(rs_data_type data_type, uint32_t vector_width);
70 * data_type: Data type of the Element
75 rsCreatePixelElement(rs_data_type data_type, rs_data_kind data_kind);

12