Home
last modified time | relevance | path

Searched refs:TYPE_STRING (Results 1 – 25 of 92) sorted by relevance

1234

/frameworks/base/core/java/android/provider/
DMetadataReader.java63 private static final int TYPE_STRING = 2; field in MetadataReader
71 TYPE_MAPPING.put(ExifInterface.TAG_ARTIST, TYPE_STRING); in TYPE_MAPPING.put() argument
74 TYPE_MAPPING.put(ExifInterface.TAG_COPYRIGHT, TYPE_STRING); in TYPE_MAPPING.put() argument
75 TYPE_MAPPING.put(ExifInterface.TAG_DATETIME, TYPE_STRING); in TYPE_MAPPING.put() argument
76 TYPE_MAPPING.put(ExifInterface.TAG_IMAGE_DESCRIPTION, TYPE_STRING); in TYPE_MAPPING.put() argument
81 TYPE_MAPPING.put(ExifInterface.TAG_MAKE, TYPE_STRING); in TYPE_MAPPING.put() argument
82 TYPE_MAPPING.put(ExifInterface.TAG_MODEL, TYPE_STRING); in TYPE_MAPPING.put() argument
91 TYPE_MAPPING.put(ExifInterface.TAG_SOFTWARE, TYPE_STRING); in TYPE_MAPPING.put() argument
103 TYPE_MAPPING.put(ExifInterface.TAG_CFA_PATTERN, TYPE_STRING); in TYPE_MAPPING.put() argument
105 TYPE_MAPPING.put(ExifInterface.TAG_COMPONENTS_CONFIGURATION, TYPE_STRING); in TYPE_MAPPING.put() argument
[all …]
/frameworks/layoutlib/bridge/tests/src/android/content/res/
DBridgeTypedArrayTest.java33 import static android.util.TypedValue.TYPE_STRING;
41 assertEquals(TYPE_STRING, BridgeTypedArray.getType("")); in getType()
45 assertEquals(TYPE_STRING, BridgeTypedArray.getType("False")); in getType()
47 assertEquals(TYPE_STRING, BridgeTypedArray.getType("0xnothex")); in getType()
52 assertEquals(TYPE_STRING, BridgeTypedArray.getType("#notacolor")); in getType()
56 assertEquals(TYPE_STRING, BridgeTypedArray.getType("16notaunit")); in getType()
59 assertEquals(TYPE_STRING, BridgeTypedArray.getType("5432dp342")); in getType()
/frameworks/libs/modules-utils/java/com/android/modules/utils/
DBinaryXmlPullParser.java32 import static com.android.modules.utils.BinaryXmlSerializer.TYPE_STRING;
234 case TYPE_STRING: in consumeToken()
717 case TYPE_STRING: in getValueString()
753 case TYPE_STRING: in getValueBytesHex()
772 case TYPE_STRING: in getValueBytesBase64()
789 case TYPE_STRING: in getValueInt()
806 case TYPE_STRING: in getValueIntHex()
823 case TYPE_STRING: in getValueLong()
840 case TYPE_STRING: in getValueLongHex()
856 case TYPE_STRING: in getValueFloat()
[all …]
DBinaryXmlSerializer.java82 static final int TYPE_STRING = 2 << 4; field in BinaryXmlSerializer
109 mOut.writeByte(token | TYPE_STRING); in writeToken()
207 mOut.writeByte(ATTRIBUTE | TYPE_STRING); in attribute()
/frameworks/base/cmds/idmap2/tests/
DFabricatedOverlayTests.cpp59 Res_value::TYPE_STRING, in TEST()
87 ASSERT_EQ(Res_value::TYPE_STRING, entry->value.data_type); in TEST()
110 ASSERT_EQ(Res_value::TYPE_STRING, entry->value.data_type); in TEST()
144 "com.example.target:string/string1", Res_value::TYPE_STRING, "foobar", "") in TEST()
182 ASSERT_EQ(Res_value::TYPE_STRING, entry->value.data_type); in TEST()
/frameworks/base/tools/aapt2/link/
DXmlCompatVersioner_test.cpp32 constexpr auto TYPE_STRING = android::ResTable_map::TYPE_STRING; variable
68 util::make_unique<Attribute>(TYPE_STRING)) in SetUp()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/flags/
DFlagSerializer.kt26 private const val TYPE_STRING = "string" constant
76 TYPE_STRING,
/frameworks/base/libs/androidfw/tests/
DIdmap_test.cpp84 ASSERT_EQ(value->type, Res_value::TYPE_STRING); in TEST_F()
95 ASSERT_EQ(value->type, Res_value::TYPE_STRING); in TEST_F()
128 ASSERT_EQ(value->type, Res_value::TYPE_STRING); in TEST_F()
150 ASSERT_EQ(value->type, Res_value::TYPE_STRING); in TEST_F()
204 ASSERT_EQ(Res_value::TYPE_STRING, value->type); in TEST_F()
DTypeWrappers_test.cpp100 Res_value *v3 = new Res_value{ sizeof(Res_value), 0, Res_value::TYPE_STRING, 0x12345678}; in TEST()
135 ASSERT_EQ(Res_value::TYPE_STRING, iter->value().dataType); in TEST()
DAssetManager2_test.cpp130 EXPECT_EQ(Res_value::TYPE_STRING, value->type); in TEST_F()
154 EXPECT_EQ(Res_value::TYPE_STRING, value->type); in TEST_F()
175 EXPECT_EQ(Res_value::TYPE_STRING, value->type); in TEST_F()
190 EXPECT_EQ(Res_value::TYPE_STRING, value->type); in TEST_F()
364 EXPECT_EQ(Res_value::TYPE_STRING, (*bag_two)->entries[1].value.dataType); in TEST_F()
476 EXPECT_EQ(Res_value::TYPE_STRING, value->type); in TEST_F()
483 EXPECT_EQ(Res_value::TYPE_STRING, value->type); in TEST_F()
495 value.type = Res_value::TYPE_STRING; in TEST_F()
515 EXPECT_EQ(Res_value::TYPE_STRING, value.type); in TEST_F()
528 EXPECT_EQ(Res_value::TYPE_STRING, value.type); in TEST_F()
DSplit_test.cpp98 EXPECT_EQ(Res_value::TYPE_STRING, val.dataType); in TEST_F()
122 EXPECT_EQ(Res_value::TYPE_STRING, val.dataType); in TEST_F()
228 EXPECT_EQ(Res_value::TYPE_STRING, val.dataType); in TEST_F()
/frameworks/base/tools/aapt/
DAaptXml.cpp36 if (value.dataType != Res_value::TYPE_STRING) { in getStringAttributeAtIndex()
112 if (value.dataType == Res_value::TYPE_STRING) { in getResolvedAttribute()
127 if (value.dataType != Res_value::TYPE_STRING) { in getResolvedAttribute()
/frameworks/layoutlib/bridge/src/android/content/res/
DBridgeTypedArray.java64 import static android.util.TypedValue.TYPE_STRING;
788 case TYPE_STRING: in getValue()
992 return TYPE_STRING; in getType()
1009 return TYPE_STRING; in getType()
1030 return TYPE_STRING; in getType()
1038 return TYPE_STRING; in getType()
1054 return TYPE_STRING; in getType()
/frameworks/base/tools/aapt2/format/binary/
DTableFlattener_test.cpp194 Res_value::TYPE_STRING, (uint32_t)*idx, 0u)); in TEST_F()
200 Res_value::TYPE_STRING, (uint32_t)*idx, 0u)); in TEST_F()
663 ResourceId(0x7f040000), {}, Res_value::TYPE_STRING, (uint32_t)*idx, 0u)); in TEST_F()
669 ResourceId(0x7f050000), {}, Res_value::TYPE_STRING, (uint32_t)*idx, 0u)); in TEST_F()
723 ResourceId(0x7f040000), {}, Res_value::TYPE_STRING, (uint32_t)*foo_idx, 0u)); in TEST_F()
725 ResourceId(0x7f040001), {}, Res_value::TYPE_STRING, (uint32_t)*foo_idx, 0u)); in TEST_F()
727 ResourceId(0x7f040002), {}, Res_value::TYPE_STRING, (uint32_t)*bar_idx, 0u)); in TEST_F()
729 ResourceId(0x7f040003), {}, Res_value::TYPE_STRING, (uint32_t)*foo_idx, 0u)); in TEST_F()
736 ResourceId(0x7f050000), {}, Res_value::TYPE_STRING, (uint32_t)*bar_path_idx, in TEST_F()
739 ResourceId(0x7f050001), {}, Res_value::TYPE_STRING, (uint32_t)*bar_path_idx, in TEST_F()
[all …]
/frameworks/base/tools/incident_report/
Dgeneric_message.h41 TYPE_STRING, enumerator
Dgeneric_message.cpp60 node.type = TYPE_STRING; in addString()
Dmain.cpp64 } else if (type == FieldDescriptor::TYPE_STRING) { in read_length_delimited()
210 case GenericMessage::TYPE_STRING: in print_value()
260 case FieldDescriptor::TYPE_STRING: in print_message()
/frameworks/base/core/java/android/util/
DTypedValue.java47 public static final int TYPE_STRING = 0x03; field in TypedValue
746 if (t == TYPE_STRING) { in coerceToString()
816 if (type == TYPE_STRING) { in toString()
/frameworks/base/core/jni/hwbinder/
DEphemeralStorage.cpp63 item.mType = TYPE_STRING; in allocTemporaryString()
143 case TYPE_STRING:
DEphemeralStorage.h59 TYPE_STRING, enumerator
/frameworks/base/tools/aapt2/
DResourceValues_test.cpp35 constexpr const uint32_t TYPE_STRING = android::ResTable_map::TYPE_STRING; variable
274 Attribute attr_one(TYPE_STRING | TYPE_REFERENCE); in TEST()
275 Attribute attr_two(TYPE_STRING); in TEST()
/frameworks/base/core/java/com/android/internal/util/
DTypedProperties.java100 static final int TYPE_STRING = 'L' | 's' << 8; field in TypedProperties
128 return TYPE_STRING; in interpretType()
325 } else if (type == TYPE_STRING) { in parseValue()
/frameworks/base/tools/streaming_proto/
Dstream_proto_utils.cpp61 case FieldDescriptorProto::TYPE_STRING: in get_proto_type()
/frameworks/base/cmds/idmap2/libidmap2/
DResourceUtils.cpp44 case Res_value::TYPE_STRING: in DataTypeToString()
/frameworks/base/core/java/android/content/res/
DTypedArray.java233 } else if (type == TypedValue.TYPE_STRING) { in getText()
270 } else if (type == TypedValue.TYPE_STRING) { in getString()
307 if (type == TypedValue.TYPE_STRING) { in getNonResourceString()
350 } else if (type == TypedValue.TYPE_STRING) { in getNonConfigurationString()
522 } else if (type == TypedValue.TYPE_STRING) { in getColor()
1389 outValue.string = (type == TypedValue.TYPE_STRING) ? loadStringValueAt(index) : null; in getValueAt()

1234