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
237 Attribute attr2(TYPE_INTEGER | TYPE_ENUM); in TEST()
266 Attribute attr4(TYPE_ENUM); in TEST()
276 Attribute attr_three(TYPE_ENUM); in TEST()
DResourceValues.cpp654 if ((type_mask & android::ResTable_map::TYPE_ENUM) != 0) { in MaskString()
713 if (attr.type_mask & android::ResTable_map::TYPE_ENUM) { in BuildAttributeMismatchMessage()
745 constexpr const uint32_t TYPE_ENUM = android::ResTable_map::TYPE_ENUM; in Matches() local
767 if ((type_mask & TYPE_ENUM) != 0 && (actual_type & TYPE_ENUM) != 0) { in Matches()
DResourceUtils.cpp604 android::ResTable_map::TYPE_ENUM | in AndroidTypeToAttributeTypeMask()
720 if (type_mask & ResTable_map::TYPE_ENUM) { in TryParseItemForAttribute()
DResourceParser.cpp80 return android::ResTable_map::TYPE_ENUM; in ParseFormatType()
1398 type_mask |= android::ResTable_map::TYPE_ENUM; in ParseAttrImpl()
1401 if (type_mask & android::ResTable_map::TYPE_ENUM) { in ParseAttrImpl()
DDebug.cpp139 constexpr uint32_t kMask = android::ResTable_map::TYPE_ENUM | android::ResTable_map::TYPE_FLAGS; in Visit()
/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.cpp203 { enumArray, sizeof(enumArray)/2, ResTable_map::TYPE_ENUM, NULL },
448 localType = ResTable_map::TYPE_ENUM; in compileAttribute()
466 if ((attr.type&(ResTable_map::TYPE_ENUM|ResTable_map::TYPE_FLAGS)) == 0) { in compileAttribute()
479 …} else if ((uint32_t)(attr.type&(ResTable_map::TYPE_ENUM|ResTable_map::TYPE_FLAGS)) != localType) { in compileAttribute()
480 if (localType == ResTable_map::TYPE_ENUM) { in compileAttribute()
521 ResTable_map::TYPE_ENUM|ResTable_map::TYPE_FLAGS)); in compileAttribute()
522 enumOrFlagsComment.append((attr.type&ResTable_map::TYPE_ENUM) in compileAttribute()
554 if ((attr.type&ResTable_map::TYPE_ENUM) != 0) { in compileAttribute()
2147 if ((format & (ResTable_map::TYPE_ENUM | ResTable_map::TYPE_FLAGS)) || in makeAttribute()
/frameworks/base/tools/aapt2/java/
DJavaClassGenerator.cpp162 (android::ResTable_map::TYPE_FLAGS | android::ResTable_map::TYPE_ENUM)) { in AddAttributeFormatDoc()
DJavaClassGenerator_test.cpp337 .SetTypeMask(android::ResTable_map::TYPE_ENUM) in TEST()
/frameworks/proto_logging/stats/stats_log_api_gen/
DCollation.cpp116 case FieldDescriptor::TYPE_ENUM: in java_type()
/frameworks/base/tools/aapt2/format/binary/
DBinaryResourceParser.cpp663 if (attr->type_mask & (ResTable_map::TYPE_ENUM | ResTable_map::TYPE_FLAGS)) { in ParseAttr()
/frameworks/base/libs/androidfw/include/androidfw/
DResourceTypes.h1712 TYPE_ENUM = 1<<16, enumerator
/frameworks/base/libs/androidfw/
DResourceTypes.cpp5717 if (attrType == ResTable_map::TYPE_ENUM in stringToValue()
6099 if ((attrType&ResTable_map::TYPE_ENUM) != 0) { in stringToValue()