Commit graph

444 commits

Author SHA1 Message Date
Calvin Huang
4d996b812a Merge "Add manifest for IVehicle" am: 0a8204f350
Change-Id: I99916cec11b823a0059589533a1f57c99bb8a243
2020-04-21 17:57:29 +00:00
Calvin Huang
b0341be5dd Add manifest for IVehicle
Bug: 153734354
Test: Manual
Change-Id: I7e6a65e3fb49bb04108d0fd243df0b7447a93b1e
Merged-In: I7e6a65e3fb49bb04108d0fd243df0b7447a93b1e
2020-04-20 20:50:14 +00:00
Dan Shi
55d110bcd0 Rename vts-core to vts am: ba894f81db
Change-Id: Ifb5d31470ee6d3b29b2f1af4be54b1fbdd888a7c
2020-04-07 23:45:55 +00:00
Dan Shi
ba894f81db Rename vts-core to vts
Bug: 151896491
Test: local build
Exempt-From-Owner-Approval: This CL update suite name vts-core to vts as
the suite name is updated. This CL won't change test logic or behavior.

Change-Id: I562b4dc50765e953800a814a8fd84a01c1b9352b
Merged-In: I562b4dc50765e953800a814a8fd84a01c1b9352b
2020-04-07 15:17:02 -07:00
Automerger Merge Worker
117c670689 Don't send brightness to car service inside Emulator am: 092efbd9f4
Change-Id: I9741033713348d5fb963d5af3dee485bf7d43d3c
2020-03-11 23:50:02 +00:00
Huihong Luo
092efbd9f4 Don't send brightness to car service inside Emulator
This fixes this cts test: android.cts.statsd.atom.UidAtomTests#testScreenBrightness

Bug: 139959479
Test: atest android.cts.statsd.atom.UidAtomTests#testScreenBrightness
Change-Id: I66f858ce7686a90cd395f4e646133e8ea4604be4
Merged-In: I66f858ce7686a90cd395f4e646133e8ea4604be4
(cherry picked from commit 1322465c48d0c3dfa5953573b80a89460b8e7e95)
2020-03-11 10:39:48 -07:00
Automerger Merge Worker
b61c44ed99 Merge "Parameterize VtsHalEvsV1_0TargetTest" am: 6905b3438e
Change-Id: I6845d2787d1d45e55158ca279fd3abf8e9b8ba20
2020-02-28 20:32:44 +00:00
Changyeon Jo
b46adc9493 Parameterize VtsHalEvsV1_0TargetTest
Bug: 142397658
Test: VtsHalEvsV1_0Target
Signed-off-by: Changyeon Jo <changyeon@google.com>
Merged-In: Ica8f5e6228d7d4b1426d8cc9cd2c570d6b584897
Change-Id: Ide6f4f58b60936ca766feb3090645afedde37a4d
2020-02-28 17:21:59 +00:00
TreeHugger Robot
ad45cff8d7 Merge "DO NOT MERGE - Merge qt-qpr1-dev-plus-aosp-without-vendor (6129114) into stage-aosp-master" into stage-aosp-master 2020-01-16 18:29:18 +00:00
Jindong
70e33216a6 VHAL: fix CTS CarPropertyManagerTest#testRegisterCallback
This case asserts property PERF_VEHICLE_SPEED can have different
number event happened with different event rate:
SENSOR_RATE_NORMAL or SENSOR_RATE_FASTEST.
But CarPropertyManager.java says:
  Rate has no effect if the property has one of the following change modes
     *   CarPropertyConfig#VEHICLE_PROPERTY_CHANGE_MODE_STATIC
     *   CarPropertyConfig#VEHICLE_PROPERTY_CHANGE_MODE_ONCHANGE
So modify PERF_VEHICLE_SPEED change mode to CONTINUOUS.

Test:
run cts -m CtsCarTestCases -t android.car.cts.CarPropertyManagerTest#testRegisterCallback

Change-Id: I99e3d672d052a5cde9aaad78221caac510e81b40
Signed-off-by: Jindong <jindong.yue@nxp.com>
2020-01-07 10:25:37 +08:00
Prachi Hande
6533853937 Merge "VmsUtils: Add new methods to parse availability state messages" into qt-qpr1-dev
am: 0d1d5a0697

Change-Id: Id96237e0638dad9fa3d6edcba768c8a5606e5ee4
2019-11-19 13:04:33 -08:00
Prachi Hande
dbce8697bd VmsUtils: Add new methods to parse availability state messages
These methods are needed in the HAL client to parse sequence number and
associated layers when the availablity of the VMS layers change.
HAL client relies on these messages by either explicitly requesting the
availability or through availability change message sent by the Car
service.

Bug: 144434783
Fixes: 144434783

Test: Added new tests for the new methods. Ran the tests on Hawk.
Change-Id: I09497640367a894e1dfb6143ac3bbdb63d64b53e
2019-11-19 10:40:20 -08:00
Inseob Kim
936efb8177 Merge "Remove static vndk dep from vendor modules" am: 437baabfde
am: 5d5fee2ef2

Change-Id: I42aac9039542e01e230aef0d306ea30ae0221fc5
2019-11-10 22:33:03 -08:00
Inseob Kim
5d5fee2ef2 Merge "Remove static vndk dep from vendor modules"
am: 437baabfde

Change-Id: I75a47428508efbaa060d9c72a51b3e5f47472ec5
2019-11-10 22:29:38 -08:00
Treehugger Robot
437baabfde Merge "Remove static vndk dep from vendor modules" 2019-11-11 06:15:14 +00:00
Jordan Jozwiak
88213e3193 DO NOT MERGE Add DISTANCE_DISPLAY_UNIT to google VHAL
Bug: 138816759
Test: aae app vhal apply google & dump properties
Change-Id: I6a4d571975d5fe7ba6419cd4c37b734f21162f41
(cherry picked from commit 2619443e0a)
2019-10-31 23:28:19 -07:00
Xin Li
ab68d3750b DO NOT MERGE - qt-qpr1-dev-plus-aosp-without-vendor@5915889 into stage-aosp-master
Bug: 142003500
Change-Id: I8933ff57906fffacf1d48d606451533ec5b79fa2
2019-10-30 11:49:26 -07:00
Jordan Jozwiak
09638bb7c8 DO NOT MERGE Add DISTANCE_DISPLAY_UNIT to google VHAL
Bug: 138816759
Test: aae app vhal apply google & dump properties
Change-Id: I6a4d571975d5fe7ba6419cd4c37b734f21162f41
(cherry picked from commit 2619443e0a)

Merged-In: I6a4d571975d5fe7ba6419cd4c37b734f21162f41
2019-10-29 00:58:29 +00:00
Nick Desaulniers
f195875512 Merge "[hardware][interfaces][automotive] fix -Wreorder-init-list" am: 0d5782e99e am: 62a2c3a00e
am: b1402d78ed

Change-Id: Ica43b1fb52ef8286f49c5344eb48b1ee0d5dc95f
2019-10-21 11:44:39 -07:00
Nick Desaulniers
9ba020bb9b [hardware][interfaces][automotive] fix -Wreorder-init-list
C++20 will require members in a designated initializer to be in order
unlike C99.

Bug: 139945549
Test: mm
Merged-In: I17d1d262d71eefa0aa5b89da7acc659bc2f97bbd
Change-Id: I4e18c0f68606c3e8d965aab194f2a5fd5000c59a
Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
2019-10-18 09:56:57 -07:00
Nick Desaulniers
3bdf845739 Merge "[hardware][interfaces][vehicle] fix -Wdangling-gsl in test" am: 880ee3950a am: e126b55e4c
am: d80d1d4fcb

Change-Id: I55e923c863608c795db1ac357548fe194b9fd582
2019-10-15 22:00:21 -07:00
Nick Desaulniers
dc82c1573a [hardware][interfaces][vehicle] fix -Wdangling-gsl in test
Chaining the method calls in such a way otherwise returns a dangling
pointer to a temporary object.

Bug: 139945549
Test: mm
Change-Id: I0783fccbb6f11e7e37bd059445265227359649cf
Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
2019-10-14 11:05:18 -07:00
Jim Kaye
2b1e5cb620 Merge "Change AP_POWER_STATE_REPORT's access property." am: 86331df20a am: a53b19fb08
am: 7a473c66f7

Change-Id: I48dad550404620168c74cc2b3ef2f321020ee014
2019-10-02 16:10:43 -07:00
Min Yun
1a87dbca80 Change AP_POWER_STATE_REPORT's access property.
Change AP_POWER_STATE_REPORT's access property from WRITE to READ_WRITE.
In Vehicle environment some hals communicate with external ecu,
so they must know the boot reason.
(Not only on, but DEEP_SLEEPY_EXIT, ON, CANCELD)
To handle this, AOSP provide CarPowerManager, but it use AIDL.
But, in treble, vendor process must communicate with system process via hidl.
So, vendor processes(almost hal), can't use CarPowerManager.
(Beside, CarPowerManager use /dev/binder but vendor process use /dev/vndbinder).
If hals subscribe AP_POWER_STATE_REPORT via vehicle hal,
they can handle the power state.

bug: 140370318

Merged-In: Ic4c7f1d66a4fdee1cfb8b9da42cf76bc7aed5948
Change-Id: Ic4c7f1d66a4fdee1cfb8b9da42cf76bc7aed5948
2019-09-27 21:28:34 +00:00
Inseob Kim
31ab19f78b Remove static vndk dep from vendor modules
Instead, vendor modules should link against shared vndk.

Bug: 137178339
Test: mma
Change-Id: Idfce608a3d62de7c4c0e6b02b7cbd80de0a5207f
2019-09-10 14:56:19 +09:00
Steven Moreland
9a5ffa3196 Merge "Remove libhwbinder/libhidltransport deps" am: 6b62c58a9a am: 8c22c3862f
am: 6684ee8c36

Change-Id: I3cde9aa7e62793459bdced930ff4b72face8493a
2019-09-06 15:19:41 -07:00
Steven Moreland
b3a4d3832e Remove libhwbinder/libhidltransport deps
Since these were combined into libhidlbase.

Bug: 135686713
Test: build only (libhwbinder/libhidltransport are empty)
Change-Id: I075670b64eebbbbd6a6ae0e84ad51bf1c6f5ba36
2019-09-06 01:07:02 +00:00
Prachi Hande
007e8a139e VmsUtils: Update existing methods to parse subscriptions response messages.
am: 4066574002

Change-Id: I2708ebc93f485eff8c98016b489261834203c86e
2019-08-08 17:10:30 -07:00
Prachi Hande
4066574002 VmsUtils: Update existing methods to parse subscriptions response messages.
Currently, we do not have a way to parse subscriptions response
messages. But we have parsing methods for SUBSCRIPTIONS_CHANGE type of
messages. These messages have the exact same payload as SUBSCRIPTIONS_RESPONSE
messages. So all we need to do is allow existing methods to parse
SUBSCRIPTIONS_RESPONSE messages along with SUBSCRIPTIONS_CHANGE
messages.

Bug: 138664881
Fixes: 138664881, 137955333
Test: Added more tests for the new message type. Ran tests on Hawk.
Change-Id: I53432e2215e03bb94fd36b7d62f42fe0be1994cf
2019-08-07 22:54:26 +00:00
Prachi Hande
9eb89bab29 Merge "Updated START_SESSION message interpretation" into qt-dev
am: c6d2640d29

Change-Id: I759e1af718c498d284d9fe9571e10487c2bc78da
2019-06-25 12:06:49 -07:00
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
4acdd6621d Merge "Add Speed_Display_Units property in DefaultHal" into qt-dev
am: 130fad824b

Change-Id: I70a2eeb5effd71b3d17b83ea15fd1f36388468bf
2019-06-21 23:10:37 -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
a5bd3ffd11 Merge "Updated a method name in VmsUtils." into qt-dev
am: 1f968cd87c

Change-Id: Iaf6cfb281fbdfb786a96ced641017a20da9cd4be
2019-06-21 13:33:58 -07: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
deb18b68e7 Merge "VMS Utils: Fixed createDataMessage method." into qt-dev
am: 20ee67c070

Change-Id: I43dc16f65aaf480eec3988df47fb21ea0a15b4f8
2019-06-19 14:52:59 -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
8972707256 Merge "Move START_SESSION definition to bottom of VmsMessageType." into qt-dev
am: 977d275a9a

Change-Id: I0a2d667d066701e55636283da564ae7f7bb2e392
2019-06-17 13:21:35 -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
e46a94a672 Merge "Update EVS VTS test cases" into qt-dev
am: 9155a07da7

Change-Id: If17f879f82441ab190cf37b18b4aaa053410e8e6
2019-05-31 20:42:25 -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
4a012c1dda Merge "Add number of ticks in HW_KEY_INPUT" into qt-dev
am: 4522783767

Change-Id: I893402874ef3a72dfedaf457d0ac3a21d3dc9619
2019-05-30 13:55:44 -07: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
9096e933d3 Merge "Update VHAL documentation" into qt-dev
am: 68fa370815

Change-Id: I7a17925b6ed288616c8109ead69a38b266545f8a
2019-05-21 13:43:44 -07: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