1 /*
2  * Copyright (C) 2018 The Android Open Source Project
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *      http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 
17 package android.car;
18 
19 /**
20  * Copy from android.hardware.automotive.vehicle-V2.0-java_gen_java/gen/android/hardware/automotive
21  * /vehicle/V2_0. Need to update this file when vehicle propertyId is changed in VHAL.
22  * Use it as PropertyId in getProperty() and setProperty() in
23  * {@link android.car.hardware.property.CarPropertyManager}
24  */
25 public final class VehiclePropertyIds {
26     /**
27      * Undefined property.  */
28     public static final int INVALID = 0;
29     /**
30      * VIN of vehicle
31      * Requires permission: {@link Car#PERMISSION_IDENTIFICATION}.
32      */
33     public static final int INFO_VIN = 286261504;
34     /**
35      * Manufacturer of vehicle
36      * Requires permission: {@link Car#PERMISSION_CAR_INFO}.
37      */
38     public static final int INFO_MAKE = 286261505;
39     /**
40      * Model of vehicle
41      * Requires permission: {@link Car#PERMISSION_CAR_INFO}.
42      */
43     public static final int INFO_MODEL = 286261506;
44     /**
45      * Model year of vehicle.
46      * Requires permission: {@link Car#PERMISSION_CAR_INFO}.
47      */
48     public static final int INFO_MODEL_YEAR = 289407235;
49     /**
50      * Fuel capacity of the vehicle in milliliters
51      * Requires permission: {@link Car#PERMISSION_CAR_INFO}.
52      */
53     public static final int INFO_FUEL_CAPACITY = 291504388;
54     /**
55      * List of fuels the vehicle may use
56      * Requires permission: {@link Car#PERMISSION_CAR_INFO}.
57      */
58     public static final int INFO_FUEL_TYPE = 289472773;
59     /**
60      * Battery capacity of the vehicle, if EV or hybrid.  This is the nominal
61      * battery capacity when the vehicle is new.
62      * Requires permission: {@link Car#PERMISSION_CAR_INFO}.
63      */
64     public static final int INFO_EV_BATTERY_CAPACITY = 291504390;
65     /**
66      * List of connectors this EV may use
67      * Requires permission: {@link Car#PERMISSION_CAR_INFO}.
68      */
69     public static final int INFO_EV_CONNECTOR_TYPE = 289472775;
70     /**
71      * Fuel door location
72      * Requires permission: {@link Car#PERMISSION_CAR_INFO}.
73      */
74     public static final int INFO_FUEL_DOOR_LOCATION = 289407240;
75     /**
76      * EV port location
77      * Requires permission: {@link Car#PERMISSION_CAR_INFO}.
78      */
79     public static final int INFO_EV_PORT_LOCATION = 289407241;
80     /**
81      * Driver's seat location
82      * Requires permission: {@link Car#PERMISSION_CAR_INFO}.
83      */
84     public static final int INFO_DRIVER_SEAT = 356516106;
85     /**
86      * Current odometer value of the vehicle
87      * Requires permission: {@link Car#PERMISSION_MILEAGE}.
88      */
89     public static final int PERF_ODOMETER = 291504644;
90     /**
91      * Speed of the vehicle
92      * Requires permission: {@link Car#PERMISSION_SPEED}.
93      */
94     public static final int PERF_VEHICLE_SPEED = 291504647;
95     /**
96      * Speed of the vehicle for displays
97      *
98      * Some cars display a slightly slower speed than the actual speed. This is
99      * usually displayed on the speedometer.
100      * Requires permission: {@link Car#PERMISSION_SPEED}.
101      */
102     public static final int PERF_VEHICLE_SPEED_DISPLAY = 291504648;
103     /**
104      * Steering angle of the vehicle
105      *
106      * Angle is in degrees. Left is negative.
107      * Requires permission: {@link Car#PERMISSION_READ_STEERING_STATE}.
108      */
109     public static final int PERF_STEERING_ANGLE = 291504649;
110     /**
111      * Temperature of engine coolant
112      * Requires permission: {@link Car#PERMISSION_CAR_ENGINE_DETAILED}.
113      */
114     public static final int ENGINE_COOLANT_TEMP = 291504897;
115     /**
116      * Engine oil level
117      * Requires permission: {@link Car#PERMISSION_CAR_ENGINE_DETAILED}.
118      */
119     public static final int ENGINE_OIL_LEVEL = 289407747;
120     /**
121      * Temperature of engine oil
122      * Requires permission: {@link Car#PERMISSION_CAR_ENGINE_DETAILED}.
123      */
124     public static final int ENGINE_OIL_TEMP = 291504900;
125     /**
126      * Engine rpm
127      * Requires permission: {@link Car#PERMISSION_CAR_ENGINE_DETAILED}.
128      */
129     public static final int ENGINE_RPM = 291504901;
130     /**
131      * Reports wheel ticks
132      * Requires permission: {@link Car#PERMISSION_SPEED}.
133      */
134     public static final int WHEEL_TICK = 290521862;
135     /**
136      * Fuel remaining in the the vehicle, in milliliters
137      * Requires permission: {@link Car#PERMISSION_ENERGY}.
138      */
139     public static final int FUEL_LEVEL = 291504903;
140     /**
141      * Fuel door open
142      * Requires permission: {@link Car#PERMISSION_ENERGY_PORTS}.
143      */
144     public static final int FUEL_DOOR_OPEN = 287310600;
145     /**
146      * EV battery level in WH, if EV or hybrid
147      * Requires permission: {@link Car#PERMISSION_ENERGY}.
148      */
149     public static final int EV_BATTERY_LEVEL = 291504905;
150     /**
151      * EV charge port open
152      * Requires permission: {@link Car#PERMISSION_ENERGY_PORTS}.
153      */
154     public static final int EV_CHARGE_PORT_OPEN = 287310602;
155     /**
156      * EV charge port connected
157      * Requires permission: {@link Car#PERMISSION_ENERGY_PORTS}.
158      */
159     public static final int EV_CHARGE_PORT_CONNECTED = 287310603;
160     /**
161      * EV instantaneous charge rate in milliwatts
162      * Requires permission: {@link Car#PERMISSION_ENERGY}.
163      */
164     public static final int EV_BATTERY_INSTANTANEOUS_CHARGE_RATE = 291504908;
165     /**
166      * Range remaining
167      * Requires permission: {@link Car#PERMISSION_ENERGY}.
168      */
169     public static final int RANGE_REMAINING = 291504904;
170     /**
171      * Tire pressure
172      *
173      * min/max value indicates tire pressure sensor range.  Each tire will have a separate min/max
174      * value denoted by its areaConfig.areaId.
175      * Requires permission: {@link Car#PERMISSION_TIRES}.
176      */
177     public static final int TIRE_PRESSURE = 392168201;
178     /**
179      * Currently selected gear
180      *
181      * This is the gear selected by the user.
182      * Requires permission: {@link Car#PERMISSION_POWERTRAIN}.
183      */
184     public static final int GEAR_SELECTION = 289408000;
185     /**
186      * Current gear. In non-manual case, selected gear may not
187      * match the current gear. For example, if the selected gear is GEAR_DRIVE,
188      * the current gear will be one of GEAR_1, GEAR_2 etc, which reflects
189      * the actual gear the transmission is currently running in.
190      * Requires permission: {@link Car#PERMISSION_POWERTRAIN}.
191      */
192     public static final int CURRENT_GEAR = 289408001;
193     /**
194      * Parking brake state.
195      * Requires permission: {@link Car#PERMISSION_POWERTRAIN}.
196      */
197     public static final int PARKING_BRAKE_ON = 287310850;
198     /**
199      * Auto-apply parking brake.
200      * Requires permission: {@link Car#PERMISSION_POWERTRAIN}.
201      */
202     public static final int PARKING_BRAKE_AUTO_APPLY = 287310851;
203     /**
204      * Warning for fuel low level.
205      * Requires permission: {@link Car#PERMISSION_ENERGY}.
206      */
207     public static final int FUEL_LEVEL_LOW = 287310853;
208     /**
209      * Night mode
210      * Requires permission: {@link Car#PERMISSION_EXTERIOR_ENVIRONMENT}.
211      */
212     public static final int NIGHT_MODE = 287310855;
213     /**
214      * State of the vehicles turn signals
215      * Requires permission: {@link Car#PERMISSION_EXTERIOR_LIGHTS}.
216      */
217     public static final int TURN_SIGNAL_STATE = 289408008;
218     /**
219      * Represents ignition state
220      * Requires permission: {@link Car#PERMISSION_POWERTRAIN}.
221      */
222     public static final int IGNITION_STATE = 289408009;
223     /**
224      * ABS is active
225      * Requires permission: {@link Car#PERMISSION_CAR_DYNAMICS_STATE}.
226      */
227     public static final int ABS_ACTIVE = 287310858;
228     /**
229      * Traction Control is active
230      * Requires permission: {@link Car#PERMISSION_CAR_DYNAMICS_STATE}.
231      */
232     public static final int TRACTION_CONTROL_ACTIVE = 287310859;
233     /**
234      * Fan speed setting
235      * Requires permission: {@link Car#PERMISSION_CONTROL_CAR_CLIMATE}.
236      */
237     public static final int HVAC_FAN_SPEED = 356517120;
238     /**
239      * Fan direction setting
240      * Requires permission: {@link Car#PERMISSION_CONTROL_CAR_CLIMATE}.
241      */
242     public static final int HVAC_FAN_DIRECTION = 356517121;
243     /**
244      * HVAC current temperature.
245      * Requires permission: {@link Car#PERMISSION_CONTROL_CAR_CLIMATE}.
246      */
247     public static final int HVAC_TEMPERATURE_CURRENT = 358614274;
248     /**
249      * HVAC, target temperature set.
250      * Requires permission: {@link Car#PERMISSION_CONTROL_CAR_CLIMATE}.
251      */
252     public static final int HVAC_TEMPERATURE_SET = 358614275;
253     /**
254      * On/off defrost for designated window
255      * Requires permission: {@link Car#PERMISSION_CONTROL_CAR_CLIMATE}.
256      */
257     public static final int HVAC_DEFROSTER = 320865540;
258     /**
259      * On/off AC for designated areaId
260      * Requires permission: {@link Car#PERMISSION_CONTROL_CAR_CLIMATE}.
261      */
262     public static final int HVAC_AC_ON = 354419973;
263     /**
264      * On/off max AC
265      * Requires permission: {@link Car#PERMISSION_CONTROL_CAR_CLIMATE}.
266      */
267     public static final int HVAC_MAX_AC_ON = 354419974;
268     /**
269      * On/off max defrost
270      * Requires permission: {@link Car#PERMISSION_CONTROL_CAR_CLIMATE}.
271      */
272     public static final int HVAC_MAX_DEFROST_ON = 354419975;
273     /**
274      * Recirculation on/off
275      * Requires permission: {@link Car#PERMISSION_CONTROL_CAR_CLIMATE}.
276      */
277     public static final int HVAC_RECIRC_ON = 354419976;
278     /**
279      * Enable temperature coupling between areas.
280      * Requires permission: {@link Car#PERMISSION_CONTROL_CAR_CLIMATE}.
281      */
282     public static final int HVAC_DUAL_ON = 354419977;
283     /**
284      * On/off automatic mode
285      * Requires permission: {@link Car#PERMISSION_CONTROL_CAR_CLIMATE}.
286      */
287     public static final int HVAC_AUTO_ON = 354419978;
288     /**
289      * Seat heating/cooling
290      * Requires permission: {@link Car#PERMISSION_CONTROL_CAR_CLIMATE}.
291      */
292     public static final int HVAC_SEAT_TEMPERATURE = 356517131;
293     /**
294      * Side Mirror Heat
295      * Requires permission: {@link Car#PERMISSION_CONTROL_CAR_CLIMATE}.
296      */
297     public static final int HVAC_SIDE_MIRROR_HEAT = 339739916;
298     /**
299      * Steering Wheel Heating/Cooling
300      * Requires permission: {@link Car#PERMISSION_CONTROL_CAR_CLIMATE}.
301      */
302     public static final int HVAC_STEERING_WHEEL_HEAT = 289408269;
303     /**
304      * Temperature units for display
305      * Requires permission: {@link Car#PERMISSION_CONTROL_CAR_CLIMATE}.
306      */
307     public static final int HVAC_TEMPERATURE_DISPLAY_UNITS = 289408270;
308     /**
309      * Actual fan speed
310      * Requires permission: {@link Car#PERMISSION_CONTROL_CAR_CLIMATE}.
311      */
312     public static final int HVAC_ACTUAL_FAN_SPEED_RPM = 356517135;
313     /**
314      * Represents global power state for HVAC. Setting this property to false
315      * MAY mark some properties that control individual HVAC features/subsystems
316      * to UNAVAILABLE state. Setting this property to true MAY mark some
317      * properties that control individual HVAC features/subsystems to AVAILABLE
318      * state (unless any/all of them are UNAVAILABLE on their own individual
319      * merits).
320      * Requires permission: {@link Car#PERMISSION_CONTROL_CAR_CLIMATE}.
321      */
322     public static final int HVAC_POWER_ON = 354419984;
323     /**
324      * Fan Positions Available
325      * Requires permission: {@link Car#PERMISSION_CONTROL_CAR_CLIMATE}.
326      */
327     public static final int HVAC_FAN_DIRECTION_AVAILABLE = 356582673;
328     /**
329      * Automatic recirculation on/off
330      * Requires permission: {@link Car#PERMISSION_CONTROL_CAR_CLIMATE}.
331      */
332     public static final int HVAC_AUTO_RECIRC_ON = 354419986;
333     /**
334      * Seat ventilation
335      * Requires permission: {@link Car#PERMISSION_CONTROL_CAR_CLIMATE}.
336      */
337     public static final int HVAC_SEAT_VENTILATION = 356517139;
338     /**
339      * Distance units for display
340      * Requires permission {@link Car#PERMISSION_READ_DISPLAY_UNITS} to read the property.
341      * Requires permission {@link Car#PERMISSION_CONTROL_DISPLAY_UNITS} and
342      * {@link Car#PERMISSION_VENDOR_EXTENSION}to write the property.
343      */
344     public static final int DISTANCE_DISPLAY_UNITS = 289408512;
345     /**
346      * Fuel volume units for display
347      * Requires permission {@link Car#PERMISSION_READ_DISPLAY_UNITS} to read the property.
348      * Requires permission {@link Car#PERMISSION_CONTROL_DISPLAY_UNITS} and
349      * {@link Car#PERMISSION_VENDOR_EXTENSION}to write the property.
350      */
351     public static final int FUEL_VOLUME_DISPLAY_UNITS = 289408513;
352     /**
353      * Tire pressure units for display
354      * Requires permission {@link Car#PERMISSION_READ_DISPLAY_UNITS} to read the property.
355      * Requires permission {@link Car#PERMISSION_CONTROL_DISPLAY_UNITS} and
356      * {@link Car#PERMISSION_VENDOR_EXTENSION}to write the property.
357      */
358     public static final int TIRE_PRESSURE_DISPLAY_UNITS = 289408514;
359     /**
360      * EV battery units for display
361      * Requires permission {@link Car#PERMISSION_READ_DISPLAY_UNITS} to read the property.
362      * Requires permission {@link Car#PERMISSION_CONTROL_DISPLAY_UNITS} and
363      * {@link Car#PERMISSION_VENDOR_EXTENSION}to write the property.
364      */
365     public static final int EV_BATTERY_DISPLAY_UNITS = 289408515;
366     /**
367      * Speed Units for display
368      * Requires permission {@link Car#PERMISSION_READ_DISPLAY_UNITS} to read the property.
369      * Requires permission {@link Car#PERMISSION_CONTROL_DISPLAY_UNITS} and
370      * {@link Car#PERMISSION_VENDOR_EXTENSION}to write the property.
371      * @hide
372      */
373     public static final int VEHICLE_SPEED_DISPLAY_UNITS = 289408516;
374     /**
375      * Fuel consumption units for display
376      * Requires permission {@link Car#PERMISSION_READ_DISPLAY_UNITS} to read the property.
377      * Requires permission {@link Car#PERMISSION_CONTROL_DISPLAY_UNITS} and
378      * {@link Car#PERMISSION_VENDOR_EXTENSION}to write the property.
379      */
380     public static final int FUEL_CONSUMPTION_UNITS_DISTANCE_OVER_VOLUME = 287311364;
381     /**
382      * Outside temperature
383      * Requires permission: {@link Car#PERMISSION_EXTERIOR_ENVIRONMENT}.
384      */
385     public static final int ENV_OUTSIDE_TEMPERATURE = 291505923;
386     /**
387      * Property to control power state of application processor
388      *
389      * It is assumed that AP's power state is controller by separate power
390      * controller.
391      * Requires permission: {@link Car#PERMISSION_CAR_POWER}.
392      */
393     public static final int AP_POWER_STATE_REQ = 289475072;
394     /**
395      * Property to report power state of application processor
396      *
397      * It is assumed that AP's power state is controller by separate power
398      * controller.
399      * Requires permission: {@link Car#PERMISSION_CAR_POWER}.
400      */
401     public static final int AP_POWER_STATE_REPORT = 289475073;
402     /**
403      * Property to report bootup reason for the current power on. This is a
404      * static property that will not change for the whole duration until power
405      * off. For example, even if user presses power on button after automatic
406      * power on with door unlock, bootup reason must stay with
407      * VehicleApPowerBootupReason#USER_UNLOCK.
408      * Requires permission: {@link Car#PERMISSION_CAR_POWER}.
409      */
410     public static final int AP_POWER_BOOTUP_REASON = 289409538;
411     /**
412      * Property to represent brightness of the display. Some cars have single
413      * control for the brightness of all displays and this property is to share
414      * change in that control.
415      * Requires permission: {@link Car#PERMISSION_CAR_POWER}.
416      */
417     public static final int DISPLAY_BRIGHTNESS = 289409539;
418     /**
419      * Property to feed H/W input events to android
420      */
421     public static final int HW_KEY_INPUT = 289475088;
422     /**
423      * Door position
424      *
425      * This is an integer in case a door may be set to a particular position.
426      * Max value indicates fully open, min value (0) indicates fully closed.
427      * Requires permission: {@link Car#PERMISSION_CONTROL_CAR_DOORS}.
428      */
429     public static final int DOOR_POS = 373295872;
430     /**
431      * Door move
432      * Requires permission: {@link Car#PERMISSION_CONTROL_CAR_DOORS}.
433      */
434     public static final int DOOR_MOVE = 373295873;
435     /**
436      * Door lock
437      * Requires permission: {@link Car#PERMISSION_CONTROL_CAR_DOORS}.
438      */
439     public static final int DOOR_LOCK = 371198722;
440     /**
441      * Mirror Z Position
442      * Requires permission: {@link Car#PERMISSION_CONTROL_CAR_MIRRORS}.
443      */
444     public static final int MIRROR_Z_POS = 339741504;
445     /**
446      * Mirror Z Move
447      * Requires permission: {@link Car#PERMISSION_CONTROL_CAR_MIRRORS}.
448      */
449     public static final int MIRROR_Z_MOVE = 339741505;
450     /**
451      * Mirror Y Position
452      * Requires permission: {@link Car#PERMISSION_CONTROL_CAR_MIRRORS}.
453      */
454     public static final int MIRROR_Y_POS = 339741506;
455     /**
456      * Mirror Y Move
457      * Requires permission: {@link Car#PERMISSION_CONTROL_CAR_MIRRORS}.
458      */
459     public static final int MIRROR_Y_MOVE = 339741507;
460     /**
461      * Mirror Lock
462      * Requires permission: {@link Car#PERMISSION_CONTROL_CAR_MIRRORS}.
463      */
464     public static final int MIRROR_LOCK = 287312708;
465     /**
466      * Mirror Fold
467      * Requires permission: {@link Car#PERMISSION_CONTROL_CAR_MIRRORS}.
468      */
469     public static final int MIRROR_FOLD = 287312709;
470     /**
471      * Seat memory select
472      *
473      * This parameter selects the memory preset to use to select the seat
474      * position. The minValue is always 0, and the maxValue determines the
475      * number of seat positions available.
476      * Requires permission: {@link Car#PERMISSION_CONTROL_CAR_SEATS}.
477      */
478     public static final int SEAT_MEMORY_SELECT = 356518784;
479     /**
480      * Seat memory set
481      *
482      * This setting allows the user to save the current seat position settings
483      * into the selected preset slot.  The maxValue for each seat position
484      * must match the maxValue for SEAT_MEMORY_SELECT.
485      * Requires permission: {@link Car#PERMISSION_CONTROL_CAR_SEATS}.
486      */
487     public static final int SEAT_MEMORY_SET = 356518785;
488     /**
489      * Seatbelt buckled
490      *
491      * True indicates belt is buckled.
492      * Requires permission: {@link Car#PERMISSION_CONTROL_CAR_SEATS}.
493      */
494     public static final int SEAT_BELT_BUCKLED = 354421634;
495     /**
496      * Seatbelt height position
497      * Requires permission: {@link Car#PERMISSION_CONTROL_CAR_SEATS}.
498      */
499     public static final int SEAT_BELT_HEIGHT_POS = 356518787;
500     /**
501      * Seatbelt height move
502      * Requires permission: {@link Car#PERMISSION_CONTROL_CAR_SEATS}.
503      */
504     public static final int SEAT_BELT_HEIGHT_MOVE = 356518788;
505     /**
506      * Seat fore/aft position
507      * Requires permission: {@link Car#PERMISSION_CONTROL_CAR_SEATS}.
508      */
509     public static final int SEAT_FORE_AFT_POS = 356518789;
510     /**
511      * Seat fore/aft move
512      * Requires permission: {@link Car#PERMISSION_CONTROL_CAR_SEATS}.
513      */
514     public static final int SEAT_FORE_AFT_MOVE = 356518790;
515     /**
516      * Seat backrest angle 1 position
517      * Requires permission: {@link Car#PERMISSION_CONTROL_CAR_SEATS}.
518      */
519     public static final int SEAT_BACKREST_ANGLE_1_POS = 356518791;
520     /**
521      * Seat backrest angle 1 move
522      *
523      * Moves the backrest forward or recline.
524      * Requires permission: {@link Car#PERMISSION_CONTROL_CAR_SEATS}.
525      */
526     public static final int SEAT_BACKREST_ANGLE_1_MOVE = 356518792;
527     /**
528      * Seat backrest angle 2 position
529      * Requires permission: {@link Car#PERMISSION_CONTROL_CAR_SEATS}.
530      */
531     public static final int SEAT_BACKREST_ANGLE_2_POS = 356518793;
532     /**
533      * Seat backrest angle 2 move
534      * Requires permission: {@link Car#PERMISSION_CONTROL_CAR_SEATS}.
535      */
536     public static final int SEAT_BACKREST_ANGLE_2_MOVE = 356518794;
537     /**
538      * Seat height position
539      * Requires permission: {@link Car#PERMISSION_CONTROL_CAR_SEATS}.
540      */
541     public static final int SEAT_HEIGHT_POS = 356518795;
542     /**
543      * Seat height move
544      * Requires permission: {@link Car#PERMISSION_CONTROL_CAR_SEATS}.
545      */
546     public static final int SEAT_HEIGHT_MOVE = 356518796;
547     /**
548      * Seat depth position
549      * Requires permission: {@link Car#PERMISSION_CONTROL_CAR_SEATS}.
550      */
551     public static final int SEAT_DEPTH_POS = 356518797;
552     /**
553      * Seat depth move
554      * Requires permission: {@link Car#PERMISSION_CONTROL_CAR_SEATS}.
555      */
556     public static final int SEAT_DEPTH_MOVE = 356518798;
557     /**
558      * Seat tilt position
559      * Requires permission: {@link Car#PERMISSION_CONTROL_CAR_SEATS}.
560      */
561     public static final int SEAT_TILT_POS = 356518799;
562     /**
563      * Seat tilt move
564      * Requires permission: {@link Car#PERMISSION_CONTROL_CAR_SEATS}.
565      */
566     public static final int SEAT_TILT_MOVE = 356518800;
567     /**
568      * Lumber fore/aft position
569      * Requires permission: {@link Car#PERMISSION_CONTROL_CAR_SEATS}.
570      */
571     public static final int SEAT_LUMBAR_FORE_AFT_POS = 356518801;
572     /**
573      * Lumbar fore/aft move
574      * Requires permission: {@link Car#PERMISSION_CONTROL_CAR_SEATS}.
575      */
576     public static final int SEAT_LUMBAR_FORE_AFT_MOVE = 356518802;
577     /**
578      * Lumbar side support position
579      * Requires permission: {@link Car#PERMISSION_CONTROL_CAR_SEATS}.
580      */
581     public static final int SEAT_LUMBAR_SIDE_SUPPORT_POS = 356518803;
582     /**
583      * Lumbar side support move
584      * Requires permission: {@link Car#PERMISSION_CONTROL_CAR_SEATS}.
585      */
586     public static final int SEAT_LUMBAR_SIDE_SUPPORT_MOVE = 356518804;
587     /**
588      * Headrest height position
589      * Requires permission: {@link Car#PERMISSION_CONTROL_CAR_SEATS}.
590      */
591     public static final int SEAT_HEADREST_HEIGHT_POS = 289409941;
592     /**
593      * Headrest height move
594      * Requires permission: {@link Car#PERMISSION_CONTROL_CAR_SEATS}.
595      */
596     public static final int SEAT_HEADREST_HEIGHT_MOVE = 356518806;
597     /**
598      * Headrest angle position
599      * Requires permission: {@link Car#PERMISSION_CONTROL_CAR_SEATS}.
600      */
601     public static final int SEAT_HEADREST_ANGLE_POS = 356518807;
602     /**
603      * Headrest angle move
604      * Requires permission: {@link Car#PERMISSION_CONTROL_CAR_SEATS}.
605      */
606     public static final int SEAT_HEADREST_ANGLE_MOVE = 356518808;
607     /**
608      * Headrest fore/aft position
609      * Requires permission: {@link Car#PERMISSION_CONTROL_CAR_SEATS}.
610      */
611     public static final int SEAT_HEADREST_FORE_AFT_POS = 356518809;
612     /**
613      * Headrest fore/aft move
614      * Requires permission: {@link Car#PERMISSION_CONTROL_CAR_SEATS}.
615      */
616     public static final int SEAT_HEADREST_FORE_AFT_MOVE = 356518810;
617     /**
618      * Seat Occupancy
619      * Requires permission: {@link Car#PERMISSION_CONTROL_CAR_SEATS}.
620      */
621     public static final int SEAT_OCCUPANCY = 356518832;
622     /**
623      * Window Position
624      * Requires permission: {@link Car#PERMISSION_CONTROL_CAR_WINDOWS}.
625      */
626     public static final int WINDOW_POS = 322964416;
627     /**
628      * Window Move
629      * Requires permission: {@link Car#PERMISSION_CONTROL_CAR_WINDOWS}.
630      */
631     public static final int WINDOW_MOVE = 322964417;
632     /**
633      * Window Lock
634      * Requires permission: {@link Car#PERMISSION_CONTROL_CAR_WINDOWS}.
635      */
636     public static final int WINDOW_LOCK = 320867268;
637     /**
638      * Vehicle Maps Service (VMS) message
639      * Requires one of permissions in {@link Car#PERMISSION_VMS_PUBLISHER},
640      * {@link Car#PERMISSION_VMS_SUBSCRIBER}.
641      */
642     public static final int VEHICLE_MAP_SERVICE = 299895808;
643     /**
644      * OBD2 Live Sensor Data
645      *
646      * Reports a snapshot of the current (live) values of the OBD2 sensors available.
647      * Requires permission: {@link Car#PERMISSION_CAR_DIAGNOSTIC_READ_ALL}.
648      */
649     public static final int OBD2_LIVE_FRAME = 299896064;
650     /**
651      * OBD2 Freeze Frame Sensor Data
652      *
653      * Reports a snapshot of the value of the OBD2 sensors available at the time that a fault
654      * occurred and was detected.
655      * Requires permission: {@link Car#PERMISSION_CAR_DIAGNOSTIC_READ_ALL}.
656      */
657     public static final int OBD2_FREEZE_FRAME = 299896065;
658     /**
659      * OBD2 Freeze Frame Information
660      * Requires permission: {@link Car#PERMISSION_CAR_DIAGNOSTIC_READ_ALL}.
661      */
662     public static final int OBD2_FREEZE_FRAME_INFO = 299896066;
663     /**
664      * OBD2 Freeze Frame Clear
665      *
666      * This property allows deletion of any of the freeze frames stored in
667      * vehicle memory, as described by OBD2_FREEZE_FRAME_INFO.
668      * Requires permission: {@link Car#PERMISSION_CAR_DIAGNOSTIC_CLEAR}.
669      */
670     public static final int OBD2_FREEZE_FRAME_CLEAR = 299896067;
671     /**
672      * Headlights State
673      * Requires permission: {@link Car#PERMISSION_EXTERIOR_LIGHTS}.
674      */
675     public static final int HEADLIGHTS_STATE = 289410560;
676     /**
677      * High beam lights state
678      * Requires permission: {@link Car#PERMISSION_EXTERIOR_LIGHTS}.
679      */
680     public static final int HIGH_BEAM_LIGHTS_STATE = 289410561;
681     /**
682      * Fog light state
683      * Requires permission: {@link Car#PERMISSION_EXTERIOR_LIGHTS}.
684      */
685     public static final int FOG_LIGHTS_STATE = 289410562;
686     /**
687      * Hazard light status
688      * Requires permission: {@link Car#PERMISSION_EXTERIOR_LIGHTS}.
689      */
690     public static final int HAZARD_LIGHTS_STATE = 289410563;
691     /**
692      * Headlight switch
693      * Requires permission: {@link Car#PERMISSION_CONTROL_EXTERIOR_LIGHTS}.
694      */
695     public static final int HEADLIGHTS_SWITCH = 289410576;
696     /**
697      * High beam light switch
698      * Requires permission: {@link Car#PERMISSION_CONTROL_EXTERIOR_LIGHTS}.
699      */
700     public static final int HIGH_BEAM_LIGHTS_SWITCH = 289410577;
701     /**
702      * Fog light switch
703      * Requires permission: {@link Car#PERMISSION_CONTROL_EXTERIOR_LIGHTS}.
704      */
705     public static final int FOG_LIGHTS_SWITCH = 289410578;
706     /**
707      * Hazard light switch
708      * Requires permission: {@link Car#PERMISSION_CONTROL_EXTERIOR_LIGHTS}.
709      */
710     public static final int HAZARD_LIGHTS_SWITCH = 289410579;
711     /**
712      * Cabin lights
713      * Requires permission: {@link Car#PERMISSION_READ_INTERIOR_LIGHTS}.
714      */
715     public static final int CABIN_LIGHTS_STATE = 289410817;
716     /**
717      * Cabin lights switch
718      * Requires permission: {@link Car#PERMISSION_CONTROL_INTERIOR_LIGHTS}.
719      */
720     public static final int CABIN_LIGHTS_SWITCH = 289410818;
721     /**
722      * Reading lights
723      * Requires permission: {@link Car#PERMISSION_READ_INTERIOR_LIGHTS}.
724      */
725     public static final int READING_LIGHTS_STATE = 356519683;
726     /**
727      * Reading lights switch
728      * Requires permission: {@link Car#PERMISSION_CONTROL_INTERIOR_LIGHTS}.
729      */
730     public static final int READING_LIGHTS_SWITCH = 356519684;
731 
732     /**
733      * @param o Integer
734      * @return String
735      */
toString(int o)736     public static  String toString(int o) {
737         if (o == INVALID) {
738             return "INVALID";
739         }
740         if (o == INFO_VIN) {
741             return "INFO_VIN";
742         }
743         if (o == INFO_MAKE) {
744             return "INFO_MAKE";
745         }
746         if (o == INFO_MODEL) {
747             return "INFO_MODEL";
748         }
749         if (o == INFO_MODEL_YEAR) {
750             return "INFO_MODEL_YEAR";
751         }
752         if (o == INFO_FUEL_CAPACITY) {
753             return "INFO_FUEL_CAPACITY";
754         }
755         if (o == INFO_FUEL_TYPE) {
756             return "INFO_FUEL_TYPE";
757         }
758         if (o == INFO_EV_BATTERY_CAPACITY) {
759             return "INFO_EV_BATTERY_CAPACITY";
760         }
761         if (o == INFO_EV_CONNECTOR_TYPE) {
762             return "INFO_EV_CONNECTOR_TYPE";
763         }
764         if (o == INFO_FUEL_DOOR_LOCATION) {
765             return "INFO_FUEL_DOOR_LOCATION";
766         }
767         if (o == INFO_EV_PORT_LOCATION) {
768             return "INFO_EV_PORT_LOCATION";
769         }
770         if (o == INFO_DRIVER_SEAT) {
771             return "INFO_DRIVER_SEAT";
772         }
773         if (o == PERF_ODOMETER) {
774             return "PERF_ODOMETER";
775         }
776         if (o == PERF_VEHICLE_SPEED) {
777             return "PERF_VEHICLE_SPEED";
778         }
779         if (o == PERF_VEHICLE_SPEED_DISPLAY) {
780             return "PERF_VEHICLE_SPEED_DISPLAY";
781         }
782         if (o == PERF_STEERING_ANGLE) {
783             return "PERF__STEERING_ANGLE";
784         }
785         if (o == ENGINE_COOLANT_TEMP) {
786             return "ENGINE_COOLANT_TEMP";
787         }
788         if (o == ENGINE_OIL_LEVEL) {
789             return "ENGINE_OIL_LEVEL";
790         }
791         if (o == ENGINE_OIL_TEMP) {
792             return "ENGINE_OIL_TEMP";
793         }
794         if (o == ENGINE_RPM) {
795             return "ENGINE_RPM";
796         }
797         if (o == WHEEL_TICK) {
798             return "WHEEL_TICK";
799         }
800         if (o == FUEL_LEVEL) {
801             return "FUEL_LEVEL";
802         }
803         if (o == FUEL_DOOR_OPEN) {
804             return "FUEL_DOOR_OPEN";
805         }
806         if (o == EV_BATTERY_LEVEL) {
807             return "EV_BATTERY_LEVEL";
808         }
809         if (o == EV_CHARGE_PORT_OPEN) {
810             return "EV_CHARGE_PORT_OPEN";
811         }
812         if (o == EV_CHARGE_PORT_CONNECTED) {
813             return "EV_CHARGE_PORT_CONNECTED";
814         }
815         if (o == EV_BATTERY_INSTANTANEOUS_CHARGE_RATE) {
816             return "EV_BATTERY_INSTANTANEOUS_CHARGE_RATE";
817         }
818         if (o == RANGE_REMAINING) {
819             return "RANGE_REMAINING";
820         }
821         if (o == TIRE_PRESSURE) {
822             return "TIRE_PRESSURE";
823         }
824         if (o == GEAR_SELECTION) {
825             return "GEAR_SELECTION";
826         }
827         if (o == CURRENT_GEAR) {
828             return "CURRENT_GEAR";
829         }
830         if (o == PARKING_BRAKE_ON) {
831             return "PARKING_BRAKE_ON";
832         }
833         if (o == PARKING_BRAKE_AUTO_APPLY) {
834             return "PARKING_BRAKE_AUTO_APPLY";
835         }
836         if (o == FUEL_LEVEL_LOW) {
837             return "FUEL_LEVEL_LOW";
838         }
839         if (o == NIGHT_MODE) {
840             return "NIGHT_MODE";
841         }
842         if (o == TURN_SIGNAL_STATE) {
843             return "TURN_SIGNAL_STATE";
844         }
845         if (o == IGNITION_STATE) {
846             return "IGNITION_STATE";
847         }
848         if (o == ABS_ACTIVE) {
849             return "ABS_ACTIVE";
850         }
851         if (o == TRACTION_CONTROL_ACTIVE) {
852             return "TRACTION_CONTROL_ACTIVE";
853         }
854         if (o == HVAC_FAN_SPEED) {
855             return "HVAC_FAN_SPEED";
856         }
857         if (o == HVAC_FAN_DIRECTION) {
858             return "HVAC_FAN_DIRECTION";
859         }
860         if (o == HVAC_TEMPERATURE_CURRENT) {
861             return "HVAC_TEMPERATURE_CURRENT";
862         }
863         if (o == HVAC_TEMPERATURE_SET) {
864             return "HVAC_TEMPERATURE_SET";
865         }
866         if (o == HVAC_DEFROSTER) {
867             return "HVAC_DEFROSTER";
868         }
869         if (o == HVAC_AC_ON) {
870             return "HVAC_AC_ON";
871         }
872         if (o == HVAC_MAX_AC_ON) {
873             return "HVAC_MAX_AC_ON";
874         }
875         if (o == HVAC_MAX_DEFROST_ON) {
876             return "HVAC_MAX_DEFROST_ON";
877         }
878         if (o == HVAC_RECIRC_ON) {
879             return "HVAC_RECIRC_ON";
880         }
881         if (o == HVAC_DUAL_ON) {
882             return "HVAC_DUAL_ON";
883         }
884         if (o == HVAC_AUTO_ON) {
885             return "HVAC_AUTO_ON";
886         }
887         if (o == HVAC_SEAT_TEMPERATURE) {
888             return "HVAC_SEAT_TEMPERATURE";
889         }
890         if (o == HVAC_SIDE_MIRROR_HEAT) {
891             return "HVAC_SIDE_MIRROR_HEAT";
892         }
893         if (o == HVAC_STEERING_WHEEL_HEAT) {
894             return "HVAC_STEERING_WHEEL_HEAT";
895         }
896         if (o == HVAC_TEMPERATURE_DISPLAY_UNITS) {
897             return "HVAC_TEMPERATURE_DISPLAY_UNITS";
898         }
899         if (o == HVAC_ACTUAL_FAN_SPEED_RPM) {
900             return "HVAC_ACTUAL_FAN_SPEED_RPM";
901         }
902         if (o == HVAC_POWER_ON) {
903             return "HVAC_POWER_ON";
904         }
905         if (o == HVAC_FAN_DIRECTION_AVAILABLE) {
906             return "HVAC_FAN_DIRECTION_AVAILABLE";
907         }
908         if (o == HVAC_AUTO_RECIRC_ON) {
909             return "HVAC_AUTO_RECIRC_ON";
910         }
911         if (o == HVAC_SEAT_VENTILATION) {
912             return "HVAC_SEAT_VENTILATION";
913         }
914         if (o == DISTANCE_DISPLAY_UNITS) {
915             return "DISTANCE_DISPLAY_UNITS";
916         }
917         if (o == FUEL_VOLUME_DISPLAY_UNITS) {
918             return "FUEL_VOLUME_DISPLAY_UNITS";
919         }
920         if (o == TIRE_PRESSURE_DISPLAY_UNITS) {
921             return "TIRE_PRESSURE_DISPLAY_UNITS";
922         }
923         if (o == EV_BATTERY_DISPLAY_UNITS) {
924             return "EV_BATTERY_DISPLAY_UNITS";
925         }
926         if (o == FUEL_CONSUMPTION_UNITS_DISTANCE_OVER_VOLUME) {
927             return "FUEL_CONSUMPTION_UNITS_DISTANCE_OVER_VOLUME";
928         }
929         if (o == ENV_OUTSIDE_TEMPERATURE) {
930             return "ENV_OUTSIDE_TEMPERATURE";
931         }
932         if (o == AP_POWER_STATE_REQ) {
933             return "AP_POWER_STATE_REQ";
934         }
935         if (o == AP_POWER_STATE_REPORT) {
936             return "AP_POWER_STATE_REPORT";
937         }
938         if (o == AP_POWER_BOOTUP_REASON) {
939             return "AP_POWER_BOOTUP_REASON";
940         }
941         if (o == DISPLAY_BRIGHTNESS) {
942             return "DISPLAY_BRIGHTNESS";
943         }
944         if (o == HW_KEY_INPUT) {
945             return "HW_KEY_INPUT";
946         }
947         if (o == DOOR_POS) {
948             return "DOOR_POS";
949         }
950         if (o == DOOR_MOVE) {
951             return "DOOR_MOVE";
952         }
953         if (o == DOOR_LOCK) {
954             return "DOOR_LOCK";
955         }
956         if (o == MIRROR_Z_POS) {
957             return "MIRROR_Z_POS";
958         }
959         if (o == MIRROR_Z_MOVE) {
960             return "MIRROR_Z_MOVE";
961         }
962         if (o == MIRROR_Y_POS) {
963             return "MIRROR_Y_POS";
964         }
965         if (o == MIRROR_Y_MOVE) {
966             return "MIRROR_Y_MOVE";
967         }
968         if (o == MIRROR_LOCK) {
969             return "MIRROR_LOCK";
970         }
971         if (o == MIRROR_FOLD) {
972             return "MIRROR_FOLD";
973         }
974         if (o == SEAT_MEMORY_SELECT) {
975             return "SEAT_MEMORY_SELECT";
976         }
977         if (o == SEAT_MEMORY_SET) {
978             return "SEAT_MEMORY_SET";
979         }
980         if (o == SEAT_BELT_BUCKLED) {
981             return "SEAT_BELT_BUCKLED";
982         }
983         if (o == SEAT_BELT_HEIGHT_POS) {
984             return "SEAT_BELT_HEIGHT_POS";
985         }
986         if (o == SEAT_BELT_HEIGHT_MOVE) {
987             return "SEAT_BELT_HEIGHT_MOVE";
988         }
989         if (o == SEAT_FORE_AFT_POS) {
990             return "SEAT_FORE_AFT_POS";
991         }
992         if (o == SEAT_FORE_AFT_MOVE) {
993             return "SEAT_FORE_AFT_MOVE";
994         }
995         if (o == SEAT_BACKREST_ANGLE_1_POS) {
996             return "SEAT_BACKREST_ANGLE_1_POS";
997         }
998         if (o == SEAT_BACKREST_ANGLE_1_MOVE) {
999             return "SEAT_BACKREST_ANGLE_1_MOVE";
1000         }
1001         if (o == SEAT_BACKREST_ANGLE_2_POS) {
1002             return "SEAT_BACKREST_ANGLE_2_POS";
1003         }
1004         if (o == SEAT_BACKREST_ANGLE_2_MOVE) {
1005             return "SEAT_BACKREST_ANGLE_2_MOVE";
1006         }
1007         if (o == SEAT_HEIGHT_POS) {
1008             return "SEAT_HEIGHT_POS";
1009         }
1010         if (o == SEAT_HEIGHT_MOVE) {
1011             return "SEAT_HEIGHT_MOVE";
1012         }
1013         if (o == SEAT_DEPTH_POS) {
1014             return "SEAT_DEPTH_POS";
1015         }
1016         if (o == SEAT_DEPTH_MOVE) {
1017             return "SEAT_DEPTH_MOVE";
1018         }
1019         if (o == SEAT_TILT_POS) {
1020             return "SEAT_TILT_POS";
1021         }
1022         if (o == SEAT_TILT_MOVE) {
1023             return "SEAT_TILT_MOVE";
1024         }
1025         if (o == SEAT_LUMBAR_FORE_AFT_POS) {
1026             return "SEAT_LUMBAR_FORE_AFT_POS";
1027         }
1028         if (o == SEAT_LUMBAR_FORE_AFT_MOVE) {
1029             return "SEAT_LUMBAR_FORE_AFT_MOVE";
1030         }
1031         if (o == SEAT_LUMBAR_SIDE_SUPPORT_POS) {
1032             return "SEAT_LUMBAR_SIDE_SUPPORT_POS";
1033         }
1034         if (o == SEAT_LUMBAR_SIDE_SUPPORT_MOVE) {
1035             return "SEAT_LUMBAR_SIDE_SUPPORT_MOVE";
1036         }
1037         if (o == SEAT_HEADREST_HEIGHT_POS) {
1038             return "SEAT_HEADREST_HEIGHT_POS";
1039         }
1040         if (o == SEAT_HEADREST_HEIGHT_MOVE) {
1041             return "SEAT_HEADREST_HEIGHT_MOVE";
1042         }
1043         if (o == SEAT_HEADREST_ANGLE_POS) {
1044             return "SEAT_HEADREST_ANGLE_POS";
1045         }
1046         if (o == SEAT_HEADREST_ANGLE_MOVE) {
1047             return "SEAT_HEADREST_ANGLE_MOVE";
1048         }
1049         if (o == SEAT_HEADREST_FORE_AFT_POS) {
1050             return "SEAT_HEADREST_FORE_AFT_POS";
1051         }
1052         if (o == SEAT_HEADREST_FORE_AFT_MOVE) {
1053             return "SEAT_HEADREST_FORE_AFT_MOVE";
1054         }
1055         if (o == SEAT_OCCUPANCY) {
1056             return "SEAT_OCCUPANCY";
1057         }
1058         if (o == WINDOW_POS) {
1059             return "WINDOW_POS";
1060         }
1061         if (o == WINDOW_MOVE) {
1062             return "WINDOW_MOVE";
1063         }
1064         if (o == WINDOW_LOCK) {
1065             return "WINDOW_LOCK";
1066         }
1067         if (o == VEHICLE_MAP_SERVICE) {
1068             return "VEHICLE_MAP_SERVICE";
1069         }
1070         if (o == OBD2_LIVE_FRAME) {
1071             return "OBD2_LIVE_FRAME";
1072         }
1073         if (o == OBD2_FREEZE_FRAME) {
1074             return "OBD2_FREEZE_FRAME";
1075         }
1076         if (o == OBD2_FREEZE_FRAME_INFO) {
1077             return "OBD2_FREEZE_FRAME_INFO";
1078         }
1079         if (o == OBD2_FREEZE_FRAME_CLEAR) {
1080             return "OBD2_FREEZE_FRAME_CLEAR";
1081         }
1082         if (o == HEADLIGHTS_STATE) {
1083             return "HEADLIGHTS_STATE";
1084         }
1085         if (o == HIGH_BEAM_LIGHTS_STATE) {
1086             return "HIGH_BEAM_LIGHTS_STATE";
1087         }
1088         if (o == FOG_LIGHTS_STATE) {
1089             return "FOG_LIGHTS_STATE";
1090         }
1091         if (o == HAZARD_LIGHTS_STATE) {
1092             return "HAZARD_LIGHTS_STATE";
1093         }
1094         if (o == HEADLIGHTS_SWITCH) {
1095             return "HEADLIGHTS_SWITCH";
1096         }
1097         if (o == HIGH_BEAM_LIGHTS_SWITCH) {
1098             return "HIGH_BEAM_LIGHTS_SWITCH";
1099         }
1100         if (o == FOG_LIGHTS_SWITCH) {
1101             return "FOG_LIGHTS_SWITCH";
1102         }
1103         if (o == HAZARD_LIGHTS_SWITCH) {
1104             return "HAZARD_LIGHTS_SWITCH";
1105         }
1106         if (o == CABIN_LIGHTS_STATE) {
1107             return "CABIN_LIGHTS_STATE";
1108         }
1109         if (o == CABIN_LIGHTS_SWITCH) {
1110             return "CABIN_LIGHTS_SWITCH";
1111         }
1112         if (o == READING_LIGHTS_STATE) {
1113             return "READING_LIGHTS_STATE";
1114         }
1115         if (o == READING_LIGHTS_SWITCH) {
1116             return "READING_LIGHTS_SWITCH";
1117         }
1118         if (o == VEHICLE_SPEED_DISPLAY_UNITS) {
1119             return "VEHICLE_SPEED_DISPLAY_UNITS";
1120         }
1121         return "0x" + Integer.toHexString(o);
1122     }
1123 }
1124