Commit graph

953 commits

Author SHA1 Message Date
Treehugger Robot
1df03b9d8b Merge "Mark modules frozen explicitly." am: 11fa86bbb4 am: a4eefbe687
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2328923

Change-Id: I3ac5155f4178060d87cdea9630d89ef28a0f6d4c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-20 01:20:18 +00:00
Treehugger Robot
11fa86bbb4 Merge "Mark modules frozen explicitly." 2022-12-20 00:01:29 +00:00
Steven Moreland
13666147e9 Mark modules frozen explicitly.
Makes it easier to see which versions are available.

Bug: 188871598
Test: N/A
Change-Id: Iec656df1d0008d95ab50f9bd8806517b95242f00
Merged-In: Ica76a8225fec8dc5267362cbfd43e06e65ad3f1e
2022-12-14 01:47:26 +00:00
Yu Shan
2f3325628a Avoid holding lock while calling recurrent actions. am: 417ca2541a
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/20682672

Change-Id: Ifa21b22ec2d6f9c1b2eb567ff2f5d0a3ebd1919e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-10 03:51:12 +00:00
Yu Shan
417ca2541a Avoid holding lock while calling recurrent actions.
This CL fixes a dead lock issue caused by RecurrentTimer holding
internal locks while calling actions. The dead lock is caused by
the following situation:
1. Caller holds a lock, call RecurrentTimer.registerCallback which
waits for RecurrentTimer's lock.
2. Another recurrent action happens at the same time. Recurrent
timer holds lock before calling the client action. The client action
is now waiting for the lock that is currently hold by 1.

Test: atest RecurrentTimerTest
Bug: 255574557
Change-Id: I3999f4e9cdf581cb851d5f49341dbcc0c160f234
(cherry picked from commit 93a821077e)
2022-12-09 21:41:59 +00:00
Antonio Kantek
be4c734096 Merge "Update CustomInputType functions comment" am: 3d008424b7 am: 6ff664e119
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2309968

Change-Id: Ie4ef94cfd34c8650c84f1e8cd19ee6a961bd46f2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-22 18:43:51 +00:00
Antonio Kantek
6ff664e119 Merge "Update CustomInputType functions comment" am: 3d008424b7
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2309968

Change-Id: Ia6ceef0dd32416aae1eb51902342f33f0e9b3ccc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-22 18:17:12 +00:00
Antonio Kantek
5dbc8f091b Update CustomInputType functions comment
Update CustomInputType functions comment to reflect that they are now optional and OEMs are free to use any int32 to represent an custom input event.

Bug: 255390449
Test: m (built)
Change-Id: I8878c1330f7fe3ba35ea10307a4ba4c4c88b1d57
2022-11-22 01:16:59 +00:00
Yu Shan
1d2d4dd1b7 Add INFO_VIN in reference VHAL.
This is for remote access HAL to use as device ID.
This CL is already included in internal branch but cannot be directly
cherry-picked due to refactoring in reference VHAL.

Test: Local build.
Bug: 255623880
Change-Id: Iec798ffa7df852e6c300d0dd18f2d599c58f2228
Merged-In: I682ab87ef1ff1839ecae92d05a4135810d92bee1
Merged-In: Iecc496e2a64a3270819cf90935ea6deec8a4c9f3
2022-10-26 17:37:58 -07:00
seanhong
f9a3f83eab DO NOT MERGE Add missing seat memory properties to DefaultConfig.h for CTS tests am: 458a13bc05
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/19775211

Change-Id: I43d81ddcac5f9766e1a233b60dde38cbed07e729
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-25 17:07:03 +00:00
TreeHugger Robot
0a4e57f8e8 Merge "DO NOT MERGE Add missing seat memory properties to DefaultConfig.h for CTS tests" into tm-qpr-dev 2022-10-25 16:29:31 +00:00
Yu Shan
3ab609e808 Merge "Add VHAL_SUPPORTED_PROPERTY_IDS to ref VHAL." into tm-qpr-dev am: d17a96da75
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/19936514

Change-Id: Ifa18aee13c337af85d3ae3dcee84bc9bb33e5f52
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-14 19:18:06 +00:00
Yu Shan
d17a96da75 Merge "Add VHAL_SUPPORTED_PROPERTY_IDS to ref VHAL." into tm-qpr-dev 2022-09-14 18:49:56 +00:00
Yu Shan
2842eb598d Add VHAL_SUPPORTED_PROPERTY_IDS to ref VHAL.
Add the special property VHAL_SUPPORTED_PROPERTY_IDS to ref VHAL
to test getting all property configs through multiiple requests.

Test: atest DefaultConfigSupportedPropertyIdsTest
Run gcar emulator and check HVAC property.
Bug: 243449202

Change-Id: I9e7e8e798044c363548b879db1c4f39841362bbd
Merged-In: I9e7e8e798044c363548b879db1c4f39841362bbd
2022-09-13 19:16:17 +00:00
seanhong
867e20834c DO NOT MERGE Add INFO_VIN to DefaultConfig.h for CTS tests am: 6562855190
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/19786258

Change-Id: I555a5776f92a293603829f17a2034180b0d761b2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-08 19:32:11 +00:00
Sean Hong
1c81f27837 Merge "DO NOT MERGE Add INFO_VIN to DefaultConfig.h for CTS tests" into tm-qpr-dev 2022-09-08 19:01:32 +00:00
Arati Gerdes
f823a30dcf DO NOT MERGE Add missing WINDOW_MOVE properties to DefaultConfig.h am: 76070519eb
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/19755625

Change-Id: Ic1818b03faf82198003d2a311b4d9bb449625b1c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-31 23:52:09 +00:00
Arati Gerdes
44c3a78ff1 Merge "DO NOT MERGE Add missing WINDOW_MOVE properties to DefaultConfig.h" into tm-qpr-dev 2022-08-31 23:41:13 +00:00
seanhong
72b2455477 DO NOT MERGE Add interior light switch properties to the emulator for am: 0c188ae232
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/19722984

Change-Id: I927740c60d901dc32f89ad9c85573d94c0d28ef3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-31 02:34:10 +00:00
seanhong
6562855190 DO NOT MERGE Add INFO_VIN to DefaultConfig.h for CTS tests
Test: atest CarPropertyManagerTest
Bug: 244335921
Change-Id: Iecc496e2a64a3270819cf90935ea6deec8a4c9f3
2022-08-30 19:21:38 +00:00
seanhong
458a13bc05 DO NOT MERGE Add missing seat memory properties to DefaultConfig.h for CTS tests
Test: atest CarPropertyManagerTest
Bug: 239613431
Change-Id: I000a3f918f8f2c3ceb90710f88a18f91a56d2479
2022-08-29 19:55:11 +00:00
Arati Gerdes
76070519eb DO NOT MERGE Add missing WINDOW_MOVE properties to DefaultConfig.h
Test: Built.
Bug: 239100623
Change-Id: I29e55f995a35bc3157f082be1b88a61495434b5c
2022-08-29 17:11:12 +00:00
seanhong
0c188ae232 DO NOT MERGE Add interior light switch properties to the emulator for
CTS tests

Test: atest CarPropertyManagerTest
Bug: 242740101
Change-Id: I072bb95f327869ae48782023ae144cce7a0b2be6
2022-08-23 22:52:33 +00:00
seanhong
ece89b1699 DO NOT MERGE Add interior light state properties to the emulator for CTS tests am: 1548acc785
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/19642615

Change-Id: Ib10363d193d58ab1f4bb39dacfab5837f3d1b3c3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-19 22:09:20 +00:00
Sean Hong
228e8afcef Merge "DO NOT MERGE Add interior light state properties to the emulator for CTS tests" into tm-qpr-dev 2022-08-19 21:45:34 +00:00
seanhong
321c95cb94 DO NOT MERGE Add SEAT_HEADREST_* properties to the emulator for am: 34e7cd0557
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/19628774

Change-Id: If17806bdbfd6215cb7d29a392e6e1c4174e5fbfb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-19 20:23:50 +00:00
Sean Hong
5b5822d966 Merge "DO NOT MERGE Add SEAT_HEADREST_* properties to the emulator for CTS tests" into tm-qpr-dev 2022-08-19 20:01:49 +00:00
seanhong
cea58d3f59 DO NOT MERGE Add seat lumbar properties to the emulator for CTS tests am: 88ebf20897
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/19487890

Change-Id: I0bbe554c95712cfce84ac9a418bac5fbeb9cf696
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-19 06:13:13 +00:00
Sean Hong
c6c69ced1a Merge changes I17742019,I2768b276 into tm-qpr-dev
* changes:
  DO NOT MERGE Add seat lumbar properties to the emulator for CTS tests
  DO NOT MERGE Add seat tilt properties to the emulator for CTS tests
2022-08-19 05:53:44 +00:00
seanhong
d70a0fdb0e DO NOT MERGE Add seat depth properties to the emulator for CTS tests am: 30e6d473ac
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/19472149

Change-Id: I852cd7d87cc5b71c99c04e63bc64b9da71a8b9be
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-18 17:30:35 +00:00
Sean Hong
f16caf5976 Merge "DO NOT MERGE Add seat depth properties to the emulator for CTS tests" into tm-qpr-dev 2022-08-18 17:10:52 +00:00
Tyler Trephan
f66fc94c79 DO NOT MERGE Added missing HVAC properties to DefaultConfig.h am: dcf03f135e
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/19569424

Change-Id: I4522d83d9c0bc64ceb9ac23081acfe8670bd069f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-18 16:28:22 +00:00
TreeHugger Robot
ed5949002b Merge "DO NOT MERGE Added missing HVAC properties to DefaultConfig.h" into tm-qpr-dev 2022-08-18 16:02:31 +00:00
seanhong
1548acc785 DO NOT MERGE Add interior light state properties to the emulator for CTS tests
Test: atest CarPropertyManagerTest
Bug: 242739801
Change-Id: Id2181fd33c2d821513d151f1fddc78de9b057627
2022-08-16 22:15:54 +00:00
seanhong
34e7cd0557 DO NOT MERGE Add SEAT_HEADREST_* properties to the emulator for
CTS tests

All the seat headrest properties have been added, but
SEAT_HEADREST_HEIGHT_POS is excluded because of b/242587816.

Test: atest CarPropertyManagerTest
Bug: 239613431
Change-Id: I07647daa241cf915476a1c696e1a467734f619d3
2022-08-15 23:13:09 +00:00
seanhong
88ebf20897 DO NOT MERGE Add seat lumbar properties to the emulator for CTS tests
Test: atest CarPropertyManagerTest
Bug: 239613431
Change-Id: I177420199437a6e8057aeb0e6f6cc06b38a0a4ce
2022-08-15 23:09:34 +00:00
seanhong
97d5113c26 DO NOT MERGE Add seat tilt properties to the emulator for CTS tests
Test: atest CarPropertyManagerTest
Bug: 239613431
Change-Id: I2768b2769616c4e34c04becb751c8aa26fc2379e
2022-08-15 23:09:25 +00:00
seanhong
30e6d473ac DO NOT MERGE Add seat depth properties to the emulator for CTS tests
Test: atest CarPropertyManagerTest
Bug: 239613431
Change-Id: I82ddae13db2c534c148a00e73c62dbbcc6d1b258
2022-08-15 23:09:06 +00:00
Shivani Ghanta
f26e88fed2 DO NOT MERGE Add missing CAR_MIRROR properties to DefaultConfig.h am: 16bf94da56
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/19573351

Change-Id: I5f1817815e250ae50947e52f6deb0c0a8ece0b63
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-15 21:30:36 +00:00
TreeHugger Robot
d8fb41ca1f Merge "DO NOT MERGE Add missing CAR_MIRROR properties to DefaultConfig.h" into tm-qpr-dev 2022-08-15 20:37:48 +00:00
Tyler Trephan
dcf03f135e DO NOT MERGE Added missing HVAC properties to DefaultConfig.h
Test: Built.
Bug: 237610879
Change-Id: I77f60bf6c3277527a556b924e7598778828bef4c
2022-08-15 20:27:23 +00:00
Yu Shan
d83b8df7bb Use a different timesource in recurrent timer. am: 8e532e6d82
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/19607640

Change-Id: I460f4dbd4fd74de43f0d33a55ab0f5240bd126b1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-12 23:13:52 +00:00
Yu Shan
8e532e6d82 Use a different timesource in recurrent timer.
Previously we used elapsedRealtimeNanos in recurrent timer which will
still go even if the system is in deep sleep. This causes all the
events "happened" during suspension to be replayed immediately
after the wake up, which causes a spam of messages. uptimeNanos
meanwhile, does not go if the system is in sleep, so we use that
instead.

Test: atest VehicleHalVehicleUtilsTest
Bug: 235262127
Change-Id: Ib67c2e2251af3231cefd875416d5bcb15953ba5e
Merged-In: Ib67c2e2251af3231cefd875416d5bcb15953ba5e
(cherry picked from commit 5e50873793)
2022-08-12 17:39:35 +00:00
Shivani Ghanta
16bf94da56 DO NOT MERGE Add missing CAR_MIRROR properties to DefaultConfig.h
Test: Built.
Bug: 241161716
Change-Id: I53a6686fec62df205139d8e994237c56f0da8428
2022-08-11 06:48:14 +00:00
Sean Hong
57d21d4d4d Merge "Add seat height properties to the emulator for CTS tests" into tm-qpr-dev am: c9d82cd796
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/19451676

Change-Id: I0f266cd16b4096f9a41dfa6a9d0da30c91de1b10
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-08 19:56:47 +00:00
seanhong
3ed6a4042c Add seat height properties to the emulator for CTS tests
Test: atest CarPropertyManagerTest
Bug: 239613431
Change-Id: I48cd904dec83878570736cb8e99f0e169be753d7
Merged-In: I48cd904dec83878570736cb8e99f0e169be753d7
2022-08-08 18:34:30 +00:00
Sean Hong
e7087a2d5d Merge "Add seat backrest properties to the emulator for CTS tests" into tm-qpr-dev am: 0c1b340132
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/19442108

Change-Id: Ib01d71c0f1f0578fc66403414d6aa64af8418f39
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-01 18:16:33 +00:00
Sean Hong
b1edb005b2 Merge "Add seat fore aft properties to the emulator for CTS tests" into tm-qpr-dev am: e47996f985
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/19436212

Change-Id: I15975f78d1b8c818c7e391025e6e026bf6bd6b86
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-01 18:16:07 +00:00
Sean Hong
0c1b340132 Merge "Add seat backrest properties to the emulator for CTS tests" into tm-qpr-dev 2022-08-01 17:58:20 +00:00
Sean Hong
e47996f985 Merge "Add seat fore aft properties to the emulator for CTS tests" into tm-qpr-dev 2022-08-01 17:57:38 +00:00