Commit graph

1626 commits

Author SHA1 Message Date
Treehugger Robot
d65d1a6b64 Merge "Fix the missing std" am: 39337adcc9 am: a4ab908631
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2468920

Change-Id: I8b172f905230c87edc96c4919fc0c7785e641043
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-03 17:11:26 +00:00
Treehugger Robot
a4ab908631 Merge "Fix the missing std" am: 39337adcc9
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2468920

Change-Id: I152bcab905b232b5fc7e2a2cdf48735caf9edd11
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-03 17:08:03 +00:00
zijunzhao
ab9e5bcdea Fix the missing std
Bug: b/239662094
Test: enable Wunqualified-std-cast-call locally and run m to build
Change-Id: Ifc51be5ee13296e9711c91ffac320d1cc7048ff0
2023-03-03 03:42:02 +00:00
Treehugger Robot
4edb0654f5 Merge "Update OWNERS file" am: 83248af588 am: d41829ab33
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2458408

Change-Id: I4f5c04b1b345fa6b6e711eed99c5b2f2a0431ee0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-01 06:11:56 +00:00
Treehugger Robot
d41829ab33 Merge "Update OWNERS file" am: 83248af588
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2458408

Change-Id: Idf9c91f8d7aaa5e0c5afbe7ab0adcb4da1f570fe
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-01 05:34:00 +00:00
Treehugger Robot
83248af588 Merge "Update OWNERS file" 2023-03-01 04:53:11 +00:00
Treehugger Robot
3d7c3ced96 Merge "audio: Add AudioOffloadMetadata and a method to update it" am: e18f77b983 am: 38cf924450
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2459291

Change-Id: I7ba9cf4b567c39f84d9d1d7b599975bf80d9330c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-01 03:54:12 +00:00
Treehugger Robot
38cf924450 Merge "audio: Add AudioOffloadMetadata and a method to update it" am: e18f77b983
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2459291

Change-Id: I1bdc96dabb6b647c33e379e858c08d0e6a8e7ba5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-01 03:05:10 +00:00
Mikhail Naganov
d150942aa7 audio: Add AudioOffloadMetadata and a method to update it
AudioOffloadMetadata contains the same information
as 'AUDIO_OFFLOAD_CODEC_*' framework parameters.
It is updated via a new method IStreamOut.updateOffloadMetadata
which only works for compressed offload streams.

Bug: 270731693
Test: atest VtsHalAudioCoreTargetTest
Change-Id: I6c8a8853f216438284082f79e3f57e511a2a1f06
Merged-In: I6c8a8853f216438284082f79e3f57e511a2a1f06
2023-02-28 19:26:14 +00:00
Changyeon Jo
24d22eb9df Update OWNERS file
Bug: 270900095
Test: Treehugger
Change-Id: Ieb0bf7eacb039db53da61207f2cb4ff70641bf75
2023-02-27 16:05:58 +00:00
Jusik Chung
ce60031f6e Merge "VHAL for PERF_VEHICLE_SPEED_DISPLAY." into tm-qpr-dev am: 2549d56990
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/21475566

Change-Id: I5ea8be5f964004b670edd3874f6c948fac2268c7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-22 01:34:00 +00:00
Jusik Chung
c36d6be8ff VHAL for PERF_VEHICLE_SPEED_DISPLAY.
Bug: 261934875
Bug: 261943854
Test: adb shell cmd car_service get-property-value 0x11600208
Change-Id: I0390189129ebd41a913f5fc0f903a0ee22b226d7
Merged-In: Ifdd41da591e8c352326a247f65a59cda36b76981
2023-02-21 23:56:29 +00:00
Treehugger Robot
389d9a2904 Merge "Move canhalconfigurator to /system_ext" am: 02cbb00444 am: 7fd971398c
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2400612

Change-Id: I8a405b9362bc776cdbf9eb2eed98f7a7c52459ac
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-01 02:47:12 +00:00
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
Changyeon Jo
a613b2e812 Fix how displays are used in test cases am: 017cb98ee9 am: b536f21f4c am: f1ccb71825
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2305821

Change-Id: Ibddcf3a941ffa3cd306bd56cff2127e9df17dd5f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-25 20:37:37 +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
Shrikar Amirisetty
1d7be47b7b Merge "Change default units to be consistent in tm-qpr-dev/DefaultConfig.h" into tm-qpr-dev am: 53cb2459e8
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/20814765

Change-Id: Ibe4529d4e61d574076ee2a72e573fa4eaaeaf1e6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-20 19:16:07 +00:00
Shrikar Amirisetty
53cb2459e8 Merge "Change default units to be consistent in tm-qpr-dev/DefaultConfig.h" into tm-qpr-dev 2023-01-20 18:36:37 +00:00
shrikar
f331f1202f Change default units to be consistent in tm-qpr-dev/DefaultConfig.h
Bug: 259879204
Test: atest CarPropertyManagerTest
Change-Id: I6060ffbce028dc95091e2b002b594a5b6a5eed48
Merged-In: Ib159f781f61de8a7cd1498ad2a07e5dbd0eca734
2023-01-19 17:07:33 +00:00
Samip Garg
654a97357b Merge "Snap tm-dev to android13-tests-dev" into tm-dev am: 5a1bde04ae am: a9e748a594
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/20513348

Change-Id: If1acda13d3e9b84536dc545e7c50dd2ee898a8eb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-16 04:00:05 +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