Commit graph

66327 commits

Author SHA1 Message Date
Yu Shan
9d3513882a Add host_supported to VHAL libs.
We need to build a FakeVehicleHardware impl on host, thus we need
to add the host_supported option.

Test: Local build on host.
Bug: 328316981
Change-Id: Ia21d26640c465846423cab1a0ff8a283c798b92a
2024-05-20 12:14:44 -07:00
Yu Shan
2d39ee63bc [automerger skipped] Initialize mAddExtraTestVendorConfigs to false. am: fe49375ba9 am: a686732e8b -s ours
am skip reason: Merged-In I18a3688a446dd969545e1fc2cb5f63210c3c02cd with SHA-1 2c83e2a799 is already in history

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3093715

Change-Id: Ia1452e1f074041e519aa394d9dc900f26d71d664
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-20 16:16:47 +00:00
Yu Shan
a686732e8b Initialize mAddExtraTestVendorConfigs to false. am: fe49375ba9
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3093715

Change-Id: I4cd086e6654b12229f113d1c16e7647592c766cd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-20 15:59:26 +00:00
Yu Shan
fe49375ba9 Initialize mAddExtraTestVendorConfigs to false.
If we do not init, the initial value is undefined.

Test: Local run
Bug: 340947823
Flag: EXEMPT bugfix
Change-Id: I18a3688a446dd969545e1fc2cb5f63210c3c02cd
Merged-In: I18a3688a446dd969545e1fc2cb5f63210c3c02cd
2024-05-17 18:01:29 -07:00
Ying Wei
af54782a2a Improve log message.
Add more information to the failure message: now it looks something like `Failed to get a callback for Display 0 switching from {Config 38: vsyncPeriod 4166666, minFrameIntervalNs 16666667} to {Config 37: vsyncPeriod 8333333, minFrameIntervalNs 8333333}` instead of `failed to get a callback for the display 0 with config 37`

Test: atest VtsHalGraphicsComposer3_TargetTest:PerInstance/GraphicsComposerAidlCommandV2Test#SetRefreshRateChangedCallbackDebugEnabled_SetActiveConfigWithConstraints/0_android_hardware_graphics_composer3_IComposer_default

Bug: 340971724
Change-Id: Id2a1030a9b12e86bda8f6031e79a8374227f4061
2024-05-17 16:31:12 +00:00
David Drysdale
6c4bc494ee Merge "Delete standard output in VtsAidlKeyMintTargetTest" into main am: fd7119ea67 am: 77c246444b
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3088725

Change-Id: I700c9aa0e817c21ac50e3d0ecfc9d757b659390f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-17 06:26:27 +00:00
David Drysdale
77c246444b Merge "Delete standard output in VtsAidlKeyMintTargetTest" into main am: fd7119ea67
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3088725

Change-Id: If25b988a3ee62aaf57abed5bdcdb905b3fcc81fe
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-17 06:13:16 +00:00
David Drysdale
fd7119ea67 Merge "Delete standard output in VtsAidlKeyMintTargetTest" into main 2024-05-17 05:59:57 +00:00
Automerger Merge Worker
30cade06c3 Merge "Merge "Thread: simulate radio over Ethernet on Cuttlefish" into main am: ca7d810a50 am: a3a516bd61" into main 2024-05-17 04:22:03 +00:00
Yakun Xu
4a3425169d Merge "Thread: simulate radio over Ethernet on Cuttlefish" into main am: ca7d810a50 am: a3a516bd61
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3079506

Change-Id: I88889dd1a05268bdd0379004bccbed093a832cb4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-17 04:21:47 +00:00
Yakun Xu
9501bc2d46 Merge "Thread: simulate radio over Ethernet on Cuttlefish" into main am: ca7d810a50 am: a3a516bd61
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3079506

Change-Id: I77f082cbdb1a94dcde437bf5142e9a6f8472ba92
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-17 04:21:32 +00:00
Yakun Xu
a3a516bd61 Merge "Thread: simulate radio over Ethernet on Cuttlefish" into main am: ca7d810a50
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3079506

Change-Id: Ice13cb76c1f1746006809a4719e5f02e437d7986
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-17 04:11:56 +00:00
Yakun Xu
ca7d810a50 Merge "Thread: simulate radio over Ethernet on Cuttlefish" into main 2024-05-17 03:52:14 +00:00
Mikhail Naganov
4fe8021f09 bluetooth: Add 'defaults' for 'android_hardware_bluetooth_audio'
Add defaults for the case when the library is used
from within 'target/android'.

Also, switch 'BluetoothLeAudioCodecsProviderTest' to use
'defaults' instead of hardcoding the interface module version.

Bug: 307310023
Test: m
Change-Id: I7e5e70efe6a733367a8b5cbe5cffbfddf610cc6b
2024-05-16 20:00:49 -07:00
Yakun Xu
c7897c3beb Thread: simulate radio over Ethernet on Cuttlefish
This commit simulates Thread radio over Ethernet on cuttlefish.

This enables two cuttlefish instances to communicate over Thread.

Test: presubmit
Bug: 329188649

Change-Id: I48b20a9eb0bbc535e67266ca9cf7e4bbc5a676d4
2024-05-16 16:30:34 +08:00
Alice Wang
59e2a0804f Merge "Run VtsHalRemotelyProvisionedComponentTargetTest only on V+ devices" into main am: 938c0177e3 am: 04e1d59cdc
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3084447

Change-Id: Ib95a67a47d94f33e756b3e9d017525e9cd66f338
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-16 08:07:47 +00:00
Alice Wang
04e1d59cdc Merge "Run VtsHalRemotelyProvisionedComponentTargetTest only on V+ devices" into main am: 938c0177e3
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3084447

Change-Id: I5f0198585211bc134dcc914acfc8b6dfd884db4d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-16 07:49:15 +00:00
Alice Wang
938c0177e3 Merge "Run VtsHalRemotelyProvisionedComponentTargetTest only on V+ devices" into main 2024-05-16 07:35:35 +00:00
Wei Li
d2cb691bc5 Move license metadata declarations to meta-lic.mk and remove the Android.mk file. am: 6408ece9c4 am: 41ee3e263c
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3089947

Change-Id: I24c897ddf02674d5f155c9f7393d1c46724a4975
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-16 07:03:01 +00:00
Wei Li
41ee3e263c Move license metadata declarations to meta-lic.mk and remove the Android.mk file. am: 6408ece9c4
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3089947

Change-Id: I3b650bc0966b09b8d5d3c8b24a0980acd970b8d4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-16 06:45:45 +00:00
Yu Shan
2c83e2a799 Initialize mAddExtraTestVendorConfigs to false.
If we do not init, the initial value is undefined.

Test: Local run
Bug: 340947823
Flag: EXEMPT bugfix
Change-Id: I18a3688a446dd969545e1fc2cb5f63210c3c02cd
2024-05-15 23:49:48 +00:00
Wei Li
6408ece9c4 Move license metadata declarations to meta-lic.mk and remove the Android.mk file.
Bug: 340935319
Test: CIs
Change-Id: Icee73eeb412e94f13a83548006e48093d224ed57
2024-05-15 14:38:00 -07:00
Alice Wang
46ff286f6d Run VtsHalRemotelyProvisionedComponentTargetTest only on V+ devices
Bug: 340188780
Test: atest VtsHalRemotelyProvisionedComponentTargetTest
Change-Id: Id20a01b23324eb46620d96bd29c30b8cf9acd162
2024-05-15 15:27:26 +00:00
Huang Rui
ca3ea117ef Delete standard output in VtsAidlKeyMintTargetTest
The Done flag of VtsAidlKeyMintTargetTest is false during running
the module with ‘--collect-tests-only’ because it uses standard
output to print logs.

Bug: 340576534
Test: run vts -m VtsAidlKeyMintTargetTest --collect-tests-only

Change-Id: I3d81f7e59b6189fab1b146320263509f2694c11e
Signed-off-by: Huang Rui <rui1.huang@intel.com>
Signed-off-by: Liu Kai <kai1.liu@intel.com>
2024-05-15 11:42:59 +01:00
Treehugger Robot
65c765a8a6 Merge "Keep track of DeathMonitor cookies" into main 2024-05-15 00:13:44 +00:00
Ray Chin
fdaed0bf20 Fix force setting environment variable error am: b3d5fef7c2 am: be10911bd4 am: 44ad15bd42 am: 034ea0d4cb
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3081420

Change-Id: I2a91ce096c0136a56cb516cc4127e10557b02755
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-14 18:09:14 +00:00
Ray Chin
d132ca24c9 Fix force setting environment variable error am: b3d5fef7c2 am: 0ff8e76b77 am: 313d0a0efb
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3081420

Change-Id: I0d846b1beb760a427b967258e2da72a7980cd67e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-14 17:56:18 +00:00
Ray Chin
034ea0d4cb Fix force setting environment variable error am: b3d5fef7c2 am: be10911bd4 am: 44ad15bd42
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3081420

Change-Id: Ia6263772ee84a2805d78ce83bfbae50ee820baac
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-14 17:48:39 +00:00
Ray Chin
ebca97b86d Fix force setting environment variable error am: b3d5fef7c2 am: be10911bd4 am: e0e9887b79
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3081420

Change-Id: Ib7935c96eba58ce18447c9391868e74abd7d3bf6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-14 17:48:32 +00:00
Ray Chin
313d0a0efb Fix force setting environment variable error am: b3d5fef7c2 am: 0ff8e76b77
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3081420

Change-Id: I4e6b00c5035ddeeb713403ae29764f898292dac6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-14 17:32:05 +00:00
Ray Chin
e0e9887b79 Fix force setting environment variable error am: b3d5fef7c2 am: be10911bd4
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3081420

Change-Id: Ia9b1e226155a5e5f49336d2a13c8880061c82a2d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-14 17:31:20 +00:00
Ray Chin
44ad15bd42 Fix force setting environment variable error am: b3d5fef7c2 am: be10911bd4
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3081420

Change-Id: Icb7f65ef86714a7aa48ff7cc5404ac4dc52d9fe9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-14 17:30:52 +00:00
Ray Chin
be10911bd4 Fix force setting environment variable error am: b3d5fef7c2
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3081420

Change-Id: I7c98a2b088e4b39fb64213a7727be5592d23fd7f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-14 16:31:56 +00:00
Ray Chin
0ff8e76b77 Fix force setting environment variable error am: b3d5fef7c2
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3081420

Change-Id: Ic935cec30726e7b84f014d0d41569ab99800704c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-14 16:25:27 +00:00
Ray Chin
b3d5fef7c2 Fix force setting environment variable error
Bug: 339612366
Test: no need
Change-Id: I3194b3b385a8f02332ac848b4fcab10090486173
2024-05-14 13:16:38 +08:00
Treehugger Robot
dd57e23cdb Merge "audio: Fix after aosp/2908743 (exit command handling)" into main am: b5d5a9fa01 am: bdd3406585
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3084709

Change-Id: I6c7c6831038faa643374db2b8b8cf328a48c81db
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-14 01:47:43 +00:00
silens
a59700bbba flag: add leaudio_report_broadcast_ac_to_hal
Report broacast audio config to HAL

Bug: 321168976
Bug: 339121774
Test: atest --host bluetooth_test_broadcaster
Change-Id: I02778ed7ac5d756d89fe6d6538e2f806b7e857bc
2024-05-14 01:40:47 +00:00
Treehugger Robot
bdd3406585 Merge "audio: Fix after aosp/2908743 (exit command handling)" into main am: b5d5a9fa01
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3084709

Change-Id: Ie199890196b3e649a24208912105a2139379dacd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-14 01:25:39 +00:00
Treehugger Robot
b5d5a9fa01 Merge "audio: Fix after aosp/2908743 (exit command handling)" into main 2024-05-14 00:49:27 +00:00
Gautam Raychaudhury
15dd1a9e23 [automerger skipped] Fix failures in VtsHalRadioV1_5TargetTest am: beff3324c7 -s ours am: 34fa85ded5 -s ours am: 607fe04706 -s ours
am skip reason: skipped by sarahchin

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3079503

Change-Id: Id4c661f75edbf519f84be86fc82d3942ae8f3c08
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-14 00:01:59 +00:00
Mikhail Naganov
6a5748a02e audio: Fix after aosp/2908743 (exit command handling)
In aosp/2908743, the intended behavior of the "halReservedExit"
command (stream exit) was inadventedly changed. Instead of
exiting from the thread's loop only when the cookie has
the expected value, it was actually exiting when the cookie
value is any but zero. The intended behavior is as follows:

 - the cookie has expected value: do not send reply, exit loop;
 - the cookie has unexpected but non-zero value: ignore,
     do not send reply (that's the point of using the cookie);
 - the cookie has a zero value: ignore, send a reply (this is
     for VTS testing).

Bug: 300181540
Test: atest VtsHalAudioCoreTargetTest
Change-Id: I9945eb0ba9042993adac8599b18f241c4f69ca7a
2024-05-13 16:38:11 -07:00
Gautam Raychaudhury
607fe04706 [automerger skipped] Fix failures in VtsHalRadioV1_5TargetTest am: beff3324c7 -s ours am: 34fa85ded5 -s ours
am skip reason: skipped by sarahchin

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3079503

Change-Id: I2cade4bfd76c0f23adef6fc5041f70561eed76fb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-13 23:27:09 +00:00
Gautam Raychaudhury
be893c9048 [automerger skipped] Fix failures in VtsHalRadioV1_5TargetTest am: beff3324c7 am: e56a403d37 am: 3ef90dce12 am: 19e1b3cf89 -s ours
am skip reason: skipped by sarahchin

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3079503

Change-Id: I4889527aedc3c7495741a275370c8f83d70f962c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-13 23:03:01 +00:00
Gautam Raychaudhury
34fa85ded5 [automerger skipped] Fix failures in VtsHalRadioV1_5TargetTest am: beff3324c7 -s ours
am skip reason: skipped by sarahchin

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3079503

Change-Id: Icc597971be32ddce4e6de9de4e01767942d3cf1c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-13 23:02:58 +00:00
Gautam Raychaudhury
847850fd19 [automerger skipped] Fix failures in VtsHalRadioV1_5TargetTest am: beff3324c7 am: e56a403d37 am: f862c2c2ea -s ours
am skip reason: skipped by sarahchin

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3079503

Change-Id: If405e09679b4525ee4e0d7b3fd5dfd4f35002f25
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-13 23:02:27 +00:00
Gautam Raychaudhury
19e1b3cf89 Fix failures in VtsHalRadioV1_5TargetTest am: beff3324c7 am: e56a403d37 am: 3ef90dce12
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3079503

Change-Id: Ifb7fd30558c1735e62c28a8c17d78cd5a4651794
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-13 22:03:15 +00:00
Gautam Raychaudhury
f862c2c2ea Fix failures in VtsHalRadioV1_5TargetTest am: beff3324c7 am: e56a403d37
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3079503

Change-Id: Iabc5fa9fb7904bfc33fc39dcda0f24765cd35550
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-13 21:41:35 +00:00
Gautam Raychaudhury
3ef90dce12 Fix failures in VtsHalRadioV1_5TargetTest am: beff3324c7 am: e56a403d37
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3079503

Change-Id: Ia3ed4a104dbb0bff65dbdbd52ade54f28b2858be
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-13 21:40:31 +00:00
Gautam Raychaudhury
e56a403d37 Fix failures in VtsHalRadioV1_5TargetTest am: beff3324c7
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3079503

Change-Id: I6fbf48498e4249506b05bc2150ca7dcd2ea9141d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-13 21:25:54 +00:00
Yomna Nasser
b19c654415 Merge "Mark cellular security transparency APIs optional" into main am: a95aa0fe46 am: 5dcb2ad7a9
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3077418

Change-Id: I7a60a7254f8d42cd56acc7b6de86bff36bd1e7ca
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-13 21:25:27 +00:00