Commit graph

45023 commits

Author SHA1 Message Date
Shunkai Yao
5bfe81fb79 DynamicsProcessing: update AIDL interface definition
Enum change aidl_api was automatically generated.

Bug: 258124419
Test: atest VtsHalDynamicsProcessingTargetTest
Change-Id: I942c20124190f91efdebbf2fd8d66692699a65cd
2023-01-06 23:00:09 +00:00
Hasini Gunasinghe
eb3e5d16cf Merge "Fix VtsRemotelyProvisionedComponentTests for IRPC V3" 2023-01-06 22:13:16 +00:00
Treehugger Robot
c2501bf06b [automerger skipped] Merge "Fix: BroadcastradioHalTest.DabTune case failure" into android11-tests-dev am: 77b8b2524a am: 433858b4f7 -s ours am: 769ee67fc7 -s ours am: 368988fafc -s ours
am skip reason: skipped by user sgaurav

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

Change-Id: Ica97b21332eb1d469b36642a3459549229ca785f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-06 20:41:23 +00:00
Treehugger Robot
368988fafc [automerger skipped] Merge "Fix: BroadcastradioHalTest.DabTune case failure" into android11-tests-dev am: 77b8b2524a am: 433858b4f7 -s ours am: 769ee67fc7 -s ours
am skip reason: skipped by user sgaurav

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

Change-Id: I674e15a8e83dcd22405ed7437aeed443e9be05ad
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-06 20:22:02 +00:00
Treehugger Robot
769ee67fc7 [automerger skipped] Merge "Fix: BroadcastradioHalTest.DabTune case failure" into android11-tests-dev am: 77b8b2524a am: 433858b4f7 -s ours
am skip reason: skipped by user sgaurav

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

Change-Id: If9320fede7a194ed9f0eb36e9bb8bb4594163c53
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-06 20:06:59 +00:00
John Reck
0797e36036 Merge "Add stride query" 2023-01-06 19:38:30 +00:00
Bill Yi
a1fe8d755e Merge "Merge TQ1A.230105.002 to aosp-master - DO NOT MERGE" 2023-01-06 19:33:50 +00:00
Bo Hu
249e4eb80e Merge changes from topic "isap_hidl2aidl"
* changes:
  Make Sap Interface Apex Available
  [ISap hidl2aidl] VTS Tests
  [ISap hidl2aidl] Compat Support
  Radio: hidl2aidl for ISap interface
2023-01-06 16:05:25 +00:00
Bill Yi
ec3c341330 Merge TQ1A.230105.002 to aosp-master - DO NOT MERGE
Merged-In: I8b23ec92656b37cb81bb74bfa6b70e6685b024a3
Merged-In: I2612141524cbd77334abaccb34cfa1659f5edfb6

Change-Id: I88e0607c608bdbc6429bcd97f228af663cc45aa8
2023-01-06 15:26:45 +00:00
Treehugger Robot
433858b4f7 Merge "Fix: BroadcastradioHalTest.DabTune case failure" into android11-tests-dev am: 77b8b2524a
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2070028

Change-Id: I24ca4d4cd6091d74d434eec7995123b2f707770d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-06 07:33:34 +00:00
Treehugger Robot
77b8b2524a Merge "Fix: BroadcastradioHalTest.DabTune case failure" into android11-tests-dev 2023-01-06 07:05:02 +00:00
Hasini Gunasinghe
666b2717e4 Fix VtsRemotelyProvisionedComponentTests for IRPC V3
This updates the test: supportsValidCurve, for IRPC implementations
that supports only V3+.

Bug: 239476788
Test: atest VtsRemotelyProvisionedComponentTests with IRPC V3
implementation

Change-Id: Ic0f1223b30e31dc537155e19e800b3001ce0fc01
2023-01-05 21:35:51 +00:00
Henri Chataing
044d5a801a Merge "Extend the default implementation of the secure element AIDL interface" 2023-01-05 08:15:15 +00:00
Tommy Chiu
88a0fd42c8 Correct some descriptions of IRemotelyProvisionedComponent
- STATUS_TEST_KEY_IN_PRODUCTION_REQUEST is still required for V3
- PubKeyEcdhP256 & PubKeyX25519 are unused in V3
- SignedDataSigStruct and DiceChainEntryInput should be an cbor array
  when being the input of PureEd25519/ECDSA

Bug: 243454124
Test: VtsHalRemotelyProvisionedComponentTargetTest
Change-Id: Ice400bb15413eac164f2630cc2fbb66e6d3624b1
2023-01-05 10:37:22 +08:00
Netajee Shubash Chand Miriyala
e1863a9ce4 Fix: BroadcastradioHalTest.DabTune case failure
Root Cause: Even when proper DAB signals are available, the test-case
"BroadcastradioHalTest.DabTune" always fails. This is because the Pro
-gramSelector created as part of the test-case is not valid according
to the AOSP documentation; it passes only DAB_FREQUENCY as the Primar
-yId, but according to the AOSP documentation, DAB_FREQUENCY is not p
-art of proper acceptable PrimaryIds in a ProgramSelector

Fix: The test-case is modified to retrieve the station list before pe
-rforming any tune in the test-case; there are three possible outcome
-s:
- If there are no stations in the station list, the test-case shall b
  -e skipped
- If there are stations in the station list, but there are no dab sta
  -ions being transmitted/received, the test-case shall be skipped
- If there are stations in the station list, and if there are DAB ser
  -vices, extract one service from the list, and create a ProgramSele
  -ctor, and send a tune-request

Test: run "VtsHalBroadcastradioV2_0TargetTest from VTS; run the test-
case - "BroadcastradioHalTest.DabTune"

Bug: 208477956
Change-Id: I874d36f9eeb460fabadd06fe1e138a35b13a5816
2023-01-05 01:51:44 +00:00
John Reck
2c2cfc9341 Add stride query
Fixes: 261856851
Test: VtsHalGraphicsMapperStableC_TargetTest

Change-Id: Ib49df2d46dd55848c4854179bd6205c86c232a6d
2023-01-04 16:41:26 -05:00
Treehugger Robot
466f3c55a9 Merge "Fix test assumption for KeyMint+RKP integration" 2023-01-04 16:44:00 +00:00
Henri Chataing
ec9331c232 Extend the default implementation of the secure element AIDL interface
- Improved channel managemenent to report accurate errors
  to OpenBasicChannel, OpenLogicalChannel, CloseChannel

- Minimal Applet emulation to report accurate responses
  to transmit. Embed the implementation for the
  CtsAndroidOmapi test Applet to pass the CTS verifier
  tests

Test: CTS
Bug: 123254068
Change-Id: I7f28ab495f6b510d574aa52a6ebc5f877135f516
2023-01-04 14:54:14 +00:00
Treehugger Robot
7fb9baae1c Merge "EARC: Add eARC AIDL files" 2023-01-04 03:30:47 +00:00
Treehugger Robot
451350985a Merge "USB owners cleanup" 2023-01-04 01:33:58 +00:00
Treehugger Robot
3e8c0ea468 Merge "vibrator: clean OWNERS" 2023-01-04 01:20:39 +00:00
Steven Moreland
581e0135aa vibrator: clean OWNERS
I wrote a script for it.

Bug: N/A
Test: N/A
Change-Id: I459d19c9ef798755ab5c2d9085986ba04c4a2d9d
2023-01-03 23:53:54 +00:00
Treehugger Robot
c9f07f5fdc Merge "sensors: cleanup OWNERS" 2023-01-03 23:53:18 +00:00
Treehugger Robot
be1d5356f7 Merge "HDMI: Add Hotplug Detection Signal support" 2023-01-03 23:29:58 +00:00
Treehugger Robot
7d183a48c8 Merge "audio: Add IBluetooth core interface" 2023-01-03 23:06:00 +00:00
Seth Moore
bbee0080d9 Fix test assumption for KeyMint+RKP integration
It's not enough to verify that the system is running KeyMint 2+. We
also need to verify that the vendor partition has RKP support.

Since VSR 13+ requires KeyMint 2+, change the test assumption so that
we don't run the test against systems that may have shipped with an
older VSR chipset (which won't support RKP).

Bug: 263844771
Test: VtsAidlKeyMintTargetTest (on old and new device)
Change-Id: Iac15f69db1152851f5a92d3929cb258b1b1a6b02
2023-01-03 14:19:16 -08:00
Andy Hung
61841ef947 Merge "audio HAL: Optimize for Spatial Audio" 2023-01-03 18:30:25 +00:00
Mikhail Naganov
10c6fe2b8f audio: Add IBluetooth core interface
This interface corresponds to BT-specific functions
of the IPrimaryDevice in the HIDL HAL.

Bug: 205884982
Test: atest VtsHalAudioCoreTargetTest
Change-Id: I5f52d65e06f42e1a5fb2e51d27b79e94fe423eaa
2023-01-03 18:23:33 +00:00
Treehugger Robot
fb6e7a8fb2 Merge "Haptic Generator : Modify HapticScale param to be a list" 2023-01-03 18:19:16 +00:00
Steven Moreland
4a193d8ad0 USB owners cleanup
I wrote a script to do this.

Bug: N/A
Test: N/A
Change-Id: Ie646392d2ff7191f9716c2c6c45e739dc6b1c512
2023-01-03 18:16:30 +00:00
Mikhail Naganov
0f8849795f Merge "audio: Implement ITelephony core interface for telecom" 2023-01-03 18:10:13 +00:00
Steven Moreland
f131f46272 Merge "stablec mapper VINTF entry" 2023-01-03 17:48:55 +00:00
Shraddha Basantwani
c7d237de07 Haptic Generator : Modify HapticScale param to be a list
Bug: 258124419
Test: atest VtsHalHapticGeneratorTargetTest

Change-Id: I8c44709e92410fbad4dda7aaea66846ed4893786
2023-01-03 16:58:41 +00:00
David Drysdale
3d40abfec8 Merge "KeyMint manual key upgrade tests" 2023-01-03 14:19:04 +00:00
Steven Moreland
a87f9b6a35 Merge "audio: clean up OWNERS" 2022-12-30 00:34:53 +00:00
Steven Moreland
ddc9daad96 sensors: cleanup OWNERS
I wrote a script to do this.

Bug: N/A
Test: N/A
Change-Id: I2f53125790aea64d7a3c02569cecccc9cec9522b
2022-12-29 23:44:34 +00:00
Steven Moreland
2141a0639f audio: clean up OWNERS
I wrote a script to do this...

Bug: N/A
Test: N/A
Change-Id: I4542f9f5aa38dd94ef1d791719a27a645e7e3180
2022-12-29 23:22:02 +00:00
Mikhail Naganov
54aa0f8833 Merge "Visualizer : Add minimum and maximum capabilities for params." 2022-12-29 22:52:30 +00:00
Sham Rathod
dc7bcc8ceb Visualizer : Add minimum and maximum capabilities for params.
Bug: 263416041
Test: atest VtsHalVisualizerTargetTest
Change-Id: Ifc25a7470a44edd9f8a16fa65621f1b30f4b418f
2022-12-29 15:35:40 +05:30
Andy Hung
9f788dbed8 audio HAL: Optimize for Spatial Audio
Add CAP_SYS_NICE.
Allow util_clamp_min for Spatializer Effect worker thread.
Reduce glitches caused by core migration.
Reduce power consumption as Spatializer Effect is DSP compute bound.
This change only affects Spatial Audio Effect processing.

Test: instrumented
Test: adb shell 'uclampset -a -p $(pgrep -of android.hardware.audio.service)'
Test: adb shell cat "/proc/$(adb shell pgrep -of android.hardware.audio.service)/status"
Test: adb shell 'ps -Tl -p $(pgrep -of android.hardware.audio.service)'
Bug: 181148259
Bug: 260918856
Bug: 261228892
Bug: 261686532
Bug: 262803152
Merged-In: I59ea99e8a1720f61954747f6c29e14cfea9a0f56
Change-Id: I59ea99e8a1720f61954747f6c29e14cfea9a0f56
2022-12-28 16:52:55 -08:00
Andy Hung
ecc6c57437 Merge "EffectHal: Support retrieving worker thread tid" 2022-12-29 00:10:42 +00:00
Treehugger Robot
65cec4b4db Merge "audio VTS: Make checks for supported methods more consistent" 2022-12-28 22:04:29 +00:00
Treehugger Robot
98c73f7a47 Merge "Virtualizer : Add minimum and maximum capabilities for params." 2022-12-28 21:11:50 +00:00
Steven Moreland
a791090aa0 Merge changes from topic "camera-explicit-deps"
* changes:
  specify import version (camera)
  Mark modules frozen explicitly (II)
2022-12-28 21:06:28 +00:00
Mikhail Naganov
1576a58757 audio VTS: Make checks for supported methods more consistent
Fix the issue pointed out by gkaiser@ on aosp/2256190.
I also went over other usages the logic which checks for
methods support, and made the code more consistent.

Bug: 205884982
Test: atest VtsHalAudioCoreTargetTest
Change-Id: I1b06c1fd9dddcbdadfd6e04525493a049283f31f
2022-12-28 20:56:32 +00:00
Treehugger Robot
6a891fd22d Merge "Volume : Add minimum and maximum capabilities for params." 2022-12-28 20:28:33 +00:00
Treehugger Robot
1afdbc0e9c Merge "Refactor the ISoundDose.aidl interface" 2022-12-28 20:01:49 +00:00
Treehugger Robot
6c1368fba8 Merge "BassBoost : Add minimum and maximum capabilities for params." 2022-12-28 19:50:30 +00:00
Andy Hung
c262c76bcb EffectHal: Support retrieving worker thread tid
Use 'gtid' as the command, returns the worker
thread tid.

Test: see bug
Bug: 253276925
Merged-In: Ia4fa129c62cf6df97821c34876b517944bc5322f
Change-Id: Ia4fa129c62cf6df97821c34876b517944bc5322f
2022-12-28 11:39:53 -08:00
Steven Moreland
000068d6d9 specify import version (camera)
Required to automate AIDL finalization - makes errors show up
now instead of later.

Bug: 188871598
Test: build
Change-Id: Ia38678a7dbc0abc0c0d19fa0794f0f80b2638156
Merged-In: I382dea5d13582817959001246240141e83d8172d
2022-12-28 18:59:04 +00:00