Home
last modified time | relevance | path

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

/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.py1006 class Enum(Node): class
1300 self._enum = Enum(self, enum_values, enum_ids, enum_deprecateds, enum_optionals,
Dmetadata_helpers.py222 return bool(node.find_first(lambda x: isinstance(x, metadata_model.Enum)))
/system/tools/aidl/
Dast_cpp.cpp75 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()
Dast_cpp.h76 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);
Dgenerate_cpp.cpp679 unique_ptr<Enum> constant_enum{new Enum{"", "int32_t"}}; in BuildInterfaceHeader()
688 unique_ptr<Enum> call_enum{new Enum{"Call"}}; in BuildInterfaceHeader()
Dast_cpp_unittest.cpp148 Enum e("Foo"); in TEST_F()
/system/tpm/attestation/common/
Dproto_print.py80 class Enum(object): class
162 current_enum = Enum(match.group(1))