summaryrefslogtreecommitdiffstats
path: root/automotive/vehicle/2.0/types.hal
Commit message (Collapse)AuthorAgeFilesLines
* Move START_SESSION definition to bottom of VmsMessageType.Mark Tabry2019-06-141-10/+10
| | | | | | Bug: 130313799 Test: N/A Change-Id: Iaa1be8f047c58491970b5aaa0dfab4e418164dee
* Merge "Add number of ticks in HW_KEY_INPUT" into qt-devKai Wang2019-05-301-0/+2
|\
| * Add number of ticks in HW_KEY_INPUTKai2019-05-291-0/+2
| | | | | | | | | | | | Bug: 132291593 Test: build and flash Change-Id: I0baf4d8bbb802f724122d63cd19af5c5f9f4ddfb
* | Merge "Update VHAL documentation" into qt-devKai Wang2019-05-211-1/+15
|\ \ | |/ |/|
| * Update VHAL documentationKai2019-05-201-1/+15
| | | | | | | | | | | | | | | | | | | | | | Clarify when range in VehcileAreaConfig need to be specified. Change Range_remaining to be read only. Update docmentation about Night Mode. Bug: 126908895 Bug: 128607457 Test: Flash and build Change-Id: Ifcf92bcc9eed3859d8a846d55e824c2b00d61d19
* | Merge "Add property for vehicle speed" into qt-devKai Wang2019-05-151-43/+65
|\ \
| * | Add property for vehicle speedKai2019-05-101-43/+65
| |/ | | | | | | | | | | | | | | Add proerty and units for vehicle speed. Bug: 131715430 Test: build and flash Change-Id: I4b34808b75d76385d0b1b76530889f69bd945c84
* / Adds VMS START_SESSION message type and message definition.Mark Tabry2019-05-091-1/+35
|/ | | | | | Bug: 130313799 Test: No tests affected. VmsUtils support will be added in a separate CL. Change-Id: I1c7b713b85f191b057051737ca6bbdd0ae9bc170
* Merge "Add VHAL params for fuel economy and units"Kai Wang2019-03-201-3/+20
|\
| * Add VHAL params for fuel economy and unitsKai2019-03-191-3/+20
| | | | | | | | | | | | | | | | | | Add Units: US_GALLON and IMPERIAL_GALLON Add property: FUEL_CONSUMPTION_UNITES_DISTANCE_OVER_VOLUME Bug: 127734378 Test: make and flash Change-Id: Id11501e6dd6ea43fdbda29cccc10ec954e5c3cc4
* | Merge "Remove VehicleApPowerStateConfigFlag comment." am: 336bba076f am: ↵Steven Moreland2019-03-111-1/+1
|\ \ | | | | | | | | | | | | | | | | | | | | | 6acd292bf5 am: 7467de0d4d Change-Id: I4d23ea4066ad6a398efde3f9f1a65807b284a37e
| * | Remove VehicleApPowerStateConfigFlag comment.Steven Moreland2019-03-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | Since interface is unfrozen, removing comment. Bug: 124382459 Test: N/A Change-Id: I7cbae55f2d34c794be3d38d61181eda0d7dbaeac
* | | Merge "Add an annotation for property"Kai Wang2019-03-111-0/+1
|\ \ \ | |_|/ |/| |
| * | Add an annotation for propertyKai2019-03-041-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | Add enum annotation for HVAC_TEMPERATURE_DISPLAY_UNITS Bug: 126925065 Test: make and flash to HU Change-Id: I083fee4401a3f6e43e69d86ff0e851cbc5ae32e2
* | | Add and update VHAL Properties and permissionsKai2019-02-261-1/+185
|/ / | | | | | | | | | | | | | | | | Add and update VHAL properties and permissions. Bug: 112435211, 120095752 Test: build and run on HAWK Change-Id: Ia750a472e0185a6f858d23e638c535f67bc86c00 (cherry picked from commit fa638809675178b2f517f02b85bd372b47c08cf2)
* | Add comments for some properties.Kai2019-01-071-1/+5
| | | | | | | | | | | | | | | | | | | | Descible hebavior for VHAL property set with value out of bounds Change comments. Bug: 112204545 Test: build and flash Change-Id: I48cf2f8dfb8a175992535db17d8f69e8fde1f34c (cherry picked from commit 2234dc2e4f3d55ea9e8cbb4ec11544ca0207625d)
* | Refactor Power ManagementSteve Paik2018-10-171-66/+37
| | | | | | | | | | | | | | | | | | | | | | - Remove Boot Reason property - Add extra states to AP_POWER_STATE_REPORT Bug: 112548962 Test: vhal_emulator.py Change-Id: I96662820a02141256c53546db662d1e05e1925ae (cherry picked from commit b863f86ff7fad325c66c9a47a3a3e18a602adab3)
* | Add STEERING_ANGLE propertySteve Paik2018-09-141-1/+18
| | | | | | | | | | | | Bug: 80551979 Test: Added property to VHAL Change-Id: Ie6310d85af9bf0aebe63f0f2fdbac9a75c32b1ec
* | Add detail to FUEL_LEVEL_LOW to include all energy typesSteve Paik2018-08-281-1/+7
| | | | | | | | | | | | | | | | Bug: 109700633 Bug: 109740025 Test: Comment change only Change-Id: Ief87c4a82d965187f0d8f00fd226e4d539c58643 (cherry picked from commit 9108bc896655541d087dc3a457e8429f45b9d8eb)
* | Add PERF_VEHICLE_SPEED_DISPLAYSteve Paik2018-08-071-0/+16
|/ | | | | | Bug: 110881960 Test: none Change-Id: I486d71bb00e2d943293e5e5567f4dbb0c35e39b0
* Fix tire pressure sensor propertySteve Paik2018-05-231-2/+3
| | | | | | | | Update comment to remove reference to unused min/max values Bug: 80102628 Test: comments updated Change-Id: I9555ac2e6c274b52e01ce9555e8403b2b94a5036
* Fix name of Wheel to VehicleAreaWheelScott Randolph2018-05-211-2/+2
| | | | | | | | All but this enum follow the naming pattern. Now Wheels do too. Test: Build Mojave and Owl Bug: 79995183 Change-Id: Ifa9efd50aaae13ac7f437c5efe8cf70aa64218e9
* Remove ConfigFlagsSteve Paik2018-05-161-10/+2
| | | | | | | | | ConfigArray replaces the need for configFlags. Deprecate this before it gets released. Bug: 74133619 Test: grep -ril configflag shows all instances removed Change-Id: I645862507959738eb2739e70a53827b749e88aeb
* Update types.hal commentsKiran Rachuri2018-05-151-24/+143
| | | | | | | | | | | | | (1) Specify rules for property to area mapping (2) Fix comment for WHEEL_TICK property (3) Document the need for supported gears from vhal. CURRENT_GEAR and GEAR_SELECTION should report the list of available gears in the vehicle. This helps in determining the driving state of the vehicle. Merge changes from ag/4051112 ag/4026897 Bug: 79434788 Bug: 77849652 Bug: 79260189 Test: Build and Flash Change-Id: Ib2bd488a5ec09fe3bdf8807c253aebcdb240324b
* Remove ENV_CABIN_TEMPERATURE from VHalScott Randolph2018-04-251-13/+0
| | | | | | | | This property was an inadvertent duplicate of HVAC_TEMPERATURE_CURRENT. Test: Build OWL and Mojave Bug: 78599196 Change-Id: I698217de0fa91ed817ec95a375a0949160ae8be5
* Rename EV_CONNECTOR_TYPE enumsSteve Paik2018-04-251-12/+14
| | | | | | Bug: 78571971 Test: Documentation / naming update Change-Id: I6ca65a9a745d9f5dd109f5b47a3a4af4d818fe39
* Update VHAL comments to clarify useageScott Randolph2018-04-181-18/+22
| | | | | | | | | Window position and motion updated. Also added comments calling out explicit temperature units. Test: Build mojave Change-Id: If283a5f0de1ff6e9b2d3c21bcd652de55e2d7046 Bug: 77983671
* Update VHAL types.halSteve Paik2018-04-021-441/+597
| | | | | | | | | | | | Revised types.hal: - Add documentation to everything - Remove radio property - Update Power Manager properties - Cleanup formatting Bug: 77301298 Test: It compiles Change-Id: I05a1b3269092c05e7f56c57166d2aebe420d7f6a
* Deprecate DRIVING_STATUS vehicle property.Ram Periathiruvadi2018-03-291-27/+0
| | | | | | | | | DRIVING_STATUS is not required from VHAL. It will be derived from other car sensor vehicle properties in higher layers. Bug: 71793754 Test: compile and boot. Change-Id: Ia9f9aeb0e7ff0f16c66422ecb4dc9ad9c152a844
* Fix AP_POWER_BOOTUP_REASON to be staticSteve Paik2018-03-231-0/+2
| | | | | | Bug: 69284418 Test: VTS passes Change-Id: Ia4816b4d9329c8bd02bf325aed6cfe5bdda30c70
* Merge "Add ENGINE_OIL_LEVEL, PARKING_BRAKE_AUTO_APPLY"Steve Paik2018-02-061-1/+37
|\
| * Add ENGINE_OIL_LEVEL, PARKING_BRAKE_AUTO_APPLYSteve Paik2018-02-021-1/+37
| | | | | | | | | | | | | | Bug: 62337898 Bug: 62337346 Test: Vehicle emulator test Change-Id: If2ea2ccb0b128e7f30a747e329fd3b7bd0d0234b
* | Merge "Modify FAN_DIRECTION to be a bit mask"TreeHugger Robot2018-02-031-9/+9
|\ \ | |/ |/|
| * Modify FAN_DIRECTION to be a bit maskSteve Paik2018-01-291-9/+9
| | | | | | | | | | | | | | | | | | | | We are changing VehicleHvacFanDirection to be a bit mask so that any combination of fan directions can be made. This means that HVAC_FAN_DIRECTION_AVAILABLE must now be a int32_vector. Bug: 72221544 Test: Unit tests pass Change-Id: I602871c95aa2429ea334ec85a879610c68979184
* | Remove unused property from Vehicle HALPavel Maltsev2018-01-261-54/+0
|/ | | | | | | | Fix: b/72159812 Test: m -j ; verified device is booting up Change-Id: I99b59d58dd713d48c50be1a12d9ee2019861c080
* Merge "Refactor VHAL"TreeHugger Robot2018-01-251-26/+27
|\
| * Refactor VHALSteve Paik2018-01-231-26/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This CL contains the following modifications: - Add INT64_VEC type - Rename VehiclePropertyType:COMPLEX to MIXED - Remove supportedAreas from VehiclePropConfig - Allow an areaId to contain multiple zones/seats/windows - Remove ROW_* zones - Remove zone/areaId from subscribe() interface - CLANG formatting Bug: 72348165 Test: Compiles Change-Id: I274dc69b6532a06433a0409c7ca44d0a5bce65af
* | Merge "Adding missing VMS PublisherId functionality to vehicle hidl. VMS ↵Asaf Rosenfeld2018-01-241-2/+44
|\ \ | | | | | | | | | latest functionality which was added as part of the API review."
| * | Adding missing VMS PublisherId functionality to vehicle hidl.Asaf Rosenfeld2018-01-231-2/+44
| | | | | | | | | | | | | | | | | | | | | VMS latest functionality which was added as part of the API review. Change-Id: I8866d659e0df750eb86f1f3916aababf37e40649 Test: pending on later ref hal impl similar to other enums.
* | | Remove AUDIO_* properties.Scott Randolph2018-01-111-590/+0
| |/ |/| | | | | | | | | | | | | | | | | See go/aae-audio for an implementation guide for automotive that does not rely upon these car specific properties. The very small remaining automotive specific elements will be represented in the automotive audio control HAL. Change-Id: Ia2147a8e486bdb896097771970f0527fc630b9c4 Test: not yet. Will run vhal VTS tests.
* | Fix window properties to be per window zoneSteve Paik2017-12-221-5/+5
|/ | | | | | Bug: 70931486 Test: Compiles Change-Id: Idb6daf0444f5fe18f251d01a1581fbcdde37f83c
* Add EV parameters to VHALSteve Paik2017-11-091-19/+208
| | | | | | | | | | | | | | | | | | | | | | | Add parameters: - INFO_FUEL_TYPE - INFO_EV_BATTERY_CAPACITY - INFO_EV_CONNECTOR_TYPE - ENGINE_ON - FUEL_LEVEL - FUEL_DOOR_OPEN - EV_BATTERY_LEVEL - EV_CHARGE_PORT_OPEN - EV_CHARGE_PORT_CONNECTED - EV_BATTERY_INSTANTANEOUS_CHARGE_RATE Added enums: - EvConnectorType - FuelType Bug: 63330964 Test: Embedded Kitchen Sink can access the params Change-Id: Iaedbb02db91d354ebed98fbae4c1ba204098e152
* Additonal usage note updates for Audio propertiesScott Randolph2017-09-051-36/+36
| | | | | | | | | Mostly comment updates for clarification. Updates the names of a few constants (but not their value nor usage). Test: build for Mojave Change-Id: Ic9021f82fa4bd960189e005f074f2b407be13ae7 bug: 65384336
* Add RINGTONE to Vehicle HAL AUDIO_FOCUSScott Randolph2017-09-051-0/+3
| | | | | | Test: build on Mojave with associated CarService changes Change-Id: I7fcf9b4bb1808971f4fc8265a7d581dce57be3d3 Bug: 64729839
* Merge Vehicle HAL 2.1 iface to 2.0Pavel Maltsev2017-08-241-363/+1067
| | | | | | | | | | | Vehicle HAL is property based and all properties are considered optional. It is quite a bit of pain to create new versions of VHAL only to extend properties. Bug: 64303350 Test: build and flash, verefied system works stable. Change-Id: I8adb858f53a5d9d31f7444bf97ae09baf2fffafa
* Convert all comments into "doxygen-ready" comments.Andreas Huber2017-03-291-227/+227
| | | | | | Bug: 36453077 Test: mma Change-Id: I0b1f77dfae5d2258969e33d85ecf45401ffbdfaa
* Fix typo CELCIUS -> CELSIUS in Vehicle HALPavel Maltsev2017-03-151-4/+4
| | | | | Test: typo in comments only. Change-Id: I1610beb9cb44b3b50e9a86fcff41d3421c6ad849
* Post-O. Move VMS property to hal 2.1.Antonio Cortes2017-03-021-52/+0
| | | | | | | | Test: build and flash Mojave board with TARGET_USES_CAR_FUTURE_FEATURES=true. Test: check that the property is displayed in the logs during startup. Bug: 35628104 Change-Id: I8b5327ae255cd94ac78a0436aac06b32e3168c28
* Move OBD2 support to Vehicle HAL 2.1.Enrico Granata2017-02-231-511/+1
| | | | | | | For O-MR1. Test: build Bug: 34746908 Change-Id: I369e6531b8957d8e03154fdf5d732e8242a3c245
* Remove unused OFF/MIN/MAX constants from HAL.Bryan Eyler2017-02-171-15/+72
| | | | Change-Id: I8b2b0d94872fdfcb60d2791ee14be85cccd35129