Commit graph

51509 commits

Author SHA1 Message Date
Blair Prescott
c4f8e466e6 Wifi: P2P VTS tests fail with no P2P support
Skip P2P tests if P2P is not supported.

Bug: 200064365
Test: run vts -m VtsHalWifiSupplicantP2pV1_4TargetTest
Change-Id: I6ba23bb27f24700980cab28d1ff806e5efc65ec9
(cherry picked from commit b676061cd5)
(cherry picked from commit 4d81b6562dca69a3334bcb87756539fbdaedcd2d)
2023-02-13 15:12:30 +00:00
David Drysdale
cdf8ed3f6f RKP spec: fix public key info description
The PartyInfo for a P-256 public key is encoded as (x||y) not
(0x04||x||y).

Test: VtsHalRemotelyProvisionedComponentTargetTest
Change-Id: Iae5dc624228d4e1e538e230968443925ec8b55fc
2023-02-13 12:07:17 +00:00
Raj Goparaju
fd96ddced7 Adding support for dynamic audio gain config
Automotive OEMs need a mechanism to update vehicle-based
audio port configurations during run-time. This can be
achieved mostly through core audio hal aidl interface,
namely IModule::getAudioPorts(). However it also limits the
ability of audio hal since it is expected to maintan unchanged
configuration for given audio device ports and have it
available before audio framework initializes, which is
not always the case.

The following usecases are under consideration for this
feature:
1. Audio gain stages updated at end-of-line/factories as
   runtime configurations.
2. Audio gain stages  are stored outside of android partition
   (example - an external amplifier) and needs dynamic query
   post boot up. Availability at service init is not  guaranteed
   since ECU lifecycles are not necessarily synchronized.
3. Audio gain stage updates based on user subscriptions
   to enable advanced signal processing capabilities.

This change:
- Adds a new set-api for callback to report changes to
  audio hardware module. It is expected that in future the
  same interface can serve as callback to multiple categories
  of configs (other than audio gain stages).
- Adds a new clear to remove callbacks.
- Adds a new callback interface for changes to audio port
  configs. For the time being, car framework shall only support
  changes to audio gain stages.

Bug: 261647905
Test: VTS test

Change-Id: I5891e324f2d909a9c5fe30c47ad30e23e74ec6c4
Signed-off-by: Raj Goparaju <rajgoparaju@google.com>
2023-02-12 22:13:25 -08:00
Mahesh KKV
4ff445673d Merge "Add link state for link layer stats" 2023-02-12 20:33:24 +00:00
Steven Moreland
9c0b193787 Merge "rkp: add keymint v1 hash into rkp v1" am: 6410234d7c am: e2cc950790 am: feb5f137ab
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2431096

Change-Id: Ia25e8650f39f2bb1d7ac3d0a6cecb687632f7953
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-11 03:44:29 +00:00
Steven Moreland
feb5f137ab Merge "rkp: add keymint v1 hash into rkp v1" am: 6410234d7c am: e2cc950790
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2431096

Change-Id: I579e312d1c90c9f36d5e0dd0cd6a8a6dd9ee6a7e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-11 02:46:23 +00:00
Steven Moreland
e2cc950790 Merge "rkp: add keymint v1 hash into rkp v1" am: 6410234d7c
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2431096

Change-Id: I4fa8f5ac8071a21f730914e1c7bc2c178f5903c8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-11 01:59:20 +00:00
Steven Moreland
6410234d7c Merge "rkp: add keymint v1 hash into rkp v1" 2023-02-11 01:27:43 +00:00
Henri Chataing
987696e061 Merge "secure_element: Check for support of basic channel in VTS tests" am: 6ec1d545c9 am: 4135f16ecb am: f401ea6fcf
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2419541

Change-Id: I1c55ad96ecba6854e301dcb82a0a94a1bc4b363c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-11 01:03:58 +00:00
Rongxuan Liu
94fe1b7d6e [automerger skipped] Update android.hardware.bluetooth.audio to V3 am: 6945dd3bb3 am: 5047dd5cb0 -s ours am: fa1648ab10 -s ours
am skip reason: Merged-In Ia92043aeedf12a8c68d7f4ee18a1dd52ac5a252f with SHA-1 0ec2eb8ca4 is already in history

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

Change-Id: Idf113752ef1fed84dbfc757722eaa174683f2200
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-11 01:00:56 +00:00
Rongxuan Liu
5fafbb09f1 [automerger skipped] Add new field 'pcmStreamId' in LeAudioBroadcastConfiguration am: c1aea3238f am: 4bf46c18a2 -s ours am: d7bb49caa3 -s ours
am skip reason: Merged-In I3df9066e98ca552329bb58ae5fbc5346d1021b10 with SHA-1 0429952817 is already in history

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

Change-Id: Ia015de4cd6ffc0de6e4ad32059f76e4b4978ea52
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-11 01:00:52 +00:00
Henri Chataing
f401ea6fcf Merge "secure_element: Check for support of basic channel in VTS tests" am: 6ec1d545c9 am: 4135f16ecb
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2419541

Change-Id: I1cc8c7a4329ee9f40b8aa2bc3b5a03622661a792
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-11 00:56:06 +00:00
Henri Chataing
4135f16ecb Merge "secure_element: Check for support of basic channel in VTS tests" am: 6ec1d545c9
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2419541

Change-Id: I0c4c4b1b39d4a8478921475c8ed92603cc8dab78
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-11 00:10:53 +00:00
Rongxuan Liu
fa1648ab10 [automerger skipped] Update android.hardware.bluetooth.audio to V3 am: 6945dd3bb3 am: 5047dd5cb0 -s ours
am skip reason: Merged-In Ia92043aeedf12a8c68d7f4ee18a1dd52ac5a252f with SHA-1 0ec2eb8ca4 is already in history

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

Change-Id: I19b81baa6b28c141a5db7673132091f812843d7d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-11 00:02:57 +00:00
Rongxuan Liu
d7bb49caa3 [automerger skipped] Add new field 'pcmStreamId' in LeAudioBroadcastConfiguration am: c1aea3238f am: 4bf46c18a2 -s ours
am skip reason: Merged-In I3df9066e98ca552329bb58ae5fbc5346d1021b10 with SHA-1 0429952817 is already in history

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

Change-Id: I37ce47a656cec5d297f912c03ad31545e213e73a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-11 00:02:52 +00:00
Henri Chataing
6ec1d545c9 Merge "secure_element: Check for support of basic channel in VTS tests" 2023-02-10 23:40:38 +00:00
Sunil Ravi
0d0d925476 Merge "Wifi: IP Address Allocation in EAPOL-Key Frames" 2023-02-10 23:36:49 +00:00
Rongxuan Liu
5047dd5cb0 Update android.hardware.bluetooth.audio to V3 am: 6945dd3bb3
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2429183

Change-Id: I31fe6091cc16f08eb54dcb84ce7daf8b5960dc6e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-10 23:21:38 +00:00
Rongxuan Liu
4bf46c18a2 Add new field 'pcmStreamId' in LeAudioBroadcastConfiguration am: c1aea3238f
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2429182

Change-Id: Icc34337a5e59f606cb873edc967cb7d2ffaa2941
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-10 23:21:32 +00:00
Steven Moreland
5419c2dbe5 rkp: add keymint v1 hash into rkp v1
When we split the rkp interface, we only added one hash to rkp v1, but
on Android S devices, this interface was in keymint v1, and so it used
the keymint v1 hash.

In order for that old implementation to be recognized, we need to add the keymint v1 hash into rkp v1.

The hash added here is copied from this file:
hardware/interfaces/security/keymint/aidl/aidl_api/android.hardware.security.keymint/1/.hash

Bug: 264549860
Change-Id: I3fce46b3e9bd09d79fa8e2f203b4eb9ebb517c15
Test: vts_treble_vintf_vendor_test
2023-02-10 22:44:28 +00:00
ramindani
8345034b53 [HWC3] VTS client updates for onRefreshRateChangedDebug callback
And for setRefreshRateChangedCallbackDebugEnabled

This does not add any implementation for the VTS code.
Implementation will be added with the VTS tests as a followup.

Test: Device boots
BUG: 202734676
Change-Id: If47bbcf87698b346907b3bc1903908ff0a63203f
2023-02-10 14:27:09 -08:00
Mahesh KKV
14393faaf1 Add link state for link layer stats
Bug: 263029630
Test: m android.hardware.wifi-update-api
Change-Id: Ia9a1782200136cd0f58a66e7d2de700d8a75fcae
2023-02-10 14:22:20 -08:00
Rongxuan Liu
d926fc2236 [automerger skipped] Update android.hardware.bluetooth.audio to V3 am: 0ec2eb8ca4 -s ours
am skip reason: Merged-In Ia92043aeedf12a8c68d7f4ee18a1dd52ac5a252f with SHA-1 dfd6fb219f is already in history

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

Change-Id: Ie2acdfcb673e77e7236b8c0a9a086a0221738772
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-10 22:16:48 +00:00
Rongxuan Liu
62d9c85940 [automerger skipped] Add new field 'pcmStreamId' in LeAudioBroadcastConfiguration am: 0429952817 -s ours
am skip reason: Merged-In I3df9066e98ca552329bb58ae5fbc5346d1021b10 with SHA-1 c7ef8a08be is already in history

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

Change-Id: If9a5ce92a8268abe4c0616cf93ef0b38b671068f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-10 22:16:43 +00:00
TreeHugger Robot
15b0e55da7 Merge "audio: Move Microphone[Dynamic]Info structs from core" 2023-02-10 21:09:43 +00:00
TreeHugger Robot
76aadb3796 Merge "Populate host endpoint type in VTS test" 2023-02-10 19:36:22 +00:00
Arthur Ishiguro
16f4062d18 Populate host endpoint type in VTS test
Bug: 268222729
Test: Run test and verify pass
Change-Id: I5acbab30b05ad7ef9a6693aee74dcf1eb378320d
2023-02-10 18:11:12 +00:00
Terry Guan
324cdeff9a Merge "Changed order of manifest" 2023-02-10 17:56:35 +00:00
Henri Chataing
9ba974d817 secure_element: Check for support of basic channel in VTS tests
Do not use the basic channel in VTS tests if the channel is not
supported by the SE.

Bug: 266384111
Test: m VtsHalSecureElementTargetTest
Change-Id: Id40e7f43f5437f8e682bbd41495d89a4a4c45997
2023-02-10 17:32:26 +00:00
ramindani
ff0da0bb24 [HWC3] AIDL implementation for Refresh Rate Overlay indicator
Adds IComposerClient method to inform that the Refresh Rate callback is enabled.
Adds IComposerCallback to get the display vsyncPeriod for the Overlay.
Adds Composition type REFRESH_RATE_INDICATOR

Test: Device boots
BUG: 202734676
Change-Id: I48b0c05f49095b15cea444dc5c3ad8f78a043cb0
2023-02-10 09:25:47 -08:00
Nathalie Le Clair
501c3c1152 Handle out-of-bound indices
Bug: 267007175
Test: lunch cf_x86_tv-userdebug; make;
atest VtsHalTvHdmiConnectionAidlTargetTest;

Change-Id: I0083953e8eaadea0ac66a9103358c0d4e1427086
2023-02-10 10:06:23 +01:00
Rongxuan Liu
0ec2eb8ca4 Update android.hardware.bluetooth.audio to V3
Tag: #feature
Bug: 266740545
Test: m android.hardware.bluetooth.audio-update-api &&
      atest VtsHalBluetoothAudioTargetTest
Change-Id: Ia92043aeedf12a8c68d7f4ee18a1dd52ac5a252f
Merged-In: Ia92043aeedf12a8c68d7f4ee18a1dd52ac5a252f
(cherry picked from commit dfd6fb219f)
2023-02-10 07:21:12 +00:00
Rongxuan Liu
0429952817 Add new field 'pcmStreamId' in LeAudioBroadcastConfiguration
This field is used to indicate the PCM stream source for given stream
handle

Tag: #feature
Bug: 264692800
Test: m android.hardware.bluetooth.audio-update-api
Change-Id: I3df9066e98ca552329bb58ae5fbc5346d1021b10
Merged-In: I3df9066e98ca552329bb58ae5fbc5346d1021b10
2023-02-10 07:20:07 +00:00
TreeHugger Robot
410310aa4f Merge "Update BLIND_SPOT_WARNING_ENABLED documentation in HAL" 2023-02-10 04:49:08 +00:00
Rongxuan Liu
6945dd3bb3 Update android.hardware.bluetooth.audio to V3
Tag: #feature
Bug: 266740545
Test: m android.hardware.bluetooth.audio-update-api &&
      atest VtsHalBluetoothAudioTargetTest
Change-Id: Ia92043aeedf12a8c68d7f4ee18a1dd52ac5a252f
Merged-In: Ia92043aeedf12a8c68d7f4ee18a1dd52ac5a252f
2023-02-10 04:11:44 +00:00
Rongxuan Liu
c1aea3238f Add new field 'pcmStreamId' in LeAudioBroadcastConfiguration
This field is used to indicate the PCM stream source for given stream
handle

Tag: #feature
Bug: 264692800
Test: m android.hardware.bluetooth.audio-update-api
Change-Id: I3df9066e98ca552329bb58ae5fbc5346d1021b10
Merged-In: I3df9066e98ca552329bb58ae5fbc5346d1021b10
2023-02-10 04:10:58 +00:00
Muralidhar Reddy Mule
0dd7277c36 Merge "Add new API for iccCloseLogicalChannel to pass isEs10 information." 2023-02-10 04:06:47 +00:00
Aaqib Ismail
c10e6cb721 Merge "Add MILLI_SECS to VehicleUnit.aidl" 2023-02-10 02:27:21 +00:00
Aaqib Ismail
ff29c893c0 Merge changes from topics "LaneCenteringAssistCommand", "LaneCenteringAssistState", "LaneDepartureWarningState"
* changes:
  Update FORWARD_COLLISION_WARNING_ENABLED documentation in HAL
  Update AUTOMATIC_EMERGENCY_BRAKING_ENABLED documentation in HAL
  Update LANE_DEPARTURE_WARNING_ENABLED documentation in HAL
  Add HAL changes for LANE_DEPARTURE_WARNING_STATE
  Add HAL changes for LANE_CENTERING_ASSIST_COMMAND
  Update LANE_CENTERING_ASSIST_ENABLED documentation in HAL
  Add HAL changes for LANE_CENTERING_ASSIST_STATE
2023-02-10 02:26:18 +00:00
Mikhail Naganov
babb544319 audio: Move Microphone[Dynamic]Info structs from core
These parcelables are also used by the framework.

Bug: 263964254
Test: atest VtsHalAudioCoreTargetTest
Change-Id: Ib30b69c325040e474fb58a8e7e515912fccab4c7
2023-02-09 18:00:25 -08:00
Eva Chen
f2202358a5 Merge "Add explanatory note to ADAS properties." 2023-02-10 01:19:56 +00:00
Xiang Wang
4e285adc14 Merge "Fix the hidden main function in VTS tests" 2023-02-10 00:33:54 +00:00
Rongxuan Liu
d6186e36fc Merge changes from topic "pbp-leaudio-aidl"
* changes:
  Update android.hardware.bluetooth.audio to V3
  Add new field 'pcmStreamId' in LeAudioBroadcastConfiguration
2023-02-09 23:56:43 +00:00
Xiang Wang
2e10dc4842 Generate toString for Thermal AIDL parcelable
Bug: b/268508448
Test: n/a
Change-Id: I007fe97b57049042623c395d574ff710bb11d29a
2023-02-09 15:54:58 -08:00
Terry Guan
6c55d90884 Changed order of manifest
Bug: 268162044
Test: atest vts_halManifest_validate_test
Change-Id: I7b8e2f822220bc1c66fc85a4d252b529b7d7d95f
2023-02-09 14:50:47 -08:00
Greg Kaiser
9c08ea4429 Merge "Effect AIDL: Fix a couple logging statements" am: 219c4e8d75 am: 99a7dad419 am: 236ae100b3
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2428415

Change-Id: I2a8b1495e2497d167b23dededf02afdc4794ef37
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-09 22:30:33 +00:00
Treehugger Robot
a56924244e Merge "uwb: Allow Java backened jar to be created" am: dbfdb659e0 am: 33034407ff am: eedf884325
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2420979

Change-Id: I8a502156dd3340e8ea9f0a8eceeadd7181abdee4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-09 22:30:20 +00:00
Treehugger Robot
ae1adc4708 Merge "H4ProtocolTest: Time out after 5 seconds" am: 125ec2bb9c am: 368118bac9 am: bd5996e53a
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2429174

Change-Id: I686458602517a43e4f7b00e8a92ef139a48830d5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-09 22:24:30 +00:00
Sally Qi
f25e7ab5fe Merge "Add exception annotation to getOverlaySupport api." 2023-02-09 21:54:38 +00:00
Greg Kaiser
236ae100b3 Merge "Effect AIDL: Fix a couple logging statements" am: 219c4e8d75 am: 99a7dad419
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2428415

Change-Id: I8526290c8df2d9dc75c7be78156e261c0d8eea9d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-09 21:38:15 +00:00