aboutsummaryrefslogtreecommitdiff
path: root/car-lib/src/android/car/VehiclePropertyIds.java
blob: 12d2698de56b83ff7ca7c0d5850c80432ff0bbb8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
/*
 * Copyright (C) 2018 The Android Open Source Project
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package android.car;

/**
 * Copy from android.hardware.automotive.vehicle-V2.0-java_gen_java/gen/android/hardware/automotive
 * /vehicle/V2_0. Need to update this file when vehicle propertyId is changed in VHAL.
 * Use it as PorpertyId in getProperty() and setProperty() in
 * {@link android.car.hardware.property.CarPropertyManager}
 */
public final class VehiclePropertyIds {
    /**
     * Undefined property.  */
    public static final int INVALID = 0;
    /**
     * VIN of vehicle
     */
    public static final int INFO_VIN = 286261504;
    /**
     * Manufacturer of vehicle
     */
    public static final int INFO_MAKE = 286261505;
    /**
     * Model of vehicle
     */
    public static final int INFO_MODEL = 286261506;
    /**
     * Model year of vehicle.
     */
    public static final int INFO_MODEL_YEAR = 289407235;
    /**
     * Fuel capacity of the vehicle in milliliters
     */
    public static final int INFO_FUEL_CAPACITY = 291504388;
    /**
     * List of fuels the vehicle may use
     */
    public static final int INFO_FUEL_TYPE = 289472773;
    /**
     * Battery capacity of the vehicle, if EV or hybrid.  This is the nominal
     * battery capacity when the vehicle is new.
     */
    public static final int INFO_EV_BATTERY_CAPACITY = 291504390;
    /**
     * List of connectors this EV may use
     */
    public static final int INFO_EV_CONNECTOR_TYPE = 289472775;
    /**
     * Fuel door location
     */
    public static final int INFO_FUEL_DOOR_LOCATION = 289407240;
    /**
     * EV port location
     */
    public static final int INFO_EV_PORT_LOCATION = 289407241;
    /**
     * Driver's seat location
     */
    public static final int INFO_DRIVER_SEAT = 356516106;
    /**
     * Current odometer value of the vehicle
     */
    public static final int PERF_ODOMETER = 291504644;
    /**
     * Speed of the vehicle
     */
    public static final int PERF_VEHICLE_SPEED = 291504647;
    /**
     * Temperature of engine coolant
     */
    public static final int ENGINE_COOLANT_TEMP = 291504897;
    /**
     * Engine oil level
     */
    public static final int ENGINE_OIL_LEVEL = 289407747;
    /**
     * Temperature of engine oil
     */
    public static final int ENGINE_OIL_TEMP = 291504900;
    /**
     * Engine rpm
     */
    public static final int ENGINE_RPM = 291504901;
    /**
     * Reports wheel ticks
     */
    public static final int WHEEL_TICK = 290521862;
    /**
     * Fuel remaining in the the vehicle, in milliliters
     */
    public static final int FUEL_LEVEL = 291504903;
    /**
     * Fuel door open
     */
    public static final int FUEL_DOOR_OPEN = 287310600;
    /**
     * EV battery level in WH, if EV or hybrid
     */
    public static final int EV_BATTERY_LEVEL = 291504905;
    /**
     * EV charge port open
     */
    public static final int EV_CHARGE_PORT_OPEN = 287310602;
    /**
     * EV charge port connected
     */
    public static final int EV_CHARGE_PORT_CONNECTED = 287310603;
    /**
     * EV instantaneous charge rate in milliwatts
     */
    public static final int EV_BATTERY_INSTANTANEOUS_CHARGE_RATE = 291504908;
    /**
     * Range remaining
     */
    public static final int RANGE_REMAINING = 291504904;
    /**
     * Tire pressure
     *
     * min/max value indicates tire pressure sensor range.  Each tire will have a separate min/max
     * value denoted by its areaConfig.areaId.
     */
    public static final int TIRE_PRESSURE = 392168201;
    /**
     * Currently selected gear
     *
     * This is the gear selected by the user.
     */
    public static final int GEAR_SELECTION = 289408000;
    /**
     * Current gear. In non-manual case, selected gear may not
     * match the current gear. For example, if the selected gear is GEAR_DRIVE,
     * the current gear will be one of GEAR_1, GEAR_2 etc, which reflects
     * the actual gear the transmission is currently running in.
     */
    public static final int CURRENT_GEAR = 289408001;
    /**
     * Parking brake state.
     */
    public static final int PARKING_BRAKE_ON = 287310850;
    /**
     * Auto-apply parking brake.
     */
    public static final int PARKING_BRAKE_AUTO_APPLY = 287310851;
    /**
     * Warning for fuel low level.
     */
    public static final int FUEL_LEVEL_LOW = 287310853;
    /**
     * Night mode
     */
    public static final int NIGHT_MODE = 287310855;
    /**
     * State of the vehicles turn signals
     */
    public static final int TURN_SIGNAL_STATE = 289408008;
    /**
     * Represents ignition state
     */
    public static final int IGNITION_STATE = 289408009;
    /**
     * ABS is active
     */
    public static final int ABS_ACTIVE = 287310858;
    /**
     * Traction Control is active
     */
    public static final int TRACTION_CONTROL_ACTIVE = 287310859;
    /**
     * Fan speed setting
     */
    public static final int HVAC_FAN_SPEED = 356517120;
    /**
     * Fan direction setting
     */
    public static final int HVAC_FAN_DIRECTION = 356517121;
    /**
     * HVAC current temperature.
     */
    public static final int HVAC_TEMPERATURE_CURRENT = 358614274;
    /**
     * HVAC, target temperature set.
     */
    public static final int HVAC_TEMPERATURE_SET = 358614275;
    /**
     * On/off defrost for designated window
     */
    public static final int HVAC_DEFROSTER = 320865540;
    /**
     * On/off AC for designated areaId
     */
    public static final int HVAC_AC_ON = 354419973;
    /**
     * On/off max AC
     */
    public static final int HVAC_MAX_AC_ON = 354419974;
    /**
     * On/off max defrost
     */
    public static final int HVAC_MAX_DEFROST_ON = 354419975;
    /**
     * Recirculation on/off
     */
    public static final int HVAC_RECIRC_ON = 354419976;
    /**
     * Enable temperature coupling between areas.
     */
    public static final int HVAC_DUAL_ON = 354419977;
    /**
     * On/off automatic mode
     */
    public static final int HVAC_AUTO_ON = 354419978;
    /**
     * Seat heating/cooling
     *
     */
    public static final int HVAC_SEAT_TEMPERATURE = 356517131;
    /**
     * Side Mirror Heat
     */
    public static final int HVAC_SIDE_MIRROR_HEAT = 339739916;
    /**
     * Steering Wheel Heating/Cooling
     */
    public static final int HVAC_STEERING_WHEEL_HEAT = 289408269;
    /**
     * Temperature units for display
     */
    public static final int HVAC_TEMPERATURE_DISPLAY_UNITS = 289408270;
    /**
     * Actual fan speed
     */
    public static final int HVAC_ACTUAL_FAN_SPEED_RPM = 356517135;
    /**
     * Represents global power state for HVAC. Setting this property to false
     * MAY mark some properties that control individual HVAC features/subsystems
     * to UNAVAILABLE state. Setting this property to true MAY mark some
     * properties that control individual HVAC features/subsystems to AVAILABLE
     * state (unless any/all of them are UNAVAILABLE on their own individual
     * merits).
     */
    public static final int HVAC_POWER_ON = 354419984;
    /**
     * Fan Positions Available
     */
    public static final int HVAC_FAN_DIRECTION_AVAILABLE = 356582673;
    /**
     * Automatic recirculation on/off
     */
    public static final int HVAC_AUTO_RECIRC_ON = 354419986;
    /**
     * Seat ventilation
     */
    public static final int HVAC_SEAT_VENTILATION = 356517139;
    /**
     * Outside temperature
     */
    public static final int ENV_OUTSIDE_TEMPERATURE = 291505923;
    /**
     * Property to control power state of application processor
     *
     * It is assumed that AP's power state is controller by separate power
     * controller.
     */
    public static final int AP_POWER_STATE_REQ = 289475072;
    /**
     * Property to report power state of application processor
     *
     * It is assumed that AP's power state is controller by separate power
     * controller.
     */
    public static final int AP_POWER_STATE_REPORT = 289475073;
    /**
     * Property to report bootup reason for the current power on. This is a
     * static property that will not change for the whole duration until power
     * off. For example, even if user presses power on button after automatic
     * power on with door unlock, bootup reason must stay with
     * VehicleApPowerBootupReason#USER_UNLOCK.
     */
    public static final int AP_POWER_BOOTUP_REASON = 289409538;
    /**
     * Property to represent brightness of the display. Some cars have single
     * control for the brightness of all displays and this property is to share
     * change in that control.
     */
    public static final int DISPLAY_BRIGHTNESS = 289409539;
    /**
     * Property to feed H/W input events to android
     */
    public static final int HW_KEY_INPUT = 289475088;
    /**
     * Door position
     *
     * This is an integer in case a door may be set to a particular position.
     * Max value indicates fully open, min value (0) indicates fully closed.
     */
    public static final int DOOR_POS = 373295872;
    /**
     * Door move
     */
    public static final int DOOR_MOVE = 373295873;
    /**
     * Door lock
     */
    public static final int DOOR_LOCK = 371198722;
    /**
     * Mirror Z Position
     */
    public static final int MIRROR_Z_POS = 339741504;
    /**
     * Mirror Z Move
     */
    public static final int MIRROR_Z_MOVE = 339741505;
    /**
     * Mirror Y Position
     */
    public static final int MIRROR_Y_POS = 339741506;
    /**
     * Mirror Y Move
     */
    public static final int MIRROR_Y_MOVE = 339741507;
    /**
     * Mirror Lock
     */
    public static final int MIRROR_LOCK = 287312708;
    /**
     * Mirror Fold
     */
    public static final int MIRROR_FOLD = 287312709;
    /**
     * Seat memory select
     *
     * This parameter selects the memory preset to use to select the seat
     * position. The minValue is always 0, and the maxValue determines the
     * number of seat positions available.
     */
    public static final int SEAT_MEMORY_SELECT = 356518784;
    /**
     * Seat memory set
     *
     * This setting allows the user to save the current seat position settings
     * into the selected preset slot.  The maxValue for each seat position
     * must match the maxValue for SEAT_MEMORY_SELECT.
     */
    public static final int SEAT_MEMORY_SET = 356518785;
    /**
     * Seatbelt buckled
     *
     * True indicates belt is buckled.
     */
    public static final int SEAT_BELT_BUCKLED = 354421634;
    /**
     * Seatbelt height position
     */
    public static final int SEAT_BELT_HEIGHT_POS = 356518787;
    /**
     * Seatbelt height move
     */
    public static final int SEAT_BELT_HEIGHT_MOVE = 356518788;
    /**
     * Seat fore/aft position
     */
    public static final int SEAT_FORE_AFT_POS = 356518789;
    /**
     * Seat fore/aft move
     */
    public static final int SEAT_FORE_AFT_MOVE = 356518790;
    /**
     * Seat backrest angle 1 position
     */
    public static final int SEAT_BACKREST_ANGLE_1_POS = 356518791;
    /**
     * Seat backrest angle 1 move
     *
     * Moves the backrest forward or recline.
     */
    public static final int SEAT_BACKREST_ANGLE_1_MOVE = 356518792;
    /**
     * Seat backrest angle 2 position
     */
    public static final int SEAT_BACKREST_ANGLE_2_POS = 356518793;
    /**
     * Seat backrest angle 2 move
     */
    public static final int SEAT_BACKREST_ANGLE_2_MOVE = 356518794;
    /**
     * Seat height position
     */
    public static final int SEAT_HEIGHT_POS = 356518795;
    /**
     * Seat height move
     */
    public static final int SEAT_HEIGHT_MOVE = 356518796;
    /**
     * Seat depth position
     */
    public static final int SEAT_DEPTH_POS = 356518797;
    /**
     * Seat depth move
     */
    public static final int SEAT_DEPTH_MOVE = 356518798;
    /**
     * Seat tilt position
     */
    public static final int SEAT_TILT_POS = 356518799;
    /**
     * Seat tilt move
     */
    public static final int SEAT_TILT_MOVE = 356518800;
    /**
     * Lumber fore/aft position
     */
    public static final int SEAT_LUMBAR_FORE_AFT_POS = 356518801;
    /**
     * Lumbar fore/aft move
     */
    public static final int SEAT_LUMBAR_FORE_AFT_MOVE = 356518802;
    /**
     * Lumbar side support position
     */
    public static final int SEAT_LUMBAR_SIDE_SUPPORT_POS = 356518803;
    /**
     * Lumbar side support move
     */
    public static final int SEAT_LUMBAR_SIDE_SUPPORT_MOVE = 356518804;
    /**
     * Headrest height position
     */
    public static final int SEAT_HEADREST_HEIGHT_POS = 289409941;
    /**
     * Headrest height move
     */
    public static final int SEAT_HEADREST_HEIGHT_MOVE = 356518806;
    /**
     * Headrest angle position
     */
    public static final int SEAT_HEADREST_ANGLE_POS = 356518807;
    /**
     * Headrest angle move
     */
    public static final int SEAT_HEADREST_ANGLE_MOVE = 356518808;
    /**
     * Headrest fore/aft position
     */
    public static final int SEAT_HEADREST_FORE_AFT_POS = 356518809;
    /**
     * Headrest fore/aft move
     */
    public static final int SEAT_HEADREST_FORE_AFT_MOVE = 356518810;
    /**
     * Window Position
     */
    public static final int WINDOW_POS = 322964416;
    /**
     * Window Move
     */
    public static final int WINDOW_MOVE = 322964417;
    /**
     * Window Lock
     */
    public static final int WINDOW_LOCK = 320867268;
    /**
     * Vehicle Maps Service (VMS) message
     */
    public static final int VEHICLE_MAP_SERVICE = 299895808;
    /**
     * OBD2 Live Sensor Data
     *
     * Reports a snapshot of the current (live) values of the OBD2 sensors available.
     */
    public static final int OBD2_LIVE_FRAME = 299896064;
    /**
     * OBD2 Freeze Frame Sensor Data
     *
     * Reports a snapshot of the value of the OBD2 sensors available at the time that a fault
     * occurred and was detected.
     */
    public static final int OBD2_FREEZE_FRAME = 299896065;
    /**
     * OBD2 Freeze Frame Information
     */
    public static final int OBD2_FREEZE_FRAME_INFO = 299896066;
    /**
     * OBD2 Freeze Frame Clear
     *
     * This property allows deletion of any of the freeze frames stored in
     * vehicle memory, as described by OBD2_FREEZE_FRAME_INFO.
     */
    public static final int OBD2_FREEZE_FRAME_CLEAR = 299896067;
    /**
     * Headlights State
     */
    public static final int HEADLIGHTS_STATE = 289410560;
    /**
     * High beam lights state
     */
    public static final int HIGH_BEAM_LIGHTS_STATE = 289410561;
    /**
     * Fog light state
     */
    public static final int FOG_LIGHTS_STATE = 289410562;
    /**
     * Hazard light status
     */
    public static final int HAZARD_LIGHTS_STATE = 289410563;
    /**
     * Headlight switch
     */
    public static final int HEADLIGHTS_SWITCH = 289410576;
    /**
     * High beam light switch
     */
    public static final int HIGH_BEAM_LIGHTS_SWITCH = 289410577;
    /**
     * Fog light switch
     */
    public static final int FOG_LIGHTS_SWITCH = 289410578;
    /**
     * Hazard light switch
     */
    public static final int HAZARD_LIGHTS_SWITCH = 289410579;

    /**
     * @param o Integer
     * @return String
     */
    public static  String toString(int o) {
        if (o == INVALID) {
            return "INVALID";
        }
        if (o == INFO_VIN) {
            return "INFO_VIN";
        }
        if (o == INFO_MAKE) {
            return "INFO_MAKE";
        }
        if (o == INFO_MODEL) {
            return "INFO_MODEL";
        }
        if (o == INFO_MODEL_YEAR) {
            return "INFO_MODEL_YEAR";
        }
        if (o == INFO_FUEL_CAPACITY) {
            return "INFO_FUEL_CAPACITY";
        }
        if (o == INFO_FUEL_TYPE) {
            return "INFO_FUEL_TYPE";
        }
        if (o == INFO_EV_BATTERY_CAPACITY) {
            return "INFO_EV_BATTERY_CAPACITY";
        }
        if (o == INFO_EV_CONNECTOR_TYPE) {
            return "INFO_EV_CONNECTOR_TYPE";
        }
        if (o == INFO_FUEL_DOOR_LOCATION) {
            return "INFO_FUEL_DOOR_LOCATION";
        }
        if (o == INFO_EV_PORT_LOCATION) {
            return "INFO_EV_PORT_LOCATION";
        }
        if (o == INFO_DRIVER_SEAT) {
            return "INFO_DRIVER_SEAT";
        }
        if (o == PERF_ODOMETER) {
            return "PERF_ODOMETER";
        }
        if (o == PERF_VEHICLE_SPEED) {
            return "PERF_VEHICLE_SPEED";
        }
        if (o == ENGINE_COOLANT_TEMP) {
            return "ENGINE_COOLANT_TEMP";
        }
        if (o == ENGINE_OIL_LEVEL) {
            return "ENGINE_OIL_LEVEL";
        }
        if (o == ENGINE_OIL_TEMP) {
            return "ENGINE_OIL_TEMP";
        }
        if (o == ENGINE_RPM) {
            return "ENGINE_RPM";
        }
        if (o == WHEEL_TICK) {
            return "WHEEL_TICK";
        }
        if (o == FUEL_LEVEL) {
            return "FUEL_LEVEL";
        }
        if (o == FUEL_DOOR_OPEN) {
            return "FUEL_DOOR_OPEN";
        }
        if (o == EV_BATTERY_LEVEL) {
            return "EV_BATTERY_LEVEL";
        }
        if (o == EV_CHARGE_PORT_OPEN) {
            return "EV_CHARGE_PORT_OPEN";
        }
        if (o == EV_CHARGE_PORT_CONNECTED) {
            return "EV_CHARGE_PORT_CONNECTED";
        }
        if (o == EV_BATTERY_INSTANTANEOUS_CHARGE_RATE) {
            return "EV_BATTERY_INSTANTANEOUS_CHARGE_RATE";
        }
        if (o == RANGE_REMAINING) {
            return "RANGE_REMAINING";
        }
        if (o == TIRE_PRESSURE) {
            return "TIRE_PRESSURE";
        }
        if (o == GEAR_SELECTION) {
            return "GEAR_SELECTION";
        }
        if (o == CURRENT_GEAR) {
            return "CURRENT_GEAR";
        }
        if (o == PARKING_BRAKE_ON) {
            return "PARKING_BRAKE_ON";
        }
        if (o == PARKING_BRAKE_AUTO_APPLY) {
            return "PARKING_BRAKE_AUTO_APPLY";
        }
        if (o == FUEL_LEVEL_LOW) {
            return "FUEL_LEVEL_LOW";
        }
        if (o == NIGHT_MODE) {
            return "NIGHT_MODE";
        }
        if (o == TURN_SIGNAL_STATE) {
            return "TURN_SIGNAL_STATE";
        }
        if (o == IGNITION_STATE) {
            return "IGNITION_STATE";
        }
        if (o == ABS_ACTIVE) {
            return "ABS_ACTIVE";
        }
        if (o == TRACTION_CONTROL_ACTIVE) {
            return "TRACTION_CONTROL_ACTIVE";
        }
        if (o == HVAC_FAN_SPEED) {
            return "HVAC_FAN_SPEED";
        }
        if (o == HVAC_FAN_DIRECTION) {
            return "HVAC_FAN_DIRECTION";
        }
        if (o == HVAC_TEMPERATURE_CURRENT) {
            return "HVAC_TEMPERATURE_CURRENT";
        }
        if (o == HVAC_TEMPERATURE_SET) {
            return "HVAC_TEMPERATURE_SET";
        }
        if (o == HVAC_DEFROSTER) {
            return "HVAC_DEFROSTER";
        }
        if (o == HVAC_AC_ON) {
            return "HVAC_AC_ON";
        }
        if (o == HVAC_MAX_AC_ON) {
            return "HVAC_MAX_AC_ON";
        }
        if (o == HVAC_MAX_DEFROST_ON) {
            return "HVAC_MAX_DEFROST_ON";
        }
        if (o == HVAC_RECIRC_ON) {
            return "HVAC_RECIRC_ON";
        }
        if (o == HVAC_DUAL_ON) {
            return "HVAC_DUAL_ON";
        }
        if (o == HVAC_AUTO_ON) {
            return "HVAC_AUTO_ON";
        }
        if (o == HVAC_SEAT_TEMPERATURE) {
            return "HVAC_SEAT_TEMPERATURE";
        }
        if (o == HVAC_SIDE_MIRROR_HEAT) {
            return "HVAC_SIDE_MIRROR_HEAT";
        }
        if (o == HVAC_STEERING_WHEEL_HEAT) {
            return "HVAC_STEERING_WHEEL_HEAT";
        }
        if (o == HVAC_TEMPERATURE_DISPLAY_UNITS) {
            return "HVAC_TEMPERATURE_DISPLAY_UNITS";
        }
        if (o == HVAC_ACTUAL_FAN_SPEED_RPM) {
            return "HVAC_ACTUAL_FAN_SPEED_RPM";
        }
        if (o == HVAC_POWER_ON) {
            return "HVAC_POWER_ON";
        }
        if (o == HVAC_FAN_DIRECTION_AVAILABLE) {
            return "HVAC_FAN_DIRECTION_AVAILABLE";
        }
        if (o == HVAC_AUTO_RECIRC_ON) {
            return "HVAC_AUTO_RECIRC_ON";
        }
        if (o == HVAC_SEAT_VENTILATION) {
            return "HVAC_SEAT_VENTILATION";
        }
        if (o == ENV_OUTSIDE_TEMPERATURE) {
            return "ENV_OUTSIDE_TEMPERATURE";
        }
        if (o == AP_POWER_STATE_REQ) {
            return "AP_POWER_STATE_REQ";
        }
        if (o == AP_POWER_STATE_REPORT) {
            return "AP_POWER_STATE_REPORT";
        }
        if (o == AP_POWER_BOOTUP_REASON) {
            return "AP_POWER_BOOTUP_REASON";
        }
        if (o == DISPLAY_BRIGHTNESS) {
            return "DISPLAY_BRIGHTNESS";
        }
        if (o == HW_KEY_INPUT) {
            return "HW_KEY_INPUT";
        }
        if (o == DOOR_POS) {
            return "DOOR_POS";
        }
        if (o == DOOR_MOVE) {
            return "DOOR_MOVE";
        }
        if (o == DOOR_LOCK) {
            return "DOOR_LOCK";
        }
        if (o == MIRROR_Z_POS) {
            return "MIRROR_Z_POS";
        }
        if (o == MIRROR_Z_MOVE) {
            return "MIRROR_Z_MOVE";
        }
        if (o == MIRROR_Y_POS) {
            return "MIRROR_Y_POS";
        }
        if (o == MIRROR_Y_MOVE) {
            return "MIRROR_Y_MOVE";
        }
        if (o == MIRROR_LOCK) {
            return "MIRROR_LOCK";
        }
        if (o == MIRROR_FOLD) {
            return "MIRROR_FOLD";
        }
        if (o == SEAT_MEMORY_SELECT) {
            return "SEAT_MEMORY_SELECT";
        }
        if (o == SEAT_MEMORY_SET) {
            return "SEAT_MEMORY_SET";
        }
        if (o == SEAT_BELT_BUCKLED) {
            return "SEAT_BELT_BUCKLED";
        }
        if (o == SEAT_BELT_HEIGHT_POS) {
            return "SEAT_BELT_HEIGHT_POS";
        }
        if (o == SEAT_BELT_HEIGHT_MOVE) {
            return "SEAT_BELT_HEIGHT_MOVE";
        }
        if (o == SEAT_FORE_AFT_POS) {
            return "SEAT_FORE_AFT_POS";
        }
        if (o == SEAT_FORE_AFT_MOVE) {
            return "SEAT_FORE_AFT_MOVE";
        }
        if (o == SEAT_BACKREST_ANGLE_1_POS) {
            return "SEAT_BACKREST_ANGLE_1_POS";
        }
        if (o == SEAT_BACKREST_ANGLE_1_MOVE) {
            return "SEAT_BACKREST_ANGLE_1_MOVE";
        }
        if (o == SEAT_BACKREST_ANGLE_2_POS) {
            return "SEAT_BACKREST_ANGLE_2_POS";
        }
        if (o == SEAT_BACKREST_ANGLE_2_MOVE) {
            return "SEAT_BACKREST_ANGLE_2_MOVE";
        }
        if (o == SEAT_HEIGHT_POS) {
            return "SEAT_HEIGHT_POS";
        }
        if (o == SEAT_HEIGHT_MOVE) {
            return "SEAT_HEIGHT_MOVE";
        }
        if (o == SEAT_DEPTH_POS) {
            return "SEAT_DEPTH_POS";
        }
        if (o == SEAT_DEPTH_MOVE) {
            return "SEAT_DEPTH_MOVE";
        }
        if (o == SEAT_TILT_POS) {
            return "SEAT_TILT_POS";
        }
        if (o == SEAT_TILT_MOVE) {
            return "SEAT_TILT_MOVE";
        }
        if (o == SEAT_LUMBAR_FORE_AFT_POS) {
            return "SEAT_LUMBAR_FORE_AFT_POS";
        }
        if (o == SEAT_LUMBAR_FORE_AFT_MOVE) {
            return "SEAT_LUMBAR_FORE_AFT_MOVE";
        }
        if (o == SEAT_LUMBAR_SIDE_SUPPORT_POS) {
            return "SEAT_LUMBAR_SIDE_SUPPORT_POS";
        }
        if (o == SEAT_LUMBAR_SIDE_SUPPORT_MOVE) {
            return "SEAT_LUMBAR_SIDE_SUPPORT_MOVE";
        }
        if (o == SEAT_HEADREST_HEIGHT_POS) {
            return "SEAT_HEADREST_HEIGHT_POS";
        }
        if (o == SEAT_HEADREST_HEIGHT_MOVE) {
            return "SEAT_HEADREST_HEIGHT_MOVE";
        }
        if (o == SEAT_HEADREST_ANGLE_POS) {
            return "SEAT_HEADREST_ANGLE_POS";
        }
        if (o == SEAT_HEADREST_ANGLE_MOVE) {
            return "SEAT_HEADREST_ANGLE_MOVE";
        }
        if (o == SEAT_HEADREST_FORE_AFT_POS) {
            return "SEAT_HEADREST_FORE_AFT_POS";
        }
        if (o == SEAT_HEADREST_FORE_AFT_MOVE) {
            return "SEAT_HEADREST_FORE_AFT_MOVE";
        }
        if (o == WINDOW_POS) {
            return "WINDOW_POS";
        }
        if (o == WINDOW_MOVE) {
            return "WINDOW_MOVE";
        }
        if (o == WINDOW_LOCK) {
            return "WINDOW_LOCK";
        }
        if (o == VEHICLE_MAP_SERVICE) {
            return "VEHICLE_MAP_SERVICE";
        }
        if (o == OBD2_LIVE_FRAME) {
            return "OBD2_LIVE_FRAME";
        }
        if (o == OBD2_FREEZE_FRAME) {
            return "OBD2_FREEZE_FRAME";
        }
        if (o == OBD2_FREEZE_FRAME_INFO) {
            return "OBD2_FREEZE_FRAME_INFO";
        }
        if (o == OBD2_FREEZE_FRAME_CLEAR) {
            return "OBD2_FREEZE_FRAME_CLEAR";
        }
        if (o == HEADLIGHTS_STATE) {
            return "HEADLIGHTS_STATE";
        }
        if (o == HIGH_BEAM_LIGHTS_STATE) {
            return "HIGH_BEAM_LIGHTS_STATE";
        }
        if (o == FOG_LIGHTS_STATE) {
            return "FOG_LIGHTS_STATE";
        }
        if (o == HAZARD_LIGHTS_STATE) {
            return "HAZARD_LIGHTS_STATE";
        }
        if (o == HEADLIGHTS_SWITCH) {
            return "HEADLIGHTS_SWITCH";
        }
        if (o == HIGH_BEAM_LIGHTS_SWITCH) {
            return "HIGH_BEAM_LIGHTS_SWITCH";
        }
        if (o == FOG_LIGHTS_SWITCH) {
            return "FOG_LIGHTS_SWITCH";
        }
        if (o == HAZARD_LIGHTS_SWITCH) {
            return "HAZARD_LIGHTS_SWITCH";
        }
        return "0x" + Integer.toHexString(o);
    }
}