Home
last modified time | relevance | path

Searched refs:enum (Results 1 – 25 of 36) sorted by relevance

12

/system/media/camera/docs/
Dcamera_metadata_tags.mako32 if entry.enum:
33 type = 'enum'
42 /** TODO: Nearly every enum in this file needs a description */
50 typedef enum camera_metadata_section {
60 * Hierarchy positions in enum space. All vendor extension tags must be
63 typedef enum camera_metadata_section_start {
71 * Main enum for defining camera metadata tags. New entries must always go
76 typedef enum camera_metadata_tag {
97 % if entry.enum:
99 typedef enum camera_metadata_enum_${csym(entry.name).lower()} {
[all …]
Dndk_camera_metadata_tags.mako44 if entry.enum:
45 type += ' (enum)'
51 typedef enum acamera_metadata_section {
61 * Hierarchy positions in enum space.
63 typedef enum acamera_metadata_section_start {
71 * Main enum for camera metadata tags.
73 typedef enum acamera_metadata_tag {
126 % if entry.enum:
128 typedef enum acamera_metadata_enum_${csym(ndk(entry.name)).lower()} {
132 % for val in entry.enum.values:
[all …]
Dmetadata_validate.py257 enum = entry.attrs.get('enum')
258 if enum and enum == 'true':
259 if entry.enum is None:
266 for value in entry.enum.find_all('value'):
278 if entry.enum:
DCameraMetadataEnums.mako18 ## This section of enum integer definitions is inserted into
21 * The enum values below this point are generated from metadata
26 ## Generate an enum's integers
32 % for value in entry.enum.values:
60 % if entry.enum \
70 % if entry.enum \
Dcamera_metadata_tag_info.mako68 const char *msg = "error: not an enum";
75 % if entry.enum:
77 % for val in entry.enum.values:
84 msg = "error: enum value out of range";
Dmetadata_template.mako101 % if prop.enum:
102 enum="true"
133 % if prop.enum:
134 <enum>
135 % for value in prop.enum.values:
158 </enum>
Dmetadata_helpers_test.py72 def compare_values_against_list(expected_list, enum): argument
75 enum_calculate_value_string(list(enum.values)[idx]))
DCameraMetadataKeys.mako46 % if entry.enum and not (entry.typedef and entry.typedef.languages.get('java')):
47 % for value in entry.enum.values:
Dmetadata_helpers.py466 if not java_type and entry.enum and metadata_type == 'byte':
752 if entry.enum and not (entry.typedef and entry.typedef.languages.get('java')):
754 for value in entry.enum.values:
759 if entry.enum and not (entry.typedef and entry.typedef.languages.get('java')):
Dhtml.mako61 .entry_type_name_enum:after { color: #669900; font-weight: bold; content:" (enum)" }
259 % if prop.enum:
297 % if prop.enum:
299 % for value in prop.enum.values:
Dmetadata_parser_xml.py214 for value in entry.enum.find_all('value'):
/system/tpm/attestation/common/
Dproto_print.py283 def GenerateEnumPrinter(enum, header_file, impl_file): argument
293 std::string GetProtoDebugString(%(name)s value);""" % {'name': enum.name}
300 """ % {'name': enum.name}
312 for value_name in enum.values:
410 for enum in enums:
411 GenerateEnumPrinter(enum, header_file, impl_file)
Dcommon.proto10 enum KeyType {
16 enum KeyUsage {
22 enum CertificateProfile {
Dattestation_ca.proto40 enum ResponseStatus {
188 enum KeyProfile {
/system/bt/osi/src/protos/
Dbluetooth.proto47 enum DeviceType {
69 enum ConnectionTechnologyType {
77 enum DisconnectReasonType {
82 // This enum indicates this situation.
160 enum WakeEventType {
188 enum ScanTechnologyType {
200 enum ScanEventType {
/system/tools/hidl/test/errors/syntax/1.0/
DIEx1.hal29 enum ForgetASemicolon {
36 enum SomeBaseEnum : uint8_t {
48 enum SomeEnum : SomeBaseEnum {
85 // enum bad; // can't recover from this yet
DIGood2.hal20 enum SomeBaseEnum : uint8_t {
24 enum SomeEnum : SomeBaseEnum {
DIGood.hal20 enum SomeBaseEnum : uint8_t {
24 enum SomeEnum : SomeBaseEnum {
/system/tools/hidl/test/vendor/1.0/
Dtypes.hal19 enum Bar : uint32_t {
35 enum Foo : Bar {
41 enum FooToo : Foo {
/system/tpm/tpm_manager/common/
Dtpm_manager.proto24 enum TpmManagerStatus {
32 enum NvramResult {
54 enum NvramSpaceAttribute {
87 enum NvramSpacePolicy {
/system/libhidl/transport/base/1.0/
Dtypes.hal27 enum Architecture : int32_t {
/system/tools/hidl/
Dhidl-gen_y.yy91 "interface", "struct", "union", "string", "vec", "enum", "ref", "handle",
100 "dynamic_cast", "else", "enum", "explicit", "export", "extern", "false", "float",
113 "case", "enum", "instanceof", "return", "transient", "catch", "extends", "int",
671 << "' does not refer to an enum value at "
685 << " is not an enum value at " << @1 << ".\n";
882 std::cerr << "ERROR: Invalid enum storage type specified. at "
903 std::cerr << "ERROR: unknown error in enum declaration at "
936 std::cerr << "ERROR: unknown error in enum declaration at "
946 std::cerr << "ERROR: unknown error in enum declaration at "
/system/libhidl/transport/manager/1.0/
DIServiceManager.hal76 enum Transport : uint8_t {
134 enum PidConstant : int32_t {
/system/hardware/interfaces/wifi/keystore/1.0/
DIKeystore.hal28 enum KeystoreStatusCode : uint32_t {
/system/extras/perfprofd/
Dperf_profile.proto77 enum EventType {

12