Home
last modified time | relevance | path

Searched refs:Enum (Results 1 – 17 of 17) sorted by relevance

/system/bt/vendor_libs/test_vendor_lib/packets/
Dpacket_builder.h59 template <typename Enum, typename std::enable_if<std::is_enum_v<Enum>, int>::type = 0>
60 inline void insert(Enum value, std::back_insert_iterator<std::vector<uint8_t>> it) const { in insert()
61 using enum_type = typename std::underlying_type_t<Enum>; in insert()
/system/bt/gd/packet/
Dpacket_builder.h78 template <typename Enum, typename std::enable_if<std::is_enum_v<Enum>, int>::type = 0>
79 inline void insert(Enum value, BitInserter& it) const { in insert()
80 using enum_type = typename std::underlying_type_t<Enum>; in insert()
/system/media/camera/docs/
Dmetadata_helpers_test.py77 plain_enum = Enum(parent=None, values=['ON', 'OFF'])
83 labeled_enum = Enum(parent=None, values=['A', 'B', 'C'], ids={
93 mixed_enum = Enum(parent=None,
Dmetadata_model.py1060 class Enum(Node): class
1414 self._enum = Enum(self, enum_values, enum_ids, enum_deprecateds, enum_optionals,
Dmetadata_helpers.py226 return bool(node.find_first(lambda x: isinstance(x, metadata_model.Enum)))
/system/libsysprop/srcs/android/sysprop/
DCryptoProperties.sysprop21 type: Enum
31 type: Enum
/system/tools/aidl/
Dast_cpp.cpp91 Enum::EnumField::EnumField(const string& k, const string& v) in EnumField()
95 Enum::Enum(const string& name, const string& base_type) in Enum() function in android::aidl::cpp::Enum
98 Enum::Enum(const string& name) : Enum(name, "") {} in Enum() function in android::aidl::cpp::Enum
100 void Enum::Write(CodeWriter* to) const { in Write()
118 void Enum::AddValue(const string& key, const string& value) { in AddValue()
Dast_cpp.h88 class Enum : public Declaration {
90 Enum(const std::string& name, const std::string& base_type);
91 explicit Enum(const std::string& name);
92 virtual ~Enum() = default;
110 DISALLOW_COPY_AND_ASSIGN(Enum);
Dast_cpp_unittest.cpp150 Enum e("Foo"); in TEST_F()
Dgenerate_cpp.cpp928 unique_ptr<Enum> int_constant_enum{new Enum{"", "int32_t"}}; in BuildInterfaceHeader()
/system/tools/sysprop/
DJavaGen.cpp175 case sysprop::Enum: in GetJavaTypeName()
206 case sysprop::Enum: in GetParsingExpression()
254 } else if (prop.type() == sysprop::Enum) { in GetFormattingExpression()
323 if (prop.type() == sysprop::Enum || prop.type() == sysprop::EnumList) { in GenerateJavaClass()
DCppGen.cpp216 case sysprop::Enum: in GetCppPropTypeName()
268 if (prop.type() == sysprop::Enum || prop.type() == sysprop::EnumList) { in GenerateHeader()
306 if (prop.type() != sysprop::Enum && prop.type() != sysprop::EnumList) { in GenerateSource()
Dsysprop.proto45 Enum = 5; enumerator
DCommon.cpp99 if (prop.type() == sysprop::Enum || prop.type() == sysprop::EnumList) { in ValidateProp()
/system/extras/libjsonpb/verify/
Dtest.proto60 enum Enum { enum
64 Enum e = 7;
/system/extras/libjsonpb/
DREADME.md72 - Enum values must be present as names (not integer values) in the JSON file.
/system/libhidl/base/include/hidl/
DHidlSupport.h1048 template <typename Enum>
1049 using hidl_bitfield = typename std::underlying_type<Enum>::type;