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