/system/bt/vendor_libs/test_vendor_lib/packets/ |
D | packet_builder.h | 59 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/ |
D | packet_builder.h | 78 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/ |
D | metadata_helpers_test.py | 77 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,
|
D | metadata_model.py | 1060 class Enum(Node): class 1414 self._enum = Enum(self, enum_values, enum_ids, enum_deprecateds, enum_optionals,
|
D | metadata_helpers.py | 226 return bool(node.find_first(lambda x: isinstance(x, metadata_model.Enum)))
|
/system/libsysprop/srcs/android/sysprop/ |
D | CryptoProperties.sysprop | 21 type: Enum 31 type: Enum
|
/system/tools/aidl/ |
D | ast_cpp.cpp | 91 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()
|
D | ast_cpp.h | 88 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);
|
D | ast_cpp_unittest.cpp | 150 Enum e("Foo"); in TEST_F()
|
D | generate_cpp.cpp | 928 unique_ptr<Enum> int_constant_enum{new Enum{"", "int32_t"}}; in BuildInterfaceHeader()
|
/system/tools/sysprop/ |
D | JavaGen.cpp | 175 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()
|
D | CppGen.cpp | 216 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()
|
D | sysprop.proto | 45 Enum = 5; enumerator
|
D | Common.cpp | 99 if (prop.type() == sysprop::Enum || prop.type() == sysprop::EnumList) { in ValidateProp()
|
/system/extras/libjsonpb/verify/ |
D | test.proto | 60 enum Enum { enum 64 Enum e = 7;
|
/system/extras/libjsonpb/ |
D | README.md | 72 - Enum values must be present as names (not integer values) in the JSON file.
|
/system/libhidl/base/include/hidl/ |
D | HidlSupport.h | 1048 template <typename Enum> 1049 using hidl_bitfield = typename std::underlying_type<Enum>::type;
|