Commit Graph

59109 Commits

Author SHA1 Message Date
Devin Moore
239a4dedf8 Merge "Remove HIDL audio HAL from compat matrix 9" into main am: da9b02c52d
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2895324

Change-Id: I6926579bb09ea661e3d999de96a0a687dc3b4047
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-04 00:10:25 +00:00
Devin Moore
da9b02c52d Merge "Remove HIDL audio HAL from compat matrix 9" into main 2024-01-03 23:32:21 +00:00
Devin Moore
c4b896e586 Remove HIDL audio HAL from compat matrix 9
It's replaced by the AIDL audio HAL.

Test: m
Bug: 264712385
Change-Id: I680a7bb58e636c0ed86dc2a72a27322ee163685c
2024-01-03 22:48:16 +00:00
Yu Shan
0a68ab7149 Merge "Fix AIDL VHAL metadata extraction script" into main am: 355e79f1b4
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2890512

Change-Id: I85d5a3115cc188c9a33700291305300d91cf511d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-03 22:33:43 +00:00
Yu Shan
355e79f1b4 Merge "Fix AIDL VHAL metadata extraction script" into main 2024-01-03 21:55:29 +00:00
Shunkai Yao
04a73fca69 Merge "Update comment about headTrackingSensorId" into main am: 42876b8011
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2896201

Change-Id: I76088205be2a424a8663802f2ed66d2bed04e0aa
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-03 21:44:44 +00:00
Shunkai Yao
42876b8011 Merge "Update comment about headTrackingSensorId" into main 2024-01-03 21:22:18 +00:00
Treehugger Robot
76268cc57d Merge "Audio Effect VTS: run Dowmmix data path test only after HAL version 2" into main am: 8c00013594
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2894923

Change-Id: Ibe9fe3475d928a2bb6ddcfa0b92fbde56c82286d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-03 20:40:52 +00:00
Shunkai Yao
d090afe1af Update comment about headTrackingSensorId
Bug: 317405349
Test: m, aidl-format
Change-Id: I5f4b0e931c073d87b1a30a55c39e614d24a63030
2024-01-03 19:50:15 +00:00
Treehugger Robot
8c00013594 Merge "Audio Effect VTS: run Dowmmix data path test only after HAL version 2" into main 2024-01-03 19:45:02 +00:00
Treehugger Robot
5151c1f477 Merge "Camera: Add missing characteristics for using buffermanager in ExternalCamera" into main am: 4103ef0c5a
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2884368

Change-Id: Idf40f617b46e3d156688ff3dce5cc1869e4db748
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-03 19:19:47 +00:00
Treehugger Robot
4103ef0c5a Merge "Camera: Add missing characteristics for using buffermanager in ExternalCamera" into main 2024-01-03 18:59:01 +00:00
Shunkai Yao
6b7784edfe Audio Effect VTS: run Dowmmix data path test only after HAL version 2
Bug: 315074570
Test: VtsHalDownmixTargetTest
Change-Id: Iaa17519521f136901ec217f7d5b5fd0d03889533
2024-01-03 18:46:00 +00:00
Spandan Das
bb3348a42d Merge "Make availability to com.android.tethering explicit" into main am: bce73c83b0
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2889306

Change-Id: I99842514c6927051aa8d1665985888d180d20267
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-03 18:16:37 +00:00
Spandan Das
bce73c83b0 Merge "Make availability to com.android.tethering explicit" into main 2024-01-03 17:46:31 +00:00
Victor Shutemov
1e14bd55bd Fix AIDL VHAL metadata extraction script
Add capability to process values from imports.
Update json metadata file with new data.

Testing:
1. cd hardware/interfaces/automotive/vehicle/aidl/emu_metadata
2. ./generate_emulator_metadata.py ../../aidl_property/android/hardware/automotive/vehicle out.json

Bug: 317529575
Test: manual
Change-Id: I315f1f75c2372796bde3bdacd39246344579c002
2024-01-03 13:25:57 +01:00
Yu Shan
c231cfb6c2 Merge "Fixed spelling mistake in LaneCenteringAssistCommand" into main am: 5df990f75d
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2890071

Change-Id: Ifbd09507c02781353519dc376c355bb03affb478
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-29 01:23:45 +00:00
Yu Shan
5df990f75d Merge "Fixed spelling mistake in LaneCenteringAssistCommand" into main 2023-12-29 01:00:43 +00:00
Mikhail Naganov
663f355b7a Merge changes from topic "cuttlefish_aidl_audio-3" into main am: 5f50cd6320
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2889786

Change-Id: I377058af53f2ac65941da6c84deb22d688fd9562
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-28 23:32:26 +00:00
Mikhail Naganov
ca98d3982f audio: Add test configs for effects VTS tests am: b80de7bcd7
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2890072

Change-Id: Ia1b3c1aa17fd406f7246a58373437eeb0cae1ba7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-28 23:32:15 +00:00
Mikhail Naganov
5f50cd6320 Merge changes from topic "cuttlefish_aidl_audio-3" into main
* changes:
  Revert "Add remote submix direct paths"
  audio: Add test configs for effects VTS tests
2023-12-28 22:53:57 +00:00
Steven Moreland
71d3a7ccbc Merge "BufferPoolClient: avoid dereference null accessor" into main am: 85333361c1
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2889801

Change-Id: I4b1dbf1a83ca968af93e860ed92baaec5640b51c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-28 03:51:29 +00:00
Steven Moreland
85333361c1 Merge "BufferPoolClient: avoid dereference null accessor" into main 2023-12-28 03:16:32 +00:00
Mikhail Naganov
b80de7bcd7 audio: Add test configs for effects VTS tests
The main purpose of the config is to shut down the framework
audioserver while the VTS test is running. This is achieved by
setting 'vts.native_server.on' to '1'. Without this, restarts
of the effects HAL process which are a normal part of tests
affect the audioserver and may lead to failures of framework
tests that run interleaved with these VTS tests.

Bug: 264712385
Test: atest --test-mapping hardware/interfaces/audio/aidl/vts
Change-Id: I2515cb62e46ef8e93cbddb2c0219f4523d2ecda5
2023-12-27 15:54:30 -08:00
Mikhail Naganov
27719f12e8 Revert "Add remote submix direct paths"
This reverts commit ce9767a966.

Please see the comment on aosp/2832731. This configuration
leads to anomalous framework behavior.

Bug: 311830316
Test: atest audiorouting_tests
Change-Id: I5be3ac18819e297aa199c5a0f5d2e85758448b4b
2023-12-27 15:54:30 -08:00
Steven Moreland
483e69f4eb BufferPoolClient: avoid dereference null accessor
Bug: 308739058
Test: N/A
Change-Id: I568e9d82976a1f7d7278748f347a17eb6f93fc79
2023-12-27 22:55:36 +00:00
Tyler Trephan
35bf32ff0f Fixed spelling mistake in LaneCenteringAssistCommand
Test: None
Bug: 290972334
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:077e36dee61db38ad8d0e28a62542e571e2921ae)
Merged-In: Ic85ba803abe349ea9a7edd7dca5cbe7159df34ac
Change-Id: Ic85ba803abe349ea9a7edd7dca5cbe7159df34ac
2023-12-27 20:02:52 +00:00
Mikhail Naganov
002c58fafd Merge changes from topic "fix-aidl-mix-ports-and-bt" into main am: eafa78c929
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2877679

Change-Id: I5c39c9531794b3193d2a477c6854cd676475ad99
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-27 04:05:15 +00:00
Mikhail Naganov
de6a93d47d audio r_submix: Suggest configuration from the peer am: 3b732895a8
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2886671

Change-Id: I6f7aecbe65da1a4ea555e812c640a2b3b43f7fff
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-27 04:05:12 +00:00
Mikhail Naganov
8cb953b071 audio: Refactor configuration population am: a92039ac48
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2886670

Change-Id: I3594561197a36aa377816458ab1a324ee61410da
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-27 04:05:07 +00:00
Mikhail Naganov
eafa78c929 Merge changes from topic "fix-aidl-mix-ports-and-bt" into main
* changes:
  audio: Fix BT AIDL HAL module implementation
  audio r_submix: Suggest configuration from the peer
  audio: Refactor configuration population
2023-12-27 03:42:02 +00:00
Mikhail Naganov
a88cf60b87 audio: Fix BT AIDL HAL module implementation
In order to align with legacy behavior, when opening a stream,
the module must suggest the current configuration of the BT session.
For that to work, the BT device proxy must be opened prior
to creating a stream, code moved to ModuleBluetooth.

Fix minor inconsistencies and bugs found during testing.

Bug: 301213930
Bug: 316027906
Test: atest pts-bot
Change-Id: I04ddaf73be82f872a3f32a789563c3cbd648eb61
2023-12-26 16:34:58 -08:00
Mikhail Naganov
3b732895a8 audio r_submix: Suggest configuration from the peer
When there is a pipe established for a remote submix
device, suggest the configuration of the peer when opening
the other end.

Refactor SubmixRoute management to move it out from
StreamRemoteSubmix so that ModuleRemoteSubmix could also
use it.

Bug: 294962274
Test: atest audiorouting_tests
Change-Id: Ib31a662e7b65b92c614dc441a01160cae3485f3a
2023-12-26 10:31:43 -08:00
Ray Chin
aab0081f60 Blind scan should be an optional feature based on the design document am: 58be11ecc4 am: 8ef6a81771
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2890674

Change-Id: I87a120394521e0f878be88d1ee5a3d8d837db99f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-26 07:58:31 +00:00
Ray Chin
8ef6a81771 Blind scan should be an optional feature based on the design document am: 58be11ecc4
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2890674

Change-Id: I99083d453ebc4e41b46f40abbbf883f254312f3a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-26 07:27:41 +00:00
Ray Chin
58be11ecc4 Blind scan should be an optional feature based on the design document
Bug: 317215552
Bug: 305118733
Test: cf_x86_tv-staging-userdebug
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:740a0a8c5ebd0218139aded763fb3204886c2dd0)
Merged-In: Id0153700cfa2c02933c23e13ca1305b0a96b00ca
Change-Id: Id0153700cfa2c02933c23e13ca1305b0a96b00ca

NOTE FOR REVIEWERS - errors occurred while applying the patch.
PLEASE REVIEW CAREFULLY.
Errors:
Error applying patch in tv/tuner/aidl/vts/functional/VtsHalTvTunerTargetTest.cpp, hunk HunkHeader[1258,6->1262,10]: Hunk cannot be applied

Original patch:
 From 740a0a8c5e Mon Sep 17 00:00:00 2001
From: Ray Chin <raychin@google.com>
Date: Fri, 22 Dec 2023 19:10:46 +0800
Subject: [PATCH] Blind scan should be an optional feature based on the design document

Bug: 317215552
Bug: 305118733
Test: cf_x86_tv-staging-userdebug
Change-Id: Id0153700cfa2c02933c23e13ca1305b0a96b00ca
---
2023-12-26 10:28:05 +08:00
Treehugger Robot
4a91f6b211 Merge "Secretkeeper: Disable a replay protection VTS" into main am: 78b266ba5a
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2890149

Change-Id: I26a367351ca459426dd80c1d77ce5668ed8939f1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-22 12:24:58 +00:00
Treehugger Robot
78b266ba5a Merge "Secretkeeper: Disable a replay protection VTS" into main 2023-12-22 11:46:34 +00:00
Shikha Panwar
ebeaa36f43 Secretkeeper: Disable a replay protection VTS
This test does not account for potentially missing Sk HAL. Ideally, the
test should pass on those devices too (since Sk is an optional HAL at
the moment).

This test uses should_panic expecting the client code to panic on
processing the message, but that code is never executed because the
backend is not present & the method doesn't panic & the test fails.

As a mitigation, #ignore the test.

Bug: 317416663
Test: VTS show "IGNORED"

Change-Id: I2f1bb45361943f22d8cadc929059c65cb3120f3f
2023-12-22 10:51:08 +00:00
Shikha Panwar
a105a9b907 Merge "Secretkeeper: Use byte[64] as SecretId" into main am: 5f20ea7b01
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2888966

Change-Id: Ie637b4b710203e3dfb9be920f75b9d1abb8cbb70
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-22 10:32:15 +00:00
Shikha Panwar
5f20ea7b01 Merge "Secretkeeper: Use byte[64] as SecretId" into main 2023-12-22 10:04:46 +00:00
sadiqsada
d50f545edb Add demux to mFrontendTests am: 86aa7010fd am: 6afaf8d190 am: 123934b067 am: 71be20f910 am: aa02c517d3
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2886926

Change-Id: I6fa0e47c83056f93b7a770bd8bed8f21a3e30d6d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-22 00:49:37 +00:00
Treehugger Robot
ddb1c493f9 Merge "AHAL: update doc for prepareToDisconnectExternalDevice." into main am: f1db884971
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2889309

Change-Id: I7178ba55009c3a9b0d7fbaf0dd4efcdcfd3add7f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-22 00:49:17 +00:00
sadiqsada
aa02c517d3 Add demux to mFrontendTests am: 86aa7010fd am: 6afaf8d190 am: 123934b067 am: 71be20f910
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2886926

Change-Id: Ia4c93f3c45da032e639d97dd2eb8e2b6ecc5bf28
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-22 00:32:04 +00:00
Treehugger Robot
f1db884971 Merge "AHAL: update doc for prepareToDisconnectExternalDevice." into main 2023-12-22 00:17:18 +00:00
sadiqsada
71be20f910 Add demux to mFrontendTests am: 86aa7010fd am: 6afaf8d190 am: 123934b067
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2886926

Change-Id: I7de5829fa3f3fdaa816516ee057546b29af68e2b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-21 23:54:34 +00:00
Spandan Das
8dbad6f96c Make availability to com.android.tethering explicit
This is done implicitly today via a baseline map in
build/soong/apex/apex.go

The hidl_interface also requires //apex_available:platform in its
apex_available. This lib gets installed in vendor, and
//apex_available:platform is required on all non-apex variants including
the vendor variants

Bug: 281077552
Test: m nothing
Change-Id: I6f46244f9122fb3e025af53f3a42ad441284a723
2023-12-21 23:39:41 +00:00
Treehugger Robot
024387f2c9 Merge "use getDescription in test failure message" into main am: 856abca8db
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2817881

Change-Id: Ic3d9d4848b04d5ffda2d73be7671df7541edb9ee
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-21 23:23:54 +00:00
Sadiq Sada
9105c19a85 Merge "Add demux to mFrontendTests" into android14-tests-dev am: f91c15c69e am: e1790b4419
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2886668

Change-Id: I9409d0f8404756fff2ba8beab8c12246206250d0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-21 23:23:42 +00:00
Treehugger Robot
856abca8db Merge "use getDescription in test failure message" into main 2023-12-21 23:21:02 +00:00