Home
last modified time | relevance | path

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

123

/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.mako51 if entry.enum:
58 typedef enum acamera_metadata_section {
68 * Hierarchy positions in enum space.
70 typedef enum acamera_metadata_section_start {
78 * Main enum for camera metadata tags.
80 typedef enum acamera_metadata_tag {
139 % if entry.enum:
141 typedef enum acamera_metadata_enum_${csym(ndk(entry.name)).lower()} {
145 % for val in entry.enum.values:
149 " enum in NDK. Please double check this value is properly hidden" + \
Dmetadata_validate.py280 enum = entry.attrs.get('enum')
281 if enum and enum == 'true':
282 if entry.enum is None:
289 for value in entry.enum.find_all('value'):
301 if entry.enum:
DHidlMetadata.mako19 if entry.enum:
20 type = 'enum'
52 enum CameraMetadataSection : ${'uint32_t' if first_hal_minor_version(hal_major_version()) == hal_mi…
71 * Hierarchy positions in enum space. All vendor extension sections must be
74 enum CameraMetadataSectionStart : ${'uint32_t' if first_hal_minor_version(hal_major_version()) == h…
97 enum CameraMetadataTag : ${'uint32_t' if first_hal_minor_version(hal_major_version()) == hal_minor_…
132 % if entry.enum:
136 % for val in entry.enum.values:
146 enum CameraMetadataEnum${entry.name | pascal_case} :${' uint32_t' if prevValue is None else '\n …
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:
66 % if entry.enum \
76 % if entry.enum \
Dcamera_metadata_tag_info.mako76 const char *msg = "error: not an enum";
83 % if entry.enum:
85 % for val in entry.enum.values:
92 msg = "error: enum value out of range";
Dmetadata_template.mako109 % if prop.enum:
110 enum="true"
149 % if prop.enum:
150 <enum>
151 % for value in prop.enum.values:
184 </enum>
Dmetadata_helpers_test.py72 def compare_values_against_list(expected_list, enum): argument
75 enum_calculate_value_string(list(enum.values)[idx]))
/system/tools/hidl/test/export_test/1.0/
Dtypes.hal19 enum NoArgs : uint32_t {
24 enum NoName : uint32_t {
29 enum ValueSuffix : uint32_t {
34 enum ValuePrefix : uint32_t {
DIFoo.hal20 enum S : uint32_t {
/system/tools/sysprop/
Dsysprop.proto21 enum Access {
27 enum Owner {
33 enum Scope {
39 enum Type {
/system/bt/proto/bluetooth/metrics/
Dbluetooth.proto65 enum DeviceType {
87 enum ConnectionTechnologyType {
95 enum DisconnectReasonType {
100 // This enum indicates this situation.
136 enum A2dpSourceCodec {
193 enum WakeEventType {
218 enum ScanTechnologyType {
229 enum ScanEventType {
256 enum ProfileId {
288 enum HeadsetProfileType {
/system/netd/resolv/
Dstats.proto20 enum EventType {
31 enum ReturnCode {
51 enum NsRcode {
74 enum NsType {
141 enum IpVersion {
147 enum TransportType {
154 enum PrivateDnsModes {
161 enum Transport {
178 enum CacheStatus{
/system/tools/hidl/test/vendor/1.0/
Dtypes.hal19 enum Bar : uint32_t {
35 enum Foo : Bar {
41 enum FooToo : Foo {
/system/tools/hidl/test/error_test/no_cyclic_expressions_2/1.0/
Dtypes.hal18 enum X : int32_t {
23 enum Y : X {
/system/tools/hidl/test/error_test/enum_unique_field_names_extends/1.0/
DIFoo.hal19 enum E1 : int32_t {
25 enum E2 : E1 {
Drequired_error1 Redefinition of value 'B' defined in enum
/system/tools/hidl/test/error_test/len_tag_wrong_type/1.0/
DIFoo.hal21 enum B : uint32_t {
22 C = A#len, // bad (A is not an enum)
Drequired_error1 len refers to struct A but should refer to an enum
/system/extras/libjsonpb/verify/
Dtest.proto24 // - Follow the Protobuf Style Guide for field names / enum value names
28 // - If the JSON file is going to have enum value names that does not conform to
60 enum Enum {
/system/tools/hidl/test/error_test/enum_storage/1.0/
Drequired_error1 Must explicitly specify enum storage type
/system/tools/hidl/test/error_test/no_cyclic_expressions_1/1.0/
Dtypes.hal18 enum E : int32_t {
/system/tools/hidl/test/version_test/good/version/3.0/
Dtypes.hal19 enum A : uint32_t {
/system/tools/hidl/test/error_test/scope_unique_type_names/1.0/
DIFoo.hal20 enum S : int32_t {}; // duplicates first struct name
/system/tools/hidl/test/version_test/good/version/3.1/
Dtypes.hal21 enum A : @3.0::A {

123