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