/aosp14/frameworks/base/cmds/idmap2/libidmap2/ |
H A D | ResourceUtils.cpp | 32 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()
|
H A D | FabricatedOverlay.cpp | 81 const std::string& resource_name, uint8_t data_type, uint32_t data_value, in SetResourceValue() argument 84 Entry{resource_name, data_type, data_value, "", std::nullopt, configuration}); in SetResourceValue() 89 const std::string& resource_name, uint8_t data_type, const std::string& data_string_value, in SetResourceValue() argument 92 Entry{resource_name, data_type, 0, data_string_value, std::nullopt, configuration}); in SetResourceValue() 150 value->second = TargetValue{res_entry.data_type, res_entry.data_value, in Build() 179 pb_value->set_data_type(value.second.data_type); in Build() 180 if (value.second.data_type == Res_value::TYPE_STRING) { in Build() 387 .data_type = static_cast<uint8_t>(res_value.data_type()), in GetOverlayData()
|
H A D | PrettyPrintVisitor.cpp | 100 << utils::DataTypeToString(value.data_type); in visit() 102 if (value.data_type == Res_value::TYPE_STRING) { in visit()
|
H A D | RawPrintVisitor.cpp | 101 print(value.data_type, "type: %s", in visit() 102 utils::DataTypeToString(value.data_type).data()); in visit()
|
H A D | BinaryStreamVisitor.cpp | 95 Write8(target_entry_value.second.data_type); in visit()
|
H A D | Idmap.cpp | 239 || !Read8(stream, &value.data_type) in FromBinaryStream()
|
H A D | ResourceContainer.cpp | 231 .value = TargetValue{.data_type = overlay_resource->dataType, in CreateResourceMapping()
|
/aosp14/frameworks/base/cmds/idmap2/tests/ |
H A D | FabricatedOverlayTests.cpp | 87 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()
|
H A D | BinaryStreamVisitorTests.cpp | 87 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()
|
H A D | ResourceMappingTests.cpp | 131 if (actual_overlay_value.data_type != type) { in MappingExists() 133 actual_overlay_value.data_type); in MappingExists()
|
H A D | IdmapTests.cpp | 53 ASSERT_EQ((entry).values.begin()->second.data_type, (expected_type)); \
|
/aosp14/frameworks/base/cmds/idmap2/include/idmap2/ |
H A D | ResourceUtils.h | 42 DataType data_type; member 60 bool IsReference(uint8_t data_type); 63 StringPiece DataTypeToString(uint8_t data_type);
|
H A D | FabricatedOverlay.h | 42 Builder& SetResourceValue(const std::string& resource_name, uint8_t data_type, 45 Builder& SetResourceValue(const std::string& resource_name, uint8_t data_type, 63 DataType data_type; member
|
/aosp14/frameworks/base/cmds/idmap2/libidmap2/proto/ |
H A D | fabricated_v1.proto | 54 uint32 data_type = 1;
|
/aosp14/frameworks/base/libs/androidfw/include/androidfw/ |
H A D | AssetManager2.h | 254 Res_value::data_type data; 270 SelectedValue(uint8_t value_type, Res_value::data_type value_data, ApkAssetsCookie cookie, in SelectedValue()
|
H A D | ResourceTypes.h | 407 typedef uint32_t data_type; typedef 408 data_type data; 1869 DataType data_type; member
|
/aosp14/frameworks/base/libs/androidfw/ |
H A D | StreamingZipInflater.cpp | 108 mInflateState.data_type = Z_UNKNOWN; in initInflateState()
|
H A D | ResourceTypes.cpp | 5369 static_assert(std::is_same<uint32_t, Res_value::data_type>::value, in U16StringToInt() 5429 outValue->data = static_cast<Res_value::data_type>(val); in U16StringToInt()
|
/aosp14/frameworks/base/cmds/idmap2/self_targeting/ |
H A D | SelfTargeting.cpp | 52 const auto dataType = entry_params.data_type; in CreateFrroFile()
|
/aosp14/frameworks/base/tools/aapt/ |
H A D | ZipFile.cpp | 773 zstream.data_type = Z_UNKNOWN; in compressFpToFp()
|