Commit graph

399 commits

Author SHA1 Message Date
Prachi Hande
c6d2640d29 Merge "Updated START_SESSION message interpretation" into qt-dev 2019-06-25 18:23:53 +00:00
Prachi Hande
af6af767e7 Updated START_SESSION message interpretation
Removed the dependency on the fact that the core's new ID is always >= existing ID.
New ID and the old ID may not have any such relation.

Bug: 135475397
Fixes: 135475397
Test: Updated unit tests in VmsUtilsTest. Ran the tests on Hawk.

Change-Id: I5a7e72f36a84f5bf2d3c7bf1ccb89d27c5c0da97
2019-06-24 17:47:56 -07:00
Kai Wang
130fad824b Merge "Add Speed_Display_Units property in DefaultHal" into qt-dev 2019-06-22 05:57:33 +00:00
Kai
42a26244ad Add Speed_Display_Units property in DefaultHal
Update properties for DefaultHal and it is also be a code
sample for adding new properties.

Bug: 134988550
Test: flash it and verify property by kitchenSink
Change-Id: Iedf3ea5b288acfe95b3c676d90660435b34ed367
2019-06-22 01:52:02 +00:00
Prachi Hande
a9c6df2ba9 Updated a method name in VmsUtils.
Corrected "CreateDataMessageWithLayerPublisherInfo" to "createDataMessageWithLayerPublisherInfo"

Bug: 135051289
Fixes: 135051289
Test: Updated tests in VmsUtilsTest. Ran the tests on Hawk.

Change-Id: Ie5e130e125b90689d13a3f9bb8fa1f2f8a2bcbe0
2019-06-19 19:11:29 -07:00
Prachi Hande
20ee67c070 Merge "VMS Utils: Fixed createDataMessage method." into qt-dev 2019-06-19 21:11:56 +00:00
Prachi Hande
258c7c2504 VMS Utils: Fixed createDataMessage method.
Before, it used to process only the payload but now it also
takes in VMS layer info and publisher ID.

Bug: 135051289
Fixes: 135051289
Test: Updated unit tests in VmsUtilsTest. Ran the tests on Hawk.
Change-Id: I6c11f95a815af5d7b9fc9288692285766d2ca98f
2019-06-17 13:47:50 -07:00
Mark Tabry
56ff57b4ce Move START_SESSION definition to bottom of VmsMessageType.
Bug: 130313799
Test: N/A
Change-Id: Iaa1be8f047c58491970b5aaa0dfab4e418164dee
2019-06-14 10:34:43 -07:00
Changyeon Jo
17aa6d3512 Update EVS VTS test cases
This change modifies existing test cases and adds one new test case
for EVS manager implementation.

Bug: 122468953
Change-Id: I5cee01dfe0b0617c3f5c46beb94dcda0387f4ba0
Signed-off-by: Changyeon Jo <changyeon@google.com>
2019-05-31 21:20:56 +00:00
Kai Wang
4522783767 Merge "Add number of ticks in HW_KEY_INPUT" into qt-dev 2019-05-30 20:27:14 +00:00
Kai
26dcce67aa Add number of ticks in HW_KEY_INPUT
Bug: 132291593
Test: build and flash
Change-Id: I0baf4d8bbb802f724122d63cd19af5c5f9f4ddfb
2019-05-29 21:16:47 +00:00
Kai Wang
68fa370815 Merge "Update VHAL documentation" into qt-dev 2019-05-21 18:45:48 +00:00
Kai
ac4edf053e Update VHAL documentation
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
2019-05-20 17:33:33 -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
0664dba927 Merge "Add property for vehicle speed" into qt-dev 2019-05-15 21:13:46 +00:00
TreeHugger Robot
9ace2c9788 Merge "Add pfg@ to owners for automotive HALs" into qt-dev 2019-05-14 23:17:22 +00:00
Scott Randolph
d780fb4272 Add pfg@ to owners for automotive HALs
Test: NA
Bug: 132709887
Change-Id: I68fe2c165cd7e4783bb7465bdc3a3eb149a97db4
2019-05-14 12:58:31 -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
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
Changyeon Jo
7651215285 Add BGRA8888 format support.
Bug: 129462449
Test: Build and run VTS on Hawk
Change-Id: I9d162b3200b64fbbec802eb1b0a2b6862af6949b
Signed-off-by: Changyeon Jo <changyeon@google.com>
(cherry picked from commit af09bfeed4)
2019-04-23 12:00:59 +00: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
87f43604b9 Merge "Update makefies: no 'types' internal" 2019-03-05 17:40:03 +00: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
7f4e21adda Merge "Update makefies: no 'types'" am: 4ee5ec1469 am: bab622f6a6
am: 7224bc9bcf

Change-Id: I434939e0770afa436c532a945542fce30a71ef7d
2019-03-04 16:05:59 -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
Steven Moreland
a878aee9ab Update makefies: no 'types'
Bug: 123976090
Test: N/A
Change-Id: I30fb04c81889b62775e1b764b965fdb0f893de17
2019-03-04 11:27:17 -08:00
Kai Wang
e09b39a6c6 Merge "Add and update VHAL Properties and permissions" 2019-02-27 06:02:03 +00:00
TreeHugger Robot
4bd5d096e9 Merge "Creates OWNERS for evs interface" 2019-02-26 23:28:21 +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
Changyeon Jo
9442dd481b Creates OWNERS for evs interface
Creates OWNERS file and adds default reviewers.

Bug: 126256874
Test: gerrit uploader
Change-Id: I33814c54d79ac5c6356ab3ce9e9ee3e01391e800
Signed-off-by: Changyeon Jo <changyeon@google.com>
2019-02-26 17:55:43 +00:00
Changyeon Jo
d0dc2bd341 Updates openDisplay() API description
This change corrects the description of openDisplay()'s behavior when
new client requests to access a display resource.

Bug: 122671398
Test: N/A
Change-Id: Ic7380748f4907376563771498e8823ed739e09a6
Signed-off-by: Changyeon Jo <changyeon@google.com>
2019-02-15 01:34:56 +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