Commit graph

1608 commits

Author SHA1 Message Date
Treehugger Robot
7fd971398c Merge "Move canhalconfigurator to /system_ext" am: 02cbb00444
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2400612

Change-Id: I41e84ca85d96a4761eab9eaf9c3a4d9dddcd61ef
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-01 02:10:31 +00:00
Philip Chen
402ae986f0 Move canhalconfigurator to /system_ext
Let's move canhalconfigurator from the system partition to the
system_ext partition to share a common system image across internal
AAOS builds.

Bug: 263516803
Test: build and confirm the files are relocated
Change-Id: Ibd68797aa9356e3e80662442434d939eca955576
2023-01-23 23:07:39 +00:00
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
Xin Li
34eab1cf79 Merge Android 13 QPR1
Bug: 261731544
Merged-In: I4fe9ddd1c22ebfff03f5660ec9b01de2521f8533
Change-Id: Ic59ecf4fbb0438607c4069829426fbdfa7c7abd1
2022-12-09 10:29:52 -08:00
Steven Moreland
2e37f01273 Merge "graphics.common V3 -> V4" 2022-12-09 17:21:59 +00:00
Changyeon Jo
819113071d Fix how displays are used in test cases am: 017cb98ee9 am: 1186b99120 am: ed6ebed9f3
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2305821

Change-Id: I687ff1d38a350929060476001efd289ef5ca507a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-09 01:16:37 +00:00
Changyeon Jo
ed6ebed9f3 Fix how displays are used in test cases am: 017cb98ee9 am: 1186b99120
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2305821

Change-Id: Iad80f724c545d9d0e75a785a686e1ff5830a748d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-09 00:54:29 +00:00
Changyeon Jo
1186b99120 Fix how displays are used in test cases am: 017cb98ee9
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2305821

Change-Id: I95e906a94413fe0d896573fb66d27c84a9befb66
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-09 00:26:31 +00:00
Steven Moreland
55228cf00c Merge "graphics.common V3 -> V4" into tm-qpr-dev-plus-aosp 2022-12-08 18:53:32 +00:00
Marc Kassis
132900f4e1 graphics.common V3 -> V4
Bug: 251177105
Test: m
Change-Id: I1cb84ec85f98789d0737207a1661b39a25538c96
Merged-In: I1cb84ec85f98789d0737207a1661b39a25538c96
Merged-In: I2e1561f4ccb59a2a833af9a7afd07840ab2ebfa4
2022-12-08 13:20:59 +00:00
Treehugger Robot
673426770e Merge changes I3b0c6325,I40f97f4b am: a55e702324 am: 76c6b3a669
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2323902

Change-Id: If30240ff6efd244d0e4c16515338fef8dd00bc1a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-08 02:57:12 +00:00
Treehugger Robot
76c6b3a669 Merge changes I3b0c6325,I40f97f4b am: a55e702324
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2323902

Change-Id: Ib0d18654a7f7627fd464b07bd0f902c196f51d03
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-08 02:35:25 +00:00
Yu Shan
df39d6e450 Fix a race condition in remote access HAL.
We should not delete ClientContext after we TryCancel it since the
reader in the main task loop might still access it, e.g., while
calling reader->Finish. We must wait under reader->Finish is
returned, then to delete the ClientContext.

This CL also updates README.md to incorporate soong namespace change.

Test: manually test on sdk_car_x86_64-userdebug
Run TestWakeupClientServer
Run --set-ap-state 1 0 and then --set-ap-state 0 0 multiple times.
Bug: 261234399

Change-Id: I3b0c632546c218c4ced43af95a585cd41e0da036
2022-12-07 15:20:06 -08:00
Yu Shan
1532afd33c Define a new remoteaccess HAL for test.
Bug: 261108682
Test: Locally build and run

Change-Id: I40f97f4b10714096a32c5b14c8716b6c8e413419
2022-12-07 15:17:48 -08:00
Marc Kassis
9c428fe3ed graphics.common V3 -> V4
Bug: 251177105
Test: m
Change-Id: I816b8e14a0741402090cdc4732c2a904e830ff4e
Merged-In: I1cb84ec85f98789d0737207a1661b39a25538c96
Merged-In: I2e1561f4ccb59a2a833af9a7afd07840ab2ebfa4
2022-12-07 10:53:12 +00:00
Changyeon Jo
017cb98ee9 Fix how displays are used in test cases
Open and close the display for each camera instance.

Bug: 259449376
Test: atest VtsHalEvsTargetTest VtsHalEvsV1_1TargetTest
Change-Id: I0f3d2c0b2c9f8a5e527d0abd5c9b248c84dddfbb
2022-12-04 08:17:44 +00:00
Yu Shan
a3096b8487 Allow specifying the service address. am: 8605e7bd3a am: 132b0843f7
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2324638

Change-Id: I4be50bee16f38c612b2eeb186c932e86318b038a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-03 01:54:44 +00:00
Yu Shan
132b0843f7 Allow specifying the service address. am: 8605e7bd3a
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2324638

Change-Id: Ie24e83822fe73c6e58791a321da1dba7a5bd1bbf
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-03 01:24:40 +00:00
Yu Shan
8605e7bd3a Allow specifying the service address.
This will be useful for testing in different environment, e.g.
emulator v.s. phone where multiple ethernet interface might be
available and we need to explicitly pick an interface to start
the server.

Test: Manual test
Bug: None
Change-Id: I3c046e9549225058178346f529773cffa841ce07
2022-12-02 15:44:59 -08:00
Treehugger Robot
fd967e7cd8 Merge "Change default wakeup required to true." am: 116f179012 am: 4ade1330fe
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2322456

Change-Id: Ib795bb3f3c9b3513058e92a61baf4683723e1487
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-30 20:57:44 +00:00
Treehugger Robot
4ade1330fe Merge "Change default wakeup required to true." am: 116f179012
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2322456

Change-Id: Ib455a466f80e5afcffab1aef92881f2ee9c9dc32
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-30 20:29:26 +00:00
Yu Shan
7123885bd9 Change default wakeup required to true.
By default, TCU should always try to wake up AP until it receives
wakeup not required from AP.

Test: None
Bug: 254547153
Change-Id: If4d1111aae1d13f121230360317615ea4ba0302f
2022-11-29 17:44:19 -08: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
3d008424b7 Merge "Update CustomInputType functions comment" 2022-11-22 17:49:46 +00:00
Treehugger Robot
fb7e5d604c Merge "Define ApPowerControl library." am: c84a388681 am: 961df05a14
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2299437

Change-Id: I82d5926fa9e390ca23e31fa3cbc1d23dfc71c140
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-22 01:22:08 +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
Treehugger Robot
961df05a14 Merge "Define ApPowerControl library." am: c84a388681
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2299437

Change-Id: I65f98534649ab995550a17fa9218ed94b7520915
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-22 00:54:48 +00:00
Yu Shan
fb0cc2241a Define ApPowerControl library.
Define a library for the communication channel between TCU and
application processor. This library will be implemented with
device-specific logic.

Test: local compile
Bug: 254547153
Change-Id: I241ba141f9a5a4a3852017e291fbbc08cadf2bfe
2022-11-21 13:47:01 -08:00
Yu Shan
e0ada0cfcc Update README for TestWakeupClientServer. am: 1b66644304 am: 2904d54014
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2271981

Change-Id: I446106848249e2c6a89292e5a516404af5725150
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-28 02:52:38 +00:00
Yu Shan
2904d54014 Update README for TestWakeupClientServer. am: 1b66644304
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2271981

Change-Id: Iefc59077e3816313569fa7f05ec187e9849fc99b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-28 02:20:16 +00:00
Yu Shan
27c29f2cdf Add remote access HAL interface and ref impl. am: 7a5283fda1 am: bf06ca6da7
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2269305

Change-Id: Ibb61505b8a767c75d0f565b8556078c6548b74a0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-27 22:22:44 +00:00
Yu Shan
bf06ca6da7 Add remote access HAL interface and ref impl. am: 7a5283fda1
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2269305

Change-Id: I3c61306d7ceccc1fdcb3a20d88236011e9f82585
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-27 21:53:50 +00:00
Yu Shan
1b66644304 Update README for TestWakeupClientServer.
Change-Id: I6893bcacc32bbfe33646d19599301be6d8aa6b61
Test: Locally follow instruction.
Bug: 255623880
2022-10-27 14:22:20 -07: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
Yu Shan
7a5283fda1 Add remote access HAL interface and ref impl.
Add remote access HAL interface and reference implementation. This
CL is a merge of multiple CLs commited in internal master.

Test: Presubmit
Bug: 241170646
Change-Id: I55ba98015055d779a362cac05a9f68650b5b92ab
Merged-In: I332221b303274463dfa5b46d78cf0d81f6045e4b
2022-10-26 17:16:05 -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
Changyeon Jo
a6e880a398 Remove color format constraints am: e6bb228dc6 am: 9b60ecd229
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2188343

Change-Id: I16002aae2f76e58380f72a131229a381cb11ca56
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-15 22:36:12 +00:00
Changyeon Jo
4cbdc86584 Corrects color format requirements am: bfbbba6300 am: 217a6ff310
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2182380

Change-Id: I5320446feba732ffdfeb14b8305634afa6506aad
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-15 22:34:28 +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
Changyeon Jo
7f5ad61254 Remove color format constraints
VtsHalEvsTargetTest does not verify any behavior depending on
a frame buffer's color format.

Bug: 240685726
Test: atest VtsHalEvsTargetTest
Change-Id: If8b8c595cfc7404a8122728593f778528b45af15
(cherry picked from commit 849d0f370c)
2022-09-09 16:05:53 +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