Kai Wang
52281d32a2
Merge "Add configArray for HVAC_TEMPERATURE_DISPLAY_UNITS" into qt-dev
...
am: 728455da65
Change-Id: I063cc867e8d13be511f7685b8c8179b4892b6cf4
2019-05-15 19:11:05 -07:00
Kai Wang
728455da65
Merge "Add configArray for HVAC_TEMPERATURE_DISPLAY_UNITS" into qt-dev
2019-05-16 00:51:17 +00:00
Kai Wang
0cd91ad832
Merge "Add property for vehicle speed" into qt-dev
...
am: 0664dba927
Change-Id: I4fd87ed8461f68377090f01e56d3b802c6cc4e9d
2019-05-15 15:24:42 -07:00
Kai Wang
0664dba927
Merge "Add property for vehicle speed" into qt-dev
2019-05-15 21:13:46 +00:00
Prachi Hande
991f3e8a2b
Merge "Add utility methods to create and parse handshake messages." into qt-dev
...
am: c62ce9d611
Change-Id: I1afa87ebfbf90e630e082061c84eb00e32a6ca36
2019-05-14 15:45:02 -07:00
Prachi Hande
2bc0c5f292
Add utility methods to create and parse handshake messages.
...
Bug:131165419
Fixes: 131165419
Test: Added new unit tests for both the new functions in VmsUtilsTest.
Ran the tests on Hawk.
Change-Id: Ie750983762b5706054ace35c5671f88b6457477a
2019-05-14 11:55:39 -07:00
Mark Tabry
1ed3e4b67c
Merge "Adds VMS START_SESSION message type and message definition." into qt-dev
...
am: 2d8ce13d14
Change-Id: I024804fcc4c2109c2d0e5e9f86e4fbcabdebf43b
2019-05-10 23:47:14 -07:00
Kai
8b6484bce6
Add property for vehicle speed
...
Add proerty and units for vehicle speed.
Bug: 131715430
Test: build and flash
Change-Id: I4b34808b75d76385d0b1b76530889f69bd945c84
2019-05-10 12:49:26 -07:00
Mark Tabry
0862fabdbe
Adds VMS START_SESSION message type and message definition.
...
Bug: 130313799
Test: No tests affected. VmsUtils support will be added in a separate CL.
Change-Id: I1c7b713b85f191b057051737ca6bbdd0ae9bc170
2019-05-09 15:38:44 -07:00
Kai
8acfc0ce73
Add configArray for HVAC_TEMPERATURE_DISPLAY_UNITS
...
Add configArray for HVAC_TEMPERATURE_DISPLAY_UNITS
Bug: 80298447
Test: build
Change-Id: Ie4fb6ea78f4a4c1337420db8d9b6d545fd9f377c
2019-04-30 00:13:55 +00:00
Steven Moreland
6d494b2346
Merge "Update hidl makefiles for bpfmt" am: ff0bd741ca
...
am: 96f40f7b02
Change-Id: Idbf030e4993067bdb8181321bca2de00c9b6f7ef
2019-04-18 14:34:45 -07:00
Steven Moreland
1ae4615d9f
Update hidl makefiles for bpfmt
...
hidl-generated makefiles are now generated such that bpfmt(file) == file.
Bug: 67417008
Test: enable bpfmt hook
Change-Id: I1f69d292bc23a7cc293a66110cb02d597e1019ad
2019-04-17 09:38:50 -07:00
Prachi Hande
cde1aa9617
Updates to VMS Utils to support HAL Client Publisher
...
1. Added new API/utility functions to support publishing VMS messages from HAL client.
2. Fixed creation of offering message by adding publisher ID
3. Fixed an existing failing test from VmsHalManager_test.cpp
Bug: 129475485
Bug: 129163926
Fixes: 129475485
Fixes: 129163926
Test: Added tests for all the new and updated functions in VmsUtilsTest.
Ran the tests on Hawk.
Change-Id: Ie561dafb86d137a4fdf3042e033f8cb133b4aca7
2019-04-02 17:51:21 -07:00
Kai Wang
ba464daf31
Merge "Add VHAL params for fuel economy and units"
2019-03-20 18:19:54 +00:00
Kai
8675df05d7
Add VHAL params for fuel economy and units
...
Add Units: US_GALLON and IMPERIAL_GALLON
Add property: FUEL_CONSUMPTION_UNITES_DISTANCE_OVER_VOLUME
Bug: 127734378
Test: make and flash
Change-Id: Id11501e6dd6ea43fdbda29cccc10ec954e5c3cc4
2019-03-19 12:08:16 -07:00
Steven Moreland
8780306ce3
Merge "Remove VehicleApPowerStateConfigFlag comment." am: 336bba076f
am: 6acd292bf5
...
am: 7467de0d4d
Change-Id: I4d23ea4066ad6a398efde3f9f1a65807b284a37e
2019-03-11 19:43:46 -07:00
Kai Wang
0bfb124a97
Merge "Add an annotation for property"
2019-03-11 18:17:49 +00:00
Steven Moreland
4bd35050c3
Remove VehicleApPowerStateConfigFlag comment.
...
Since interface is unfrozen, removing comment.
Bug: 124382459
Test: N/A
Change-Id: I7cbae55f2d34c794be3d38d61181eda0d7dbaeac
2019-03-08 16:37:13 -08:00
Steven Moreland
2503e39b4b
Update automotive makefile.
...
Bug: 123976090
Test: N/A
Change-Id: I34add915c896b4b5fcbcfa0ad0c42950fff9e9fc
Merged-In: I84b659b163b63d39535b462a3df8a9c19f680976
2019-03-05 01:29:21 +00:00
Kai
7054ac55b8
Add an annotation for property
...
Add enum annotation for HVAC_TEMPERATURE_DISPLAY_UNITS
Bug: 126925065
Test: make and flash to HU
Change-Id: I083fee4401a3f6e43e69d86ff0e851cbc5ae32e2
2019-03-04 16:14:29 -08:00
Steven Moreland
b91ac5c6a0
Update makefies: no 'types' internal
...
Bug: 123976090
Test: N/A
Change-Id: I84b659b163b63d39535b462a3df8a9c19f680976
2019-03-04 14:09:25 -08:00
Kai Wang
e09b39a6c6
Merge "Add and update VHAL Properties and permissions"
2019-02-27 06:02:03 +00:00
Kai
53cc4ffafc
Add and update VHAL Properties and permissions
...
Add and update VHAL properties and permissions.
Bug: 112435211, 120095752
Test: build and run on HAWK
Change-Id: Ia750a472e0185a6f858d23e638c535f67bc86c00
(cherry picked from commit fa638809675178b2f517f02b85bd372b47c08cf2)
2019-02-26 20:58:06 +00:00
Kai
b1fc16aab5
Fix vts-hal-auto test
...
Add min/maxSampleRate for some properties and add new static
properties.
Bug: 112596543
Test: Build and flash into Mojave
Run vts-hal-auto test
Change-Id: Ide0c09e4790770e5415ca223b2e09f5958b5e783
(cherry picked from commit 3acc549fa87fbe19b181edea39eead0772f75822)
2019-01-29 17:46:28 -08:00
Gregory Clark
ea1fe59370
Add a trunk and sunroof.
...
Bug: b/118139582
Test: Get and set the VHAL properties.
Exempt-From-Owner-Approval: Nobody on the owners list works on AAE.
Change-Id: Ib2274a7f347d962d80ce9213c4ae17a2f44b74ad
(cherry picked from commit 6ef517989fb25a39536c65b1636c1292f8bdcec1)
2019-01-14 18:40:32 +00:00
Kai Wang
8b4548ca32
Merge "Add comments for some properties."
2019-01-08 18:34:36 +00:00
TreeHugger Robot
78493e31e0
Merge "Update owners for automotive HALs"
2019-01-08 06:01:19 +00:00
Scott Randolph
6ea0d8c60a
Update owners for automotive HALs
...
Test: No functional change
Change-Id: I3f4a51b6533d3383e299731e048c773737c02cd3
2019-01-07 19:22:13 -08:00
Kai
066b20d749
Add comments for some properties.
...
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)
2019-01-07 14:55:07 -08:00
Chih-hung Hsieh
df66e3cb29
Merge "Fix performance-for-range-copy warnings" am: d01f7050ac
am: 51e835ce22
...
am: 86fefab5e9
Change-Id: Ib139d710d47a7a51e24ba8ba582b252f5ff6e244
2018-12-17 14:09:52 -08:00
Chih-Hung Hsieh
65ab67312b
Fix performance-for-range-copy warnings
...
Bug: 30413223
Test: make with WITH_TIDY=1 DEFAULT_GLOBAL_TIDY_CHECKS=-*,performance*
Change-Id: I1b76a22eab100a31e77048626e48169fe7eeaf92
2018-12-17 19:57:21 +00:00
Gregory Clark
b06432c9fa
Added the DOOR_POS and WINDOW_POS properties.
...
Bug: b/111797715
Test: Set and get the properties.
Exempt-From-Owner-Approval: Nobody on the owners list is left on AAE.
Change-Id: I24b79ffed2e53dd260f482d6fa00ea05f3fb073a
(cherry picked from commit 6e90b0e9660e5bb9fa5c48a7c601ac4a9117f398)
2018-12-14 22:00:34 +00:00
Keun Soo YIM
68ae05dd2d
pack VTS cc_test binaries as general-tests
...
Test: make general-tests
Bug: 120093339
Merged-In: I363450d205868f900e4925ccff1430e2a569f2a4
Change-Id: I363450d205868f900e4925ccff1430e2a569f2a4
2018-12-07 10:49:56 -08:00
Keun Soo YIM
ff84c37bc1
pack VTS cc_test binaries as general-tests
...
Test: make general-tests
Bug: 120093339
Change-Id: I363450d205868f900e4925ccff1430e2a569f2a4
2018-11-27 16:11:41 -08:00
Jordan Jozwiak
8cbf1aae08
Update HVAC_POWER_ON config array to correct values
...
Bug: 119687687
Test: Build and install.
Exempt-From-Owner-Approval: Trivial change. Updating old int value.
Change-Id: Idf3c89f330303b79a2ddfd336402546ccae31f16
(cherry picked from commit 005ec2d45418c190391a1ad17fba3e8bd64e3198)
2018-11-22 00:47:51 +00:00
Steve Paik
d217630d40
Fix Default VHAL to send ON request when device boots
...
Bug: 117947229
Test: Reboot Mojave, it stays on
Change-Id: Ia36d71343e43d59c07dc76b3cc7b7d45376d898c
(cherry picked from commit b91f9c3bad3948cb5804949a858835219e9aeac3)
2018-10-22 16:29:27 +00:00
Steve Paik
55367e6102
Refactor Power Management
...
- 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)
2018-10-17 22:23:02 +00:00
Gregory Clark
49e24cad30
Merge "Add the window lock property."
2018-10-10 20:43:43 +00:00
Gregory Clark
2c820039ca
Add the window lock property.
...
Bug: b/80429405
Test: Call carPropertyManager.setIntProperty
Change-Id: I465c82f6735e714cd26397de281025e69f3e4c38
(cherry picked from commit d9ed04473eaa633a60a8f8a234a024c9816f4db9)
2018-10-10 16:45:49 +00:00
Gregory Clark
3e6403b5bf
Update the DOOR_LOCK property to have WRITE access.
...
Bug: b/80427694
Test: Call carPropertyManager.setBooleanProperty
Change-Id: I78eded9a30b24dd0e977fc6dec1e085685344ed7
(cherry picked from commit e746aab48a5446108a7cb5237a477a0561d742c6)
2018-10-06 00:35:53 +00:00
Steve Paik
f38f62a1d4
Add STEERING_ANGLE property
...
Bug: 80551979
Test: Added property to VHAL
Change-Id: Ie6310d85af9bf0aebe63f0f2fdbac9a75c32b1ec
2018-09-14 17:26:20 +00:00
Jordan Jozwiak
c72501342a
Add the INFO_DRIVER_SEAT property.
...
Bug: b/113356861
Test: Build and install.
Change-Id: I07963fd94aca1a2e83d968f85daa78be7ab90fd9
(cherry picked from commit e4d470dc3adc5ba2b35abcdc61e37927953c36d4)
2018-09-11 20:47:17 +00:00
Steve Paik
4569ca2f88
Add detail to FUEL_LEVEL_LOW to include all energy types
...
Bug: 109700633
Bug: 109740025
Test: Comment change only
Change-Id: Ief87c4a82d965187f0d8f00fd226e4d539c58643
(cherry picked from commit 9108bc896655541d087dc3a457e8429f45b9d8eb)
2018-08-28 04:26:38 +00:00
Gregory Clark
61a7bbcb77
Add the HVAC_FAN_DIRECTION_AVAILABLE property.
...
Bug: b/111371726
Test: Build and flash.
Change-Id: I586e607e313792dae689b82f411db94bf22982aa
(cherry picked from commit a5b4872c616c8f9fa983fad8ed8ef77e1edef618)
2018-08-23 18:40:02 +00:00
Jordan Jozwiak
a8e73abffe
Add the HVAC_SEAT_VENTILATION property.
...
Bug: b/111610946
Test: Build and install.
Exempt-From-Owner-Approval: Add property for HVAC_SEAT_VENTILATION
following existing pattern
Change-Id: I71c23d01c35d9db76eb8d4845e6bb9ce4257defb
(cherry picked from commit 2158eccd4bd139a29f14a041c6de60831a2405a7)
2018-08-22 15:52:50 +00:00
Jordan Jozwiak
510fff3675
Merge "Add the HVAC_SEAT_TEMPERATURE property."
2018-08-22 15:47:13 +00:00
Jordan Jozwiak
782ef26b41
Add missing VHAL properties
...
Bug: b/111500076
Test: Build and install.
Change-Id: I32bfd33ce050ab6ffc886e2ba63b99bd5a33ad31
(cherry picked from commit 85df08f4fe94fd6dfedd6d7def5192cf1f7ce2c4)
2018-08-21 22:17:18 +00:00
Jordan Jozwiak
c0ce8b2a10
Add the HVAC_SEAT_TEMPERATURE property.
...
Bug: b/111564723
Test: Build and install.
Change-Id: I37184aff227910a91adcb810078b578764fa56ec
(cherry picked from commit 7cc52cdaa6c2d37edbdc87a456a59d2e74591f9d)
2018-08-21 22:15:04 +00:00
Steve Paik
61b24e3a44
Add PERF_VEHICLE_SPEED_DISPLAY
...
Bug: 110881960
Test: none
Change-Id: I486d71bb00e2d943293e5e5567f4dbb0c35e39b0
2018-08-07 09:25:14 -07:00
davidln
cfb94787ea
Propagate set events in the emulated vehicle HAL.
...
Bug: 110105682
Test: build, deploy, test updating temp via app UI, temp change reflected in subscribed system UI
Change-Id: I75e6825ff9450f977c1f5d7f2b97bca6c78f1883
(cherry picked from commit 6d8110ffbf7e964246c13810d909b3a5cf7818b6)
2018-07-25 15:46:24 +00:00