Home
last modified time | relevance | path

Searched refs:TYPE_ENUM (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/tools/aapt2/
DResourceValues_test.cpp31 constexpr const uint32_t TYPE_ENUM = android::ResTable_map::TYPE_ENUM; variable
233 Attribute attr2(TYPE_INTEGER | TYPE_ENUM); in TEST()
262 Attribute attr4(TYPE_ENUM); in TEST()
272 Attribute attr_three(TYPE_ENUM); in TEST()
DResourceValues.cpp673 if ((type_mask & android::ResTable_map::TYPE_ENUM) != 0) { in MaskString()
728 if (attr.type_mask & android::ResTable_map::TYPE_ENUM) { in BuildAttributeMismatchMessage()
760 constexpr const uint32_t TYPE_ENUM = android::ResTable_map::TYPE_ENUM; in Matches() local
782 if ((type_mask & TYPE_ENUM) != 0 && (actual_type & TYPE_ENUM) != 0) { in Matches()
DResourceUtils.cpp612 android::ResTable_map::TYPE_ENUM | in AndroidTypeToAttributeTypeMask()
701 if (type_mask & ResTable_map::TYPE_ENUM) { in TryParseItemForAttribute()
DResourceParser.cpp76 return android::ResTable_map::TYPE_ENUM; in ParseFormatType()
1295 type_mask |= android::ResTable_map::TYPE_ENUM; in ParseAttrImpl()
1298 if (type_mask & android::ResTable_map::TYPE_ENUM) { in ParseAttrImpl()
DDebug.cpp135 constexpr uint32_t kMask = android::ResTable_map::TYPE_ENUM | android::ResTable_map::TYPE_FLAGS; in Visit()
DResourceParser_test.cpp413 EXPECT_THAT(enum_attr->type_mask, Eq(ResTable_map::TYPE_ENUM)); in TEST_F()
/frameworks/base/tools/streaming_proto/
Dstream_proto_utils.cpp71 case FieldDescriptorProto::TYPE_ENUM: in get_proto_type()
/frameworks/base/tools/aapt2/link/
DXmlReferenceLinker_test.cpp36 .SetTypeMask(android::ResTable_map::TYPE_ENUM | in SetUp()
/frameworks/base/tools/incident_report/
Dmain.cpp193 case FieldDescriptor::TYPE_ENUM: in print_value()
264 case FieldDescriptor::TYPE_ENUM: in print_message()
/frameworks/base/tools/aapt/
DResourceTable.cpp201 { enumArray, sizeof(enumArray)/2, ResTable_map::TYPE_ENUM, NULL },
446 localType = ResTable_map::TYPE_ENUM; in compileAttribute()
464 if ((attr.type&(ResTable_map::TYPE_ENUM|ResTable_map::TYPE_FLAGS)) == 0) { in compileAttribute()
477 …} else if ((uint32_t)(attr.type&(ResTable_map::TYPE_ENUM|ResTable_map::TYPE_FLAGS)) != localType) { in compileAttribute()
478 if (localType == ResTable_map::TYPE_ENUM) { in compileAttribute()
519 ResTable_map::TYPE_ENUM|ResTable_map::TYPE_FLAGS)); in compileAttribute()
520 enumOrFlagsComment.append((attr.type&ResTable_map::TYPE_ENUM) in compileAttribute()
552 if ((attr.type&ResTable_map::TYPE_ENUM) != 0) { in compileAttribute()
2145 if ((format & (ResTable_map::TYPE_ENUM | ResTable_map::TYPE_FLAGS)) || in makeAttribute()
/frameworks/base/tools/stats_log_api_gen/
DCollation.cpp128 case FieldDescriptor::TYPE_ENUM: in java_type()
/frameworks/base/tools/aapt2/java/
DJavaClassGenerator.cpp162 (android::ResTable_map::TYPE_FLAGS | android::ResTable_map::TYPE_ENUM)) { in AddAttributeFormatDoc()
/frameworks/base/tools/aapt2/format/binary/
DBinaryResourceParser.cpp585 if (attr->type_mask & (ResTable_map::TYPE_ENUM | ResTable_map::TYPE_FLAGS)) { in ParseAttr()
/frameworks/base/libs/androidfw/include/androidfw/
DResourceTypes.h1572 TYPE_ENUM = 1<<16, enumerator
/frameworks/base/libs/androidfw/
DResourceTypes.cpp5450 if (attrType == ResTable_map::TYPE_ENUM in stringToValue()
5832 if ((attrType&ResTable_map::TYPE_ENUM) != 0) { in stringToValue()