Commit Graph

64198 Commits

Author SHA1 Message Date
Bao Do
7560398434 Merge "Fix test run for GSI" into main am: 9514f9fc2e
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2884428

Change-Id: Ie23499416f416fa0cfbb7bde641206895c425d8a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-12 05:52:43 +00:00
Treehugger Robot
23776d5001 Merge "APF exempt list for TVs to use hardware feature" into main 2024-01-12 05:48:09 +00:00
Bao Do
9514f9fc2e Merge "Fix test run for GSI" into main 2024-01-12 05:41:28 +00:00
Treehugger Robot
3b7d4252db Merge "Per NCI spec there is no need to wait for credits" into main am: d1386c8c18
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2906620

Change-Id: Ia936c0617c9c6e359dbc3150ddfbd7c9845304b2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-12 05:39:08 +00:00
Treehugger Robot
d169122297 Merge "Wifi: Modified API for addGroupWithConfig" into main 2024-01-12 05:27:51 +00:00
Treehugger Robot
d1386c8c18 Merge "Per NCI spec there is no need to wait for credits" into main 2024-01-12 04:37:31 +00:00
Bao Do
b487a85993 Fix test run for GSI
GSI used mixed testing procedures, making some HFP session
and LE Audio related functions unavailable when testing with the
latest VTS. This fix enable HAL version checking when testing.

Bug: 315338603
Test: atest VtsHalBluetoothAudioTargetTest
Change-Id: Idb0a780a67857c76c93b13f7b3a64436f6fc647f
2024-01-12 11:13:19 +08:00
Alisher Alikhodjaev
46d9630125 Per NCI spec there is no need to wait for credits
One case was missed in the previous fix.
This is an update.

Bug: 312911587
Test: no regressions
Change-Id: I7fefa92d5a66581431288ec902a56ed61e9cf310
2024-01-11 16:24:26 -08:00
Sunil Ravi
fda43ac86a Wifi: Modified API for addGroupWithConfig
Deprecated the existing addGroupWithConfig API
which is used to setup a P2P group owner or join a group as a group client
with the specified configuration(SSID, password, band/group). Added a new modified API called
addGroupWithConfigurationParams to include the authentication key
management used to setup a connection.

Bug: 297426719
Test: Build successfully
Change-Id: Iafc692bbbaac9f4d98f5983951dc87dc4438988a
2024-01-11 23:14:27 +00:00
Jayant Chowdhary
da59822642 Check for stream use case capability before stream use case test
Bug: 299202800

Test: Vendor testing

Change-Id: If30ead47072dc1f950b8fb6384072cc38cd51c58
Signed-off-by: Jayant Chowdhary <jchowdhary@google.com>
2024-01-11 21:02:08 +00:00
Maxim Pleshivenkov
b8efced1a8 Update comments for VehicleApPowerStateShutdownParam
Comments for _IMMEDIATELY parameters stated that shutdown cannot be postponed.
However it is possible that CPMS will send SHUTDOWN_POSTPONE if SHUTDOWN_PREPARE takes longer. Updated comments to remove that statement.

Bug: 319670846
Change-Id: I0d172ba5d24b86c7f2403acae05961eca72b0c2d
Test: manual build
2024-01-11 19:08:30 +00:00
Treehugger Robot
cadbe176ec Merge "Baseline NewApi issues" into main 2024-01-11 18:54:37 +00:00
Jeff Pu
74e25d2dec Fix Fingperint Virtual Hal cancellation while waiting finger touch
Bug: 319146424
Test: atest BiometricsE2eTests:BiometricPromptAuthSuccessTest
Test: atest android.hardware.biometrics.fingerprint.*
Change-Id: I26a2dde01608177411cce3f9c68ee6fd1fd6aab8
2024-01-11 18:23:00 +00:00
Mikhail Naganov
18fcb688bc Add android.virtualdevice.cts.VirtualAudioTest to postsubmit
These tests exercise audio playback and capture on CF and are
useful in spotting issues in the audio pipeline end-to-end.

Bug: 316017930
Test: atest CtsVirtualDevicesTestCases
Change-Id: If625cec5bc2d281f1e0d99b820f604f1bac7b621
2024-01-11 09:54:50 -08:00
Andres Schafhauser
393ca9ffc2 APF exempt list for TVs to use hardware feature
Instead of expecting MdnsOffloadManagerService to exist which is
correct in principle but VTS fails as use of GSI is required.

Bug: 318332352
Test: atest VtsHalWifiStaIfaceTargetTest
Merged-In: I47453e7ad009b08aadf7c09fc144d2166ef9991b
Change-Id: I47453e7ad009b08aadf7c09fc144d2166ef9991b
2024-01-11 17:12:35 +00:00
Andres Schafhauser
f91d7adfc4 APF exempt list for TVs to use hardware feature
Instead of expecting MdnsOffloadManagerService to exist which is
correct in principle but VTS fails as use of GSI is required.

Bug: 318332352
Test: atest VtsHalWifiStaIfaceTargetTest
Change-Id: I47453e7ad009b08aadf7c09fc144d2166ef9991b
2024-01-11 17:11:13 +00:00
Treehugger Robot
bbc84dd885 Merge "automotive: Add Rust backend to the vhal AIDL" into main am: 2338cda61c am: 9d772629d6 am: 7bea7295fe
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2904308

Change-Id: Ibdb8f4b09ce084524463fa506ab9c6cbcc820546
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-11 16:38:09 +00:00
Treehugger Robot
7bea7295fe Merge "automotive: Add Rust backend to the vhal AIDL" into main am: 2338cda61c am: 9d772629d6
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2904308

Change-Id: Ic1db9be42c9cf6cdfafd643799e7aee5e5be0bd6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-11 16:06:49 +00:00
Treehugger Robot
9d772629d6 Merge "automotive: Add Rust backend to the vhal AIDL" into main am: 2338cda61c
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2904308

Change-Id: I93ab3ee0eee76020a475c3b6a282f09a0b753df4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-11 15:36:05 +00:00
Treehugger Robot
2338cda61c Merge "automotive: Add Rust backend to the vhal AIDL" into main 2024-01-11 14:32:15 +00:00
Shikha Panwar
7c53bb3144 Secretkeeper: VTS to use dice_chain as identity
VTS (being the client of Sk) will use dice_chain as the identity.
Consequently we can use the sealing policy constructed out of this
identity & no more need to use HYPOTHETICAL_DICE_POLICY hack.

For sample identity, we create dice_sample module which constructs an
example dice chain (in Explicit key chain format), along with secrets.

Test: Secretkeeper VTS
Bug: 291224769
Change-Id: Ia1d1a92391d3ee455bf9fe254770b4a9bd08cb12
2024-01-11 09:01:51 +00:00
Weilin Xu
5fcce4186b Merge "Add DAB unit test for bcradio utils lib" into main 2024-01-11 03:43:07 +00:00
Treehugger Robot
8366e09de7 Merge "Make remoteaccess HAL pass VTS." into main 2024-01-11 02:22:28 +00:00
Treehugger Robot
ee411a9b3a Merge "audio: Add libaudioclient tests to postsubmit for the AIDL HAL" into main am: 7fe11fd93d am: 4b454b6e9e am: e188448e49
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2904415

Change-Id: Iba604161761aae383fb5f5b99fd80e4583dff369
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-11 01:08:38 +00:00
Shunkai Yao
7d96d9e0ff Effect VTS: update VtsHalDownmixTargetTest for data validation
For downmix, the output buffer size can be diff with input

Bug: 318926783
Bug: 317946442
Test: atest --test-mapping hardware/interfaces/audio/aidl/vts:presubmit
Change-Id: I0dc0009e1779b842a4f3cdcc047d225310a304f9
2024-01-11 00:44:16 +00:00
Treehugger Robot
e188448e49 Merge "audio: Add libaudioclient tests to postsubmit for the AIDL HAL" into main am: 7fe11fd93d am: 4b454b6e9e
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2904415

Change-Id: I12520aa77959cf4ad9ba0cd0bc53c8991c975235
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-11 00:36:23 +00:00
Yu Shan
0fbc17f23c Make remoteaccess HAL pass VTS.
The reference remote access HAL should still pass CTS even when
the grpc remote access server does not exist. The reference
remote access HAL now allows GRPC_SERVICE_ADDRESS not to be
defined. If it is not defined, it will not try to connect
a remote server and will work in a fake mode.

Test: VtsHalAutomotiveRemoteAccess_TargetTest with an without
grpc server running.
Bug: 277967402

Change-Id: I89509ac8f8ebe9a268d3a338d6e80c24e39dc512
2024-01-11 00:01:19 +00:00
Treehugger Robot
4b454b6e9e Merge "audio: Add libaudioclient tests to postsubmit for the AIDL HAL" into main am: 7fe11fd93d
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2904415

Change-Id: I2419b365c36d7d45c4c7b8a17f4e4083d3ce45ad
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-10 23:49:49 +00:00
Treehugger Robot
293c74df0e Merge changes Iab6235b5,I19b7d1af,I1806d8a2,I8589ef14 into main am: 61ef14ec09 am: bf0c331d59 am: ced88ce66a
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2901010

Change-Id: I500514aafc12af06965a47cffbb4918ae42f7cec
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-10 23:47:48 +00:00
Ady Abraham
ed6832ba39 Merge "composer: vts: don't clear reader errors on teardown" into main 2024-01-10 23:21:07 +00:00
Shunkai Yao
81bfcda77a Effect AIDL: implement IEffect.reopen
- add IEffect.reopen implementation
- now data MQs can update at runtime, sync
  EffectContext access
- add clang thread annotation

Bug: 302036943
Test: atest VtsHalAudioEffectTargetTest
Test: build and test audio effect on Pixel
Change-Id: I3e9fdc2d5eb50b8c1377e0da75573f0eba7ea3f1
2024-01-10 23:05:43 +00:00
Treehugger Robot
7fe11fd93d Merge "audio: Add libaudioclient tests to postsubmit for the AIDL HAL" into main 2024-01-10 23:02:04 +00:00
Treehugger Robot
ced88ce66a Merge changes Iab6235b5,I19b7d1af,I1806d8a2,I8589ef14 into main am: 61ef14ec09 am: bf0c331d59
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2901010

Change-Id: I619e123f5721004b342ca27937eef5d5642c1913
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-10 22:59:51 +00:00
Aishwarya Mallampati
a4ab299db4 Fix enum number in RegistrationFailCause
Bug: 317689758
Test: build
Change-Id: Ie35226fae05054dfe2ec92a4e19a8a6396aa6f25
2024-01-10 22:48:28 +00:00
Treehugger Robot
bf0c331d59 Merge changes Iab6235b5,I19b7d1af,I1806d8a2,I8589ef14 into main am: 61ef14ec09
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2901010

Change-Id: I3580515b9efb831fcc5ded5b418c737b0958945d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-10 22:13:22 +00:00
Mikhail Naganov
ff52e4fcba audio: Add libaudioclient tests to postsubmit for the AIDL HAL
These framework-side tests are helpful in detecting breakages
caused by changes in the HAL code.

Add to postsubmit first because the presubmit check does not
allow adding to presubmit without accumulating some history first.

Bug: 311830316
Test: atest
Change-Id: I1f946c71a89117d25f39fde34877988ea7e1d466
2024-01-10 13:47:57 -08:00
Treehugger Robot
61ef14ec09 Merge changes Iab6235b5,I19b7d1af,I1806d8a2,I8589ef14 into main
* changes:
  Fix LeAudioCodecProvider failing offload setting file parsing
  Fix the bogus configs default-constructed as a2dp configs
  Fix filling the configuration map
  Skip unsupported functinality tests
2024-01-10 21:28:27 +00:00
Mikhail Naganov
3daa193aa1 Merge "audio: Improve logging in remote submix module" into main am: 198e8f747c am: 13993da38a am: b3d65cec6c
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2901102

Change-Id: Iff8c545935a838b9ca593f2c0344042b115b2d90
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-10 21:12:38 +00:00
Weilin Xu
6633a85732 Add DAB unit test for bcradio utils lib
Added unit tests for utils method related to DAB radio in AIDL broadcast
radio utils library.

Bug: 310708886
Test: atest broadcastradio_utils_aidl_test
Change-Id: I7c7333c11898665ae7e5184bd3022a7019f862ca
2024-01-10 12:49:25 -08:00
Avichal Rakesh
1fb9ba494c ExternalCameraHAL: Add ANDROID_SENSOR_READOUT_TIMESTAMP key.
As ExternalCameraHAL does not support sensor readout timestamp,
it should set ANDROID_SENSOR_READOUT_TIMESTAMP to
ANDROID_SENSOR_READOUT_TIMESTAMP_NOT_SUPPORTED in CameraDevice
characteristics.

This CL adds the CameraMetadata entry to ExternalCameraDevice.

Bug: 309543399
Test: ReadoutTimestampTest#testReadoutTimestamp passes for
      ExternalCameraHAL
Change-Id: I12203f0832416b4ca325380e671675ddc1d788d4
2024-01-10 12:47:07 -08:00
Avichal Rakesh
468341e677 camera: Make readoutTimestamp visible to HALs
`readoutTimestamp` metadata key was previously only visible to
SDK and the framework, and the camera framework force set the values
based on if the HAL implemented the AIDL or the HIDL interface.

This CL makes readoutTimestamp available to HALs and lets AIDL
HALs choose if they can support sensor readout timestamp or not.

Bug: 309543399
Test: External Camera HAL now sets this value and passes VTS
Change-Id: Ifee2b4020b7630383dc32ef7590f8a9ccdaf49d2
2024-01-10 12:46:57 -08:00
Cole Faust
2424cc007d Baseline NewApi issues
NewApi is a lint check that you don't call framework methods that were
introduced in versions later than your min_sdk_version. We want to
make this an error, so we're baselineing all existing issues.

This cl was generated automatically, by taking all the NewApi issues
from the reference baselines, and all the non-NewApi issues from the
existing checked in baselines.

Bug: 268261262
Test: Presubmits
Change-Id: I3e4bcd76bad422513d48712303ce5c857511d9be
2024-01-10 12:30:37 -08:00
Mikhail Naganov
b3d65cec6c Merge "audio: Improve logging in remote submix module" into main am: 198e8f747c am: 13993da38a
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2901102

Change-Id: I59956b7c487028089d876ae870b59bca04ce93dc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-10 20:22:27 +00:00
Mikhail Naganov
13993da38a Merge "audio: Improve logging in remote submix module" into main am: 198e8f747c
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2901102

Change-Id: I29e098bc24fd4669721332cb0fcbe7ecb09f431a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-10 19:34:48 +00:00
Weilin Xu
aeba4a25d5 Merge "Add unit tests for default bcradio HAL" into main 2024-01-10 18:23:19 +00:00
Mikhail Naganov
198e8f747c Merge "audio: Improve logging in remote submix module" into main 2024-01-10 17:53:05 +00:00
Shikha Panwar
1eae7abfaa VTS: Use encoding of policy on explicit key dice
As we make Dice policy work with explicit key format of dice chain, the
hard coded policy needs to change to be compatible with hard coded
explicit key chain in the TA.

Test: VTS
Bug: 291213394
Change-Id: Ib3740d8f12f0a5f4e680bd215170bc96596fbe06
2024-01-10 15:59:42 +00:00
Felix Obenhuber
a77f2df473 automotive: Add Rust backend to the vhal AIDL
This enables us to write a vhal service in Rust.

Test: Verified with a custom replacement of the DefaultVehicleHal and ran in cuttlefish
Change-Id: I53601e1a10cee75877e76ae04f7837e7d1a20ebd
2024-01-10 16:23:03 +01:00
David Drysdale
ede61256a2 Merge "Secretkeeper: use Ed25519 identity key" into main am: b87fae42d8 am: 1479a638f9 am: c703fefad0
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2900721

Change-Id: I7cc3158152888b5544827ee09b7e6f7cded915c2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-10 13:52:23 +00:00
David Drysdale
c703fefad0 Merge "Secretkeeper: use Ed25519 identity key" into main am: b87fae42d8 am: 1479a638f9
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2900721

Change-Id: I313f3876c40f0a2fa0a06941bf16b351c5579610
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-10 13:19:12 +00:00