Searched refs:Enum (Results 1 – 8 of 8) sorted by relevance
/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 | 1006 class Enum(Node): class 1300 self._enum = Enum(self, enum_values, enum_ids, enum_deprecateds, enum_optionals,
|
D | metadata_helpers.py | 222 return bool(node.find_first(lambda x: isinstance(x, metadata_model.Enum)))
|
/system/tools/aidl/ |
D | ast_cpp.cpp | 75 Enum::EnumField::EnumField(const string& k, const string& v) in EnumField() 79 Enum::Enum(const string& name, const string& base_type) in Enum() function in android::aidl::cpp::Enum 82 Enum::Enum(const string& name) : Enum(name, "") {} in Enum() function in android::aidl::cpp::Enum 84 void Enum::Write(CodeWriter* to) const { in Write() 100 void Enum::AddValue(const string& key, const string& value) { in AddValue()
|
D | ast_cpp.h | 76 class Enum : public Declaration { 78 Enum(const std::string& name, const std::string& base_type); 79 explicit Enum(const std::string& name); 80 virtual ~Enum() = default; 98 DISALLOW_COPY_AND_ASSIGN(Enum);
|
D | generate_cpp.cpp | 679 unique_ptr<Enum> constant_enum{new Enum{"", "int32_t"}}; in BuildInterfaceHeader() 688 unique_ptr<Enum> call_enum{new Enum{"Call"}}; in BuildInterfaceHeader()
|
D | ast_cpp_unittest.cpp | 148 Enum e("Foo"); in TEST_F()
|
/system/tpm/attestation/common/ |
D | proto_print.py | 80 class Enum(object): class 162 current_enum = Enum(match.group(1))
|