• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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} to write the property.
342      */
343     public static final int DISTANCE_DISPLAY_UNITS = 289408512;
344     /**
345      * Fuel volume units for display
346      * Requires permission {@link Car#PERMISSION_READ_DISPLAY_UNITS} to read the property.
347      * Requires permission {@link Car#PERMISSION_CONTROL_DISPLAY_UNITS} to write the property.
348      */
349     public static final int FUEL_VOLUME_DISPLAY_UNITS = 289408513;
350     /**
351      * Tire pressure units for display
352      * Requires permission {@link Car#PERMISSION_READ_DISPLAY_UNITS} to read the property.
353      * Requires permission {@link Car#PERMISSION_CONTROL_DISPLAY_UNITS} to write the property.
354      */
355     public static final int TIRE_PRESSURE_DISPLAY_UNITS = 289408514;
356     /**
357      * EV battery units for display
358      * Requires permission {@link Car#PERMISSION_READ_DISPLAY_UNITS} to read the property.
359      * Requires permission {@link Car#PERMISSION_CONTROL_DISPLAY_UNITS} to write the property.
360      */
361     public static final int EV_BATTERY_DISPLAY_UNITS = 289408515;
362     /**
363      * Speed Units for display
364      * Requires permission {@link Car#PERMISSION_READ_DISPLAY_UNITS} to read the property.
365      * Requires permission {@link Car#PERMISSION_CONTROL_DISPLAY_UNITS} to write the property.
366      * @hide
367      */
368     public static final int VEHICLE_SPEED_DISPLAY_UNITS = 289408516;
369     /**
370      * Fuel consumption units for display
371      * Requires permission {@link Car#PERMISSION_READ_DISPLAY_UNITS} to read the property.
372      * Requires permission {@link Car#PERMISSION_CONTROL_DISPLAY_UNITS} to write the property.
373      */
374     public static final int FUEL_CONSUMPTION_UNITS_DISTANCE_OVER_VOLUME = 287311364;
375     /**
376      * Outside temperature
377      * Requires permission: {@link Car#PERMISSION_EXTERIOR_ENVIRONMENT}.
378      */
379     public static final int ENV_OUTSIDE_TEMPERATURE = 291505923;
380     /**
381      * Property to control power state of application processor
382      *
383      * It is assumed that AP's power state is controller by separate power
384      * controller.
385      * Requires permission: {@link Car#PERMISSION_CAR_POWER}.
386      */
387     public static final int AP_POWER_STATE_REQ = 289475072;
388     /**
389      * Property to report power state of application processor
390      *
391      * It is assumed that AP's power state is controller by separate power
392      * controller.
393      * Requires permission: {@link Car#PERMISSION_CAR_POWER}.
394      */
395     public static final int AP_POWER_STATE_REPORT = 289475073;
396     /**
397      * Property to report bootup reason for the current power on. This is a
398      * static property that will not change for the whole duration until power
399      * off. For example, even if user presses power on button after automatic
400      * power on with door unlock, bootup reason must stay with
401      * VehicleApPowerBootupReason#USER_UNLOCK.
402      * Requires permission: {@link Car#PERMISSION_CAR_POWER}.
403      */
404     public static final int AP_POWER_BOOTUP_REASON = 289409538;
405     /**
406      * Property to represent brightness of the display. Some cars have single
407      * control for the brightness of all displays and this property is to share
408      * change in that control.
409      * Requires permission: {@link Car#PERMISSION_CAR_POWER}.
410      */
411     public static final int DISPLAY_BRIGHTNESS = 289409539;
412     /**
413      * Property to feed H/W input events to android
414      */
415     public static final int HW_KEY_INPUT = 289475088;
416     /**
417      * Door position
418      *
419      * This is an integer in case a door may be set to a particular position.
420      * Max value indicates fully open, min value (0) indicates fully closed.
421      * Requires permission: {@link Car#PERMISSION_CONTROL_CAR_DOORS}.
422      */
423     public static final int DOOR_POS = 373295872;
424     /**
425      * Door move
426      * Requires permission: {@link Car#PERMISSION_CONTROL_CAR_DOORS}.
427      */
428     public static final int DOOR_MOVE = 373295873;
429     /**
430      * Door lock
431      * Requires permission: {@link Car#PERMISSION_CONTROL_CAR_DOORS}.
432      */
433     public static final int DOOR_LOCK = 371198722;
434     /**
435      * Mirror Z Position
436      * Requires permission: {@link Car#PERMISSION_CONTROL_CAR_MIRRORS}.
437      */
438     public static final int MIRROR_Z_POS = 339741504;
439     /**
440      * Mirror Z Move
441      * Requires permission: {@link Car#PERMISSION_CONTROL_CAR_MIRRORS}.
442      */
443     public static final int MIRROR_Z_MOVE = 339741505;
444     /**
445      * Mirror Y Position
446      * Requires permission: {@link Car#PERMISSION_CONTROL_CAR_MIRRORS}.
447      */
448     public static final int MIRROR_Y_POS = 339741506;
449     /**
450      * Mirror Y Move
451      * Requires permission: {@link Car#PERMISSION_CONTROL_CAR_MIRRORS}.
452      */
453     public static final int MIRROR_Y_MOVE = 339741507;
454     /**
455      * Mirror Lock
456      * Requires permission: {@link Car#PERMISSION_CONTROL_CAR_MIRRORS}.
457      */
458     public static final int MIRROR_LOCK = 287312708;
459     /**
460      * Mirror Fold
461      * Requires permission: {@link Car#PERMISSION_CONTROL_CAR_MIRRORS}.
462      */
463     public static final int MIRROR_FOLD = 287312709;
464     /**
465      * Seat memory select
466      *
467      * This parameter selects the memory preset to use to select the seat
468      * position. The minValue is always 0, and the maxValue determines the
469      * number of seat positions available.
470      * Requires permission: {@link Car#PERMISSION_CONTROL_CAR_SEATS}.
471      */
472     public static final int SEAT_MEMORY_SELECT = 356518784;
473     /**
474      * Seat memory set
475      *
476      * This setting allows the user to save the current seat position settings
477      * into the selected preset slot.  The maxValue for each seat position
478      * must match the maxValue for SEAT_MEMORY_SELECT.
479      * Requires permission: {@link Car#PERMISSION_CONTROL_CAR_SEATS}.
480      */
481     public static final int SEAT_MEMORY_SET = 356518785;
482     /**
483      * Seatbelt buckled
484      *
485      * True indicates belt is buckled.
486      * Requires permission: {@link Car#PERMISSION_CONTROL_CAR_SEATS}.
487      */
488     public static final int SEAT_BELT_BUCKLED = 354421634;
489     /**
490      * Seatbelt height position
491      * Requires permission: {@link Car#PERMISSION_CONTROL_CAR_SEATS}.
492      */
493     public static final int SEAT_BELT_HEIGHT_POS = 356518787;
494     /**
495      * Seatbelt height move
496      * Requires permission: {@link Car#PERMISSION_CONTROL_CAR_SEATS}.
497      */
498     public static final int SEAT_BELT_HEIGHT_MOVE = 356518788;
499     /**
500      * Seat fore/aft position
501      * Requires permission: {@link Car#PERMISSION_CONTROL_CAR_SEATS}.
502      */
503     public static final int SEAT_FORE_AFT_POS = 356518789;
504     /**
505      * Seat fore/aft move
506      * Requires permission: {@link Car#PERMISSION_CONTROL_CAR_SEATS}.
507      */
508     public static final int SEAT_FORE_AFT_MOVE = 356518790;
509     /**
510      * Seat backrest angle 1 position
511      * Requires permission: {@link Car#PERMISSION_CONTROL_CAR_SEATS}.
512      */
513     public static final int SEAT_BACKREST_ANGLE_1_POS = 356518791;
514     /**
515      * Seat backrest angle 1 move
516      *
517      * Moves the backrest forward or recline.
518      * Requires permission: {@link Car#PERMISSION_CONTROL_CAR_SEATS}.
519      */
520     public static final int SEAT_BACKREST_ANGLE_1_MOVE = 356518792;
521     /**
522      * Seat backrest angle 2 position
523      * Requires permission: {@link Car#PERMISSION_CONTROL_CAR_SEATS}.
524      */
525     public static final int SEAT_BACKREST_ANGLE_2_POS = 356518793;
526     /**
527      * Seat backrest angle 2 move
528      * Requires permission: {@link Car#PERMISSION_CONTROL_CAR_SEATS}.
529      */
530     public static final int SEAT_BACKREST_ANGLE_2_MOVE = 356518794;
531     /**
532      * Seat height position
533      * Requires permission: {@link Car#PERMISSION_CONTROL_CAR_SEATS}.
534      */
535     public static final int SEAT_HEIGHT_POS = 356518795;
536     /**
537      * Seat height move
538      * Requires permission: {@link Car#PERMISSION_CONTROL_CAR_SEATS}.
539      */
540     public static final int SEAT_HEIGHT_MOVE = 356518796;
541     /**
542      * Seat depth position
543      * Requires permission: {@link Car#PERMISSION_CONTROL_CAR_SEATS}.
544      */
545     public static final int SEAT_DEPTH_POS = 356518797;
546     /**
547      * Seat depth move
548      * Requires permission: {@link Car#PERMISSION_CONTROL_CAR_SEATS}.
549      */
550     public static final int SEAT_DEPTH_MOVE = 356518798;
551     /**
552      * Seat tilt position
553      * Requires permission: {@link Car#PERMISSION_CONTROL_CAR_SEATS}.
554      */
555     public static final int SEAT_TILT_POS = 356518799;
556     /**
557      * Seat tilt move
558      * Requires permission: {@link Car#PERMISSION_CONTROL_CAR_SEATS}.
559      */
560     public static final int SEAT_TILT_MOVE = 356518800;
561     /**
562      * Lumber fore/aft position
563      * Requires permission: {@link Car#PERMISSION_CONTROL_CAR_SEATS}.
564      */
565     public static final int SEAT_LUMBAR_FORE_AFT_POS = 356518801;
566     /**
567      * Lumbar fore/aft move
568      * Requires permission: {@link Car#PERMISSION_CONTROL_CAR_SEATS}.
569      */
570     public static final int SEAT_LUMBAR_FORE_AFT_MOVE = 356518802;
571     /**
572      * Lumbar side support position
573      * Requires permission: {@link Car#PERMISSION_CONTROL_CAR_SEATS}.
574      */
575     public static final int SEAT_LUMBAR_SIDE_SUPPORT_POS = 356518803;
576     /**
577      * Lumbar side support move
578      * Requires permission: {@link Car#PERMISSION_CONTROL_CAR_SEATS}.
579      */
580     public static final int SEAT_LUMBAR_SIDE_SUPPORT_MOVE = 356518804;
581     /**
582      * Headrest height position
583      * Requires permission: {@link Car#PERMISSION_CONTROL_CAR_SEATS}.
584      */
585     public static final int SEAT_HEADREST_HEIGHT_POS = 289409941;
586     /**
587      * Headrest height move
588      * Requires permission: {@link Car#PERMISSION_CONTROL_CAR_SEATS}.
589      */
590     public static final int SEAT_HEADREST_HEIGHT_MOVE = 356518806;
591     /**
592      * Headrest angle position
593      * Requires permission: {@link Car#PERMISSION_CONTROL_CAR_SEATS}.
594      */
595     public static final int SEAT_HEADREST_ANGLE_POS = 356518807;
596     /**
597      * Headrest angle move
598      * Requires permission: {@link Car#PERMISSION_CONTROL_CAR_SEATS}.
599      */
600     public static final int SEAT_HEADREST_ANGLE_MOVE = 356518808;
601     /**
602      * Headrest fore/aft position
603      * Requires permission: {@link Car#PERMISSION_CONTROL_CAR_SEATS}.
604      */
605     public static final int SEAT_HEADREST_FORE_AFT_POS = 356518809;
606     /**
607      * Headrest fore/aft move
608      * Requires permission: {@link Car#PERMISSION_CONTROL_CAR_SEATS}.
609      */
610     public static final int SEAT_HEADREST_FORE_AFT_MOVE = 356518810;
611     /**
612      * Seat Occupancy
613      * Requires permission: {@link Car#PERMISSION_CONTROL_CAR_SEATS}.
614      */
615     public static final int SEAT_OCCUPANCY = 356518832;
616     /**
617      * Window Position
618      * Requires permission: {@link Car#PERMISSION_CONTROL_CAR_WINDOWS}.
619      */
620     public static final int WINDOW_POS = 322964416;
621     /**
622      * Window Move
623      * Requires permission: {@link Car#PERMISSION_CONTROL_CAR_WINDOWS}.
624      */
625     public static final int WINDOW_MOVE = 322964417;
626     /**
627      * Window Lock
628      * Requires permission: {@link Car#PERMISSION_CONTROL_CAR_WINDOWS}.
629      */
630     public static final int WINDOW_LOCK = 320867268;
631     /**
632      * Vehicle Maps Service (VMS) message
633      * Requires one of permissions in {@link Car#PERMISSION_VMS_PUBLISHER},
634      * {@link Car#PERMISSION_VMS_SUBSCRIBER}.
635      */
636     public static final int VEHICLE_MAP_SERVICE = 299895808;
637     /**
638      * OBD2 Live Sensor Data
639      *
640      * Reports a snapshot of the current (live) values of the OBD2 sensors available.
641      * Requires permission: {@link Car#PERMISSION_CAR_DIAGNOSTIC_READ_ALL}.
642      */
643     public static final int OBD2_LIVE_FRAME = 299896064;
644     /**
645      * OBD2 Freeze Frame Sensor Data
646      *
647      * Reports a snapshot of the value of the OBD2 sensors available at the time that a fault
648      * occurred and was detected.
649      * Requires permission: {@link Car#PERMISSION_CAR_DIAGNOSTIC_READ_ALL}.
650      */
651     public static final int OBD2_FREEZE_FRAME = 299896065;
652     /**
653      * OBD2 Freeze Frame Information
654      * Requires permission: {@link Car#PERMISSION_CAR_DIAGNOSTIC_READ_ALL}.
655      */
656     public static final int OBD2_FREEZE_FRAME_INFO = 299896066;
657     /**
658      * OBD2 Freeze Frame Clear
659      *
660      * This property allows deletion of any of the freeze frames stored in
661      * vehicle memory, as described by OBD2_FREEZE_FRAME_INFO.
662      * Requires permission: {@link Car#PERMISSION_CAR_DIAGNOSTIC_CLEAR}.
663      */
664     public static final int OBD2_FREEZE_FRAME_CLEAR = 299896067;
665     /**
666      * Headlights State
667      * Requires permission: {@link Car#PERMISSION_EXTERIOR_LIGHTS}.
668      */
669     public static final int HEADLIGHTS_STATE = 289410560;
670     /**
671      * High beam lights state
672      * Requires permission: {@link Car#PERMISSION_EXTERIOR_LIGHTS}.
673      */
674     public static final int HIGH_BEAM_LIGHTS_STATE = 289410561;
675     /**
676      * Fog light state
677      * Requires permission: {@link Car#PERMISSION_EXTERIOR_LIGHTS}.
678      */
679     public static final int FOG_LIGHTS_STATE = 289410562;
680     /**
681      * Hazard light status
682      * Requires permission: {@link Car#PERMISSION_EXTERIOR_LIGHTS}.
683      */
684     public static final int HAZARD_LIGHTS_STATE = 289410563;
685     /**
686      * Headlight switch
687      * Requires permission: {@link Car#PERMISSION_CONTROL_EXTERIOR_LIGHTS}.
688      */
689     public static final int HEADLIGHTS_SWITCH = 289410576;
690     /**
691      * High beam light switch
692      * Requires permission: {@link Car#PERMISSION_CONTROL_EXTERIOR_LIGHTS}.
693      */
694     public static final int HIGH_BEAM_LIGHTS_SWITCH = 289410577;
695     /**
696      * Fog light switch
697      * Requires permission: {@link Car#PERMISSION_CONTROL_EXTERIOR_LIGHTS}.
698      */
699     public static final int FOG_LIGHTS_SWITCH = 289410578;
700     /**
701      * Hazard light switch
702      * Requires permission: {@link Car#PERMISSION_CONTROL_EXTERIOR_LIGHTS}.
703      */
704     public static final int HAZARD_LIGHTS_SWITCH = 289410579;
705     /**
706      * Cabin lights
707      * Requires permission: {@link Car#PERMISSION_READ_INTERIOR_LIGHTS}.
708      */
709     public static final int CABIN_LIGHTS_STATE = 289410817;
710     /**
711      * Cabin lights switch
712      * Requires permission: {@link Car#PERMISSION_CONTROL_INTERIOR_LIGHTS}.
713      */
714     public static final int CABIN_LIGHTS_SWITCH = 289410818;
715     /**
716      * Reading lights
717      * Requires permission: {@link Car#PERMISSION_READ_INTERIOR_LIGHTS}.
718      */
719     public static final int READING_LIGHTS_STATE = 356519683;
720     /**
721      * Reading lights switch
722      * Requires permission: {@link Car#PERMISSION_CONTROL_INTERIOR_LIGHTS}.
723      */
724     public static final int READING_LIGHTS_SWITCH = 356519684;
725 
726     /**
727      * @param o Integer
728      * @return String
729      */
toString(int o)730     public static  String toString(int o) {
731         if (o == INVALID) {
732             return "INVALID";
733         }
734         if (o == INFO_VIN) {
735             return "INFO_VIN";
736         }
737         if (o == INFO_MAKE) {
738             return "INFO_MAKE";
739         }
740         if (o == INFO_MODEL) {
741             return "INFO_MODEL";
742         }
743         if (o == INFO_MODEL_YEAR) {
744             return "INFO_MODEL_YEAR";
745         }
746         if (o == INFO_FUEL_CAPACITY) {
747             return "INFO_FUEL_CAPACITY";
748         }
749         if (o == INFO_FUEL_TYPE) {
750             return "INFO_FUEL_TYPE";
751         }
752         if (o == INFO_EV_BATTERY_CAPACITY) {
753             return "INFO_EV_BATTERY_CAPACITY";
754         }
755         if (o == INFO_EV_CONNECTOR_TYPE) {
756             return "INFO_EV_CONNECTOR_TYPE";
757         }
758         if (o == INFO_FUEL_DOOR_LOCATION) {
759             return "INFO_FUEL_DOOR_LOCATION";
760         }
761         if (o == INFO_EV_PORT_LOCATION) {
762             return "INFO_EV_PORT_LOCATION";
763         }
764         if (o == INFO_DRIVER_SEAT) {
765             return "INFO_DRIVER_SEAT";
766         }
767         if (o == PERF_ODOMETER) {
768             return "PERF_ODOMETER";
769         }
770         if (o == PERF_VEHICLE_SPEED) {
771             return "PERF_VEHICLE_SPEED";
772         }
773         if (o == PERF_VEHICLE_SPEED_DISPLAY) {
774             return "PERF_VEHICLE_SPEED_DISPLAY";
775         }
776         if (o == PERF_STEERING_ANGLE) {
777             return "PERF__STEERING_ANGLE";
778         }
779         if (o == ENGINE_COOLANT_TEMP) {
780             return "ENGINE_COOLANT_TEMP";
781         }
782         if (o == ENGINE_OIL_LEVEL) {
783             return "ENGINE_OIL_LEVEL";
784         }
785         if (o == ENGINE_OIL_TEMP) {
786             return "ENGINE_OIL_TEMP";
787         }
788         if (o == ENGINE_RPM) {
789             return "ENGINE_RPM";
790         }
791         if (o == WHEEL_TICK) {
792             return "WHEEL_TICK";
793         }
794         if (o == FUEL_LEVEL) {
795             return "FUEL_LEVEL";
796         }
797         if (o == FUEL_DOOR_OPEN) {
798             return "FUEL_DOOR_OPEN";
799         }
800         if (o == EV_BATTERY_LEVEL) {
801             return "EV_BATTERY_LEVEL";
802         }
803         if (o == EV_CHARGE_PORT_OPEN) {
804             return "EV_CHARGE_PORT_OPEN";
805         }
806         if (o == EV_CHARGE_PORT_CONNECTED) {
807             return "EV_CHARGE_PORT_CONNECTED";
808         }
809         if (o == EV_BATTERY_INSTANTANEOUS_CHARGE_RATE) {
810             return "EV_BATTERY_INSTANTANEOUS_CHARGE_RATE";
811         }
812         if (o == RANGE_REMAINING) {
813             return "RANGE_REMAINING";
814         }
815         if (o == TIRE_PRESSURE) {
816             return "TIRE_PRESSURE";
817         }
818         if (o == GEAR_SELECTION) {
819             return "GEAR_SELECTION";
820         }
821         if (o == CURRENT_GEAR) {
822             return "CURRENT_GEAR";
823         }
824         if (o == PARKING_BRAKE_ON) {
825             return "PARKING_BRAKE_ON";
826         }
827         if (o == PARKING_BRAKE_AUTO_APPLY) {
828             return "PARKING_BRAKE_AUTO_APPLY";
829         }
830         if (o == FUEL_LEVEL_LOW) {
831             return "FUEL_LEVEL_LOW";
832         }
833         if (o == NIGHT_MODE) {
834             return "NIGHT_MODE";
835         }
836         if (o == TURN_SIGNAL_STATE) {
837             return "TURN_SIGNAL_STATE";
838         }
839         if (o == IGNITION_STATE) {
840             return "IGNITION_STATE";
841         }
842         if (o == ABS_ACTIVE) {
843             return "ABS_ACTIVE";
844         }
845         if (o == TRACTION_CONTROL_ACTIVE) {
846             return "TRACTION_CONTROL_ACTIVE";
847         }
848         if (o == HVAC_FAN_SPEED) {
849             return "HVAC_FAN_SPEED";
850         }
851         if (o == HVAC_FAN_DIRECTION) {
852             return "HVAC_FAN_DIRECTION";
853         }
854         if (o == HVAC_TEMPERATURE_CURRENT) {
855             return "HVAC_TEMPERATURE_CURRENT";
856         }
857         if (o == HVAC_TEMPERATURE_SET) {
858             return "HVAC_TEMPERATURE_SET";
859         }
860         if (o == HVAC_DEFROSTER) {
861             return "HVAC_DEFROSTER";
862         }
863         if (o == HVAC_AC_ON) {
864             return "HVAC_AC_ON";
865         }
866         if (o == HVAC_MAX_AC_ON) {
867             return "HVAC_MAX_AC_ON";
868         }
869         if (o == HVAC_MAX_DEFROST_ON) {
870             return "HVAC_MAX_DEFROST_ON";
871         }
872         if (o == HVAC_RECIRC_ON) {
873             return "HVAC_RECIRC_ON";
874         }
875         if (o == HVAC_DUAL_ON) {
876             return "HVAC_DUAL_ON";
877         }
878         if (o == HVAC_AUTO_ON) {
879             return "HVAC_AUTO_ON";
880         }
881         if (o == HVAC_SEAT_TEMPERATURE) {
882             return "HVAC_SEAT_TEMPERATURE";
883         }
884         if (o == HVAC_SIDE_MIRROR_HEAT) {
885             return "HVAC_SIDE_MIRROR_HEAT";
886         }
887         if (o == HVAC_STEERING_WHEEL_HEAT) {
888             return "HVAC_STEERING_WHEEL_HEAT";
889         }
890         if (o == HVAC_TEMPERATURE_DISPLAY_UNITS) {
891             return "HVAC_TEMPERATURE_DISPLAY_UNITS";
892         }
893         if (o == HVAC_ACTUAL_FAN_SPEED_RPM) {
894             return "HVAC_ACTUAL_FAN_SPEED_RPM";
895         }
896         if (o == HVAC_POWER_ON) {
897             return "HVAC_POWER_ON";
898         }
899         if (o == HVAC_FAN_DIRECTION_AVAILABLE) {
900             return "HVAC_FAN_DIRECTION_AVAILABLE";
901         }
902         if (o == HVAC_AUTO_RECIRC_ON) {
903             return "HVAC_AUTO_RECIRC_ON";
904         }
905         if (o == HVAC_SEAT_VENTILATION) {
906             return "HVAC_SEAT_VENTILATION";
907         }
908         if (o == DISTANCE_DISPLAY_UNITS) {
909             return "DISTANCE_DISPLAY_UNITS";
910         }
911         if (o == FUEL_VOLUME_DISPLAY_UNITS) {
912             return "FUEL_VOLUME_DISPLAY_UNITS";
913         }
914         if (o == TIRE_PRESSURE_DISPLAY_UNITS) {
915             return "TIRE_PRESSURE_DISPLAY_UNITS";
916         }
917         if (o == EV_BATTERY_DISPLAY_UNITS) {
918             return "EV_BATTERY_DISPLAY_UNITS";
919         }
920         if (o == FUEL_CONSUMPTION_UNITS_DISTANCE_OVER_VOLUME) {
921             return "FUEL_CONSUMPTION_UNITS_DISTANCE_OVER_VOLUME";
922         }
923         if (o == ENV_OUTSIDE_TEMPERATURE) {
924             return "ENV_OUTSIDE_TEMPERATURE";
925         }
926         if (o == AP_POWER_STATE_REQ) {
927             return "AP_POWER_STATE_REQ";
928         }
929         if (o == AP_POWER_STATE_REPORT) {
930             return "AP_POWER_STATE_REPORT";
931         }
932         if (o == AP_POWER_BOOTUP_REASON) {
933             return "AP_POWER_BOOTUP_REASON";
934         }
935         if (o == DISPLAY_BRIGHTNESS) {
936             return "DISPLAY_BRIGHTNESS";
937         }
938         if (o == HW_KEY_INPUT) {
939             return "HW_KEY_INPUT";
940         }
941         if (o == DOOR_POS) {
942             return "DOOR_POS";
943         }
944         if (o == DOOR_MOVE) {
945             return "DOOR_MOVE";
946         }
947         if (o == DOOR_LOCK) {
948             return "DOOR_LOCK";
949         }
950         if (o == MIRROR_Z_POS) {
951             return "MIRROR_Z_POS";
952         }
953         if (o == MIRROR_Z_MOVE) {
954             return "MIRROR_Z_MOVE";
955         }
956         if (o == MIRROR_Y_POS) {
957             return "MIRROR_Y_POS";
958         }
959         if (o == MIRROR_Y_MOVE) {
960             return "MIRROR_Y_MOVE";
961         }
962         if (o == MIRROR_LOCK) {
963             return "MIRROR_LOCK";
964         }
965         if (o == MIRROR_FOLD) {
966             return "MIRROR_FOLD";
967         }
968         if (o == SEAT_MEMORY_SELECT) {
969             return "SEAT_MEMORY_SELECT";
970         }
971         if (o == SEAT_MEMORY_SET) {
972             return "SEAT_MEMORY_SET";
973         }
974         if (o == SEAT_BELT_BUCKLED) {
975             return "SEAT_BELT_BUCKLED";
976         }
977         if (o == SEAT_BELT_HEIGHT_POS) {
978             return "SEAT_BELT_HEIGHT_POS";
979         }
980         if (o == SEAT_BELT_HEIGHT_MOVE) {
981             return "SEAT_BELT_HEIGHT_MOVE";
982         }
983         if (o == SEAT_FORE_AFT_POS) {
984             return "SEAT_FORE_AFT_POS";
985         }
986         if (o == SEAT_FORE_AFT_MOVE) {
987             return "SEAT_FORE_AFT_MOVE";
988         }
989         if (o == SEAT_BACKREST_ANGLE_1_POS) {
990             return "SEAT_BACKREST_ANGLE_1_POS";
991         }
992         if (o == SEAT_BACKREST_ANGLE_1_MOVE) {
993             return "SEAT_BACKREST_ANGLE_1_MOVE";
994         }
995         if (o == SEAT_BACKREST_ANGLE_2_POS) {
996             return "SEAT_BACKREST_ANGLE_2_POS";
997         }
998         if (o == SEAT_BACKREST_ANGLE_2_MOVE) {
999             return "SEAT_BACKREST_ANGLE_2_MOVE";
1000         }
1001         if (o == SEAT_HEIGHT_POS) {
1002             return "SEAT_HEIGHT_POS";
1003         }
1004         if (o == SEAT_HEIGHT_MOVE) {
1005             return "SEAT_HEIGHT_MOVE";
1006         }
1007         if (o == SEAT_DEPTH_POS) {
1008             return "SEAT_DEPTH_POS";
1009         }
1010         if (o == SEAT_DEPTH_MOVE) {
1011             return "SEAT_DEPTH_MOVE";
1012         }
1013         if (o == SEAT_TILT_POS) {
1014             return "SEAT_TILT_POS";
1015         }
1016         if (o == SEAT_TILT_MOVE) {
1017             return "SEAT_TILT_MOVE";
1018         }
1019         if (o == SEAT_LUMBAR_FORE_AFT_POS) {
1020             return "SEAT_LUMBAR_FORE_AFT_POS";
1021         }
1022         if (o == SEAT_LUMBAR_FORE_AFT_MOVE) {
1023             return "SEAT_LUMBAR_FORE_AFT_MOVE";
1024         }
1025         if (o == SEAT_LUMBAR_SIDE_SUPPORT_POS) {
1026             return "SEAT_LUMBAR_SIDE_SUPPORT_POS";
1027         }
1028         if (o == SEAT_LUMBAR_SIDE_SUPPORT_MOVE) {
1029             return "SEAT_LUMBAR_SIDE_SUPPORT_MOVE";
1030         }
1031         if (o == SEAT_HEADREST_HEIGHT_POS) {
1032             return "SEAT_HEADREST_HEIGHT_POS";
1033         }
1034         if (o == SEAT_HEADREST_HEIGHT_MOVE) {
1035             return "SEAT_HEADREST_HEIGHT_MOVE";
1036         }
1037         if (o == SEAT_HEADREST_ANGLE_POS) {
1038             return "SEAT_HEADREST_ANGLE_POS";
1039         }
1040         if (o == SEAT_HEADREST_ANGLE_MOVE) {
1041             return "SEAT_HEADREST_ANGLE_MOVE";
1042         }
1043         if (o == SEAT_HEADREST_FORE_AFT_POS) {
1044             return "SEAT_HEADREST_FORE_AFT_POS";
1045         }
1046         if (o == SEAT_HEADREST_FORE_AFT_MOVE) {
1047             return "SEAT_HEADREST_FORE_AFT_MOVE";
1048         }
1049         if (o == SEAT_OCCUPANCY) {
1050             return "SEAT_OCCUPANCY";
1051         }
1052         if (o == WINDOW_POS) {
1053             return "WINDOW_POS";
1054         }
1055         if (o == WINDOW_MOVE) {
1056             return "WINDOW_MOVE";
1057         }
1058         if (o == WINDOW_LOCK) {
1059             return "WINDOW_LOCK";
1060         }
1061         if (o == VEHICLE_MAP_SERVICE) {
1062             return "VEHICLE_MAP_SERVICE";
1063         }
1064         if (o == OBD2_LIVE_FRAME) {
1065             return "OBD2_LIVE_FRAME";
1066         }
1067         if (o == OBD2_FREEZE_FRAME) {
1068             return "OBD2_FREEZE_FRAME";
1069         }
1070         if (o == OBD2_FREEZE_FRAME_INFO) {
1071             return "OBD2_FREEZE_FRAME_INFO";
1072         }
1073         if (o == OBD2_FREEZE_FRAME_CLEAR) {
1074             return "OBD2_FREEZE_FRAME_CLEAR";
1075         }
1076         if (o == HEADLIGHTS_STATE) {
1077             return "HEADLIGHTS_STATE";
1078         }
1079         if (o == HIGH_BEAM_LIGHTS_STATE) {
1080             return "HIGH_BEAM_LIGHTS_STATE";
1081         }
1082         if (o == FOG_LIGHTS_STATE) {
1083             return "FOG_LIGHTS_STATE";
1084         }
1085         if (o == HAZARD_LIGHTS_STATE) {
1086             return "HAZARD_LIGHTS_STATE";
1087         }
1088         if (o == HEADLIGHTS_SWITCH) {
1089             return "HEADLIGHTS_SWITCH";
1090         }
1091         if (o == HIGH_BEAM_LIGHTS_SWITCH) {
1092             return "HIGH_BEAM_LIGHTS_SWITCH";
1093         }
1094         if (o == FOG_LIGHTS_SWITCH) {
1095             return "FOG_LIGHTS_SWITCH";
1096         }
1097         if (o == HAZARD_LIGHTS_SWITCH) {
1098             return "HAZARD_LIGHTS_SWITCH";
1099         }
1100         if (o == CABIN_LIGHTS_STATE) {
1101             return "CABIN_LIGHTS_STATE";
1102         }
1103         if (o == CABIN_LIGHTS_SWITCH) {
1104             return "CABIN_LIGHTS_SWITCH";
1105         }
1106         if (o == READING_LIGHTS_STATE) {
1107             return "READING_LIGHTS_STATE";
1108         }
1109         if (o == READING_LIGHTS_SWITCH) {
1110             return "READING_LIGHTS_SWITCH";
1111         }
1112         if (o == VEHICLE_SPEED_DISPLAY_UNITS) {
1113             return "VEHICLE_SPEED_DISPLAY_UNITS";
1114         }
1115         return "0x" + Integer.toHexString(o);
1116     }
1117 }
1118