Commit graph

45023 commits

Author SHA1 Message Date
Andy Hung
0179b6a940 Merge changes I700b04d3,If56e449a
* changes:
  audio HAL: set minimum Binder access priority
  audio HAL: Enable RT priority inheritance
2022-12-28 18:57:16 +00:00
Treehugger Robot
11dcbb943d Merge "EnvironmentalReverb: Add AIDL placeholder implementation and its unit test" 2022-12-28 18:46:33 +00:00
Sham Rathod
8411fd2e94 BassBoost : Add minimum and maximum capabilities for params.
Bug: 263416041
Test: atest VtsHalBassBoostTargetTest
Change-Id: I9ab9c6aa10dd860104ed2d45f9cf96e32d55cc1f
2022-12-28 23:38:31 +05:30
Sham Rathod
e808b07200 Virtualizer : Add minimum and maximum capabilities for params.
Bug: 263416041
Test: atest VtsHalVirtualizerTargetTest
Change-Id: Ic51135ffa685f64a945898bd0f9ebf12f8832ea6
2022-12-28 23:37:52 +05:30
Vlad Popa
2afbd1e549 Refactor the ISoundDose.aidl interface
This refactoring is fixing the hal_implementation_test workaround from
aosp/2363076. Adjusted the package name to match the aidl_interface and
declared the ISoundDose interface types only.

Test: VtsHalSoundDoseFactoryTargetTest, VtsHalAudioCoreTargetTest,
hal_implementation_test
Bug: 263388737

Change-Id: Ibce4cd95aaf600de2096179f137243939114ba6a
Merged-In: Ibce4cd95aaf600de2096179f137243939114ba6a
2022-12-28 18:01:01 +01:00
Sham Rathod
85793d8c86 Volume : Add minimum and maximum capabilities for params.
Bug: 263416041
Test: atest VtsHalVolumeTargetTest

Change-Id: Iea1253d9bfb049916f8f60e675eacf8e9040d087
2022-12-28 20:46:51 +05:30
Shunkai Yao
c6d1c3840a Merge "Effect AIDL Refine effect test parameter combination list" 2022-12-28 03:25:14 +00:00
Treehugger Robot
78925da485 Merge "specify import version (I)" 2022-12-28 02:37:10 +00:00
Andy Hung
2d99024415 audio HAL: set minimum Binder access priority
Use setMinSchedulerPolicy to enforce minimum thread priority
when accessing the audio HAL to ANDROID_PRIORITY_AUDIO

Test: instrumented
Bug: 261496726
Merged-In: I700b04d3060e9405b1445206882a6131cea0d045
Change-Id: I700b04d3060e9405b1445206882a6131cea0d045
2022-12-27 17:40:18 -08:00
Andy Hung
010aa99150 audio HAL: Enable RT priority inheritance
Test: instrumented
Bug: 181148259
Bug: 260918856
Merged-In: If56e449a9c6f1a49e372591893d8714534574e3a
Change-Id: If56e449a9c6f1a49e372591893d8714534574e3a
2022-12-27 17:38:38 -08:00
Shunkai Yao
883d75b6f9 Effect AIDL Refine effect test parameter combination list
Add effects implementation shared lib dependency.

Bug: 258124419
Test: atest VtsHalVisualizerTargetTest
Test: atest VtsHalAECTargetTest
Test: atest VtsHalAGCTargetTest
Test: atest VtsHalNSTargetTest
Change-Id: I58be0b789b08c9211a6bc79e8fc3c21d9658dd4a
2022-12-27 23:25:23 +00:00
Mikhail Naganov
51b6d83452 Merge "PresetReverb: Add AIDL placeholder implementation and vts test" 2022-12-27 23:16:29 +00:00
Mikhail Naganov
ae0e88ca5c Merge "audio: Add presentation and latency control to IStreamOut" 2022-12-27 23:10:53 +00:00
Mikhail Naganov
a7f4e05357 audio: Implement ITelephony core interface for telecom
Implement telecom functions in ITelephony corresponding
to the IPrimaryDevice in the HIDL HAL.

Bug: 205884982
Test: atest VtsHalAudioCoreTargetTest
Change-Id: Ia83fa4341dd50919d885ac1e10fb31c9a30c5a86
2022-12-27 20:30:03 +00:00
Sham Rathod
d7c6f32ddf Audio AIDL : Add default value to params
Bug: 258124419
Test: atest VtsHalBassBoostTargetTest
Test: atest VtsHalVirtualizerTargetTest
Test: atest VtsHalVisualizerTargetTest
Test: atest VtsHalAECTargetTest
Test: atest VtsHalAGCTargetTest
Test: atest VtsHalNSTargetTest

Change-Id: Iad68cf01f8a27dfe9ba17584f2c3b43f0d586d86
2022-12-27 19:34:20 +05:30
Venkatarama Avadhani
90373fe4d6 EARC: Add eARC AIDL files
AIDL files for eARC HAL.

Test: m android.hardware.tv.earc-update-api
      atest VtsHalTvEArcAidlTargetTest
Bug: 240388105
Change-Id: Id2a337b928e64e022d97b4339bf7788cc80ea653
2022-12-27 17:57:32 +05:30
Venkatarama Avadhani
04ee1a4f68 HDMI: Add Hotplug Detection Signal support
The HPD (Hotplug Detection) signal indicates the type of signal that the
HAL should use.

Bug: 258394639
Test: atest VtsHalTvHdmiAidlTargetTest
Change-Id: Ic391064d10636aca3c8e5c256c41d40144fbfe9c
2022-12-27 17:57:31 +05:30
Mikhail Naganov
b771f08af6 audio VTS: Use the right device type in PcmOnlyConfigInputStreamTest am: 6de19308ab
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2367469

Change-Id: I901bb4b9575006ec6b993428b4a7ef44f0aa777e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-23 19:16:18 +00:00
Steven Moreland
e489590628 specify import version (I)
Required to automate AIDL finalization - makes errors show up
now instead of later.

Bug: 188871598
Test: build
Change-Id: I6f46a39f76a73f27a71bc36e600941249ccbe8ee
Merged-In: Ic544707bac671d8327d8cc704a9d453470141e8e
2022-12-23 03:49:06 +00:00
Steven Moreland
945c90f7f5 Mark modules frozen explicitly (II)
Makes it easier to see which versions are available.

Bug: 188871598
Test: N/A
Merged-In: Ica76a8225fec8dc5267362cbfd43e06e65ad3f1e
Change-Id: I8c091237478e4b095ce4be280ae5d6fbcd0b7152
2022-12-23 02:33:24 +00:00
Mikhail Naganov
7492720e49 audio: Add presentation and latency control to IStreamOut
Add the following methods to IStreamOut:
  - get/setAudioDescriptionMixLevel;
  - get/setDualMonoMode;
  - getRecommendedLatencyModes/setLatencyMode;
  - get/setPlaybackRateParameters;
  - selectPresentation.

Add IStreamOutEventCallback interface for async notifications
of the client about playback-related events. This callback
can be provided to IModule.openOutputStream.

Bug: 205884982
Test: atest VtsHalAudioCoreTargetTest
Change-Id: I8974102d232cdd121a53edccbf26c33778a94e5e
2022-12-23 02:22:38 +00:00
Shunkai Yao
e39cd36545 Effect AIDL Add visualizer libeffect implementation
Bug: 258124419
Test: atest VtsHalVisualizerTargetTest
Change-Id: I4ad827a4e8951a16738580ecf91fe1b9cf65cc20
2022-12-22 17:10:03 +00:00
Treehugger Robot
3678f4f78b Merge "Sync wait for the bluetooth to be disabled / enabled" 2022-12-22 05:55:28 +00:00
Shunkai Yao
18c9dd8acc Merge changes from topic "aidl_audio_effect_volume_impl"
* changes:
  Audio AIDL : Add libeffects volume implementation uuid
  Volume: Add AIDL placeholder implementation and vts test
2022-12-22 05:20:54 +00:00
Shunkai Yao
ab59e6d5de Effect AIDL replace test cases icombine vector values with set
To avoid potential test cases with duplicate name.
Also update replace hardcode enum values with ndk::enum_range.

Bug: 258124419
Test: atest VtsHalAECTargetTest
Test: atest VtsHalAGCTargetTest

Change-Id: I6131d99f8b443ae48a487800190365cb645032da
2022-12-22 04:30:25 +00:00
Mikhail Naganov
6de19308ab audio VTS: Use the right device type in PcmOnlyConfigInputStreamTest
The fix in https://r.android.com/2322475 modifies the device
address, which becomes 'IN_DEFAULT' for the telephony case.
As a result, tests that verify capture position were not
skipped, and they do fail on certain platforms when there is
no active telephone call. The fix is to use the initial device
type which was passed to the test as a parameter, not the adjusted
one.

Bug: 263305254
Test: atest VtsHalAudioV7_0TargetTest
Test: atest VtsHalAudioV7_1TargetTest
Change-Id: Ied7134a1bd97e70dcc2400e0827810f9d71a6438
(cherry picked from commit 7029707e34)
2022-12-22 03:39:18 +00:00
Mikhail Naganov
b9807ec2b1 Merge "audio VTS: Use the right device type in PcmOnlyConfigInputStreamTest" 2022-12-22 03:38:48 +00:00
Mikhail Naganov
790a60b1f3 Merge "Audio AIDL : Add libeffects haptic generator implementation uuid" 2022-12-22 03:38:01 +00:00
Steven Moreland
61d6c00150 stablec mapper VINTF entry
Bug: 256701991
Test: vts_treble_vintf_vendor_test
Change-Id: I4a6597a10f80acefb28cb185988f82647b1c2e85
2022-12-22 03:29:33 +00:00
William Escande
cd64ee13fb Sync wait for the bluetooth to be disabled / enabled
Bluetooth does not handle well conflicting message

Test: VtsHalBluetoothV1_0TargetTest
Test: VtsHalBluetoothV1_1TargetTest
Bug: 262645484
Bug: 262501652
Change-Id: I0aca127fb5e5e33cc0086aaad19a8f1286fc83d6
2022-12-21 18:20:54 -08:00
Mikhail Naganov
7029707e34 audio VTS: Use the right device type in PcmOnlyConfigInputStreamTest
The fix in https://r.android.com/2322475 modifies the device
address, which becomes 'IN_DEFAULT' for the telephony case.
As a result, tests that verify capture position were not
skipped, and they do fail on certain platforms when there is
no active telephone call. The fix is to use the initial device
type which was passed to the test as a parameter, not the adjusted
one.

Bug: 263305254
Test: atest VtsHalAudioV7_0TargetTest
Test: atest VtsHalAudioV7_1TargetTest
Change-Id: Ied7134a1bd97e70dcc2400e0827810f9d71a6438
2022-12-21 23:18:58 +00:00
Sham Rathod
51d16c619c Audio AIDL : Add libeffects volume implementation uuid
Bug: 258124419
Test: atest VtsHalVolumeTargetTest

Change-Id: I7c87f27d08b2c037ee9c9edd8173138aae97e670
2022-12-21 23:15:25 +00:00
Sham Rathod
1b6c1f0c81 Volume: Add AIDL placeholder implementation and vts test
Bug: 258124419
Test: atest VtsHalVolumeTargetTest

Change-Id: Ie3eaa820f94be0287ba72b7647d3d7ab8b5c70b8
2022-12-22 04:43:47 +05:30
Shraddha Basantwani
dbb0ed6d27 EnvironmentalReverb: Add AIDL placeholder implementation and its unit test
Bug: 258124419
Test: atest VtsHalEnvironmentalReverbTargetTest

Change-Id: I8e8b569a493e6d9c36e2023fdbe6657a7732ed72
2022-12-22 04:41:26 +05:30
Shraddha Basantwani
ae7dde5d10 Audio AIDL : Add libeffects haptic generator implementation uuid
Bug: 258124419
Test: atest VtsHalHapticGeneratorTargetTest

Change-Id: I09abbc7a74d1e75f18bd1fbb4f1c2276a420eb20
2022-12-22 01:01:18 +05:30
Pomai Ahlo
00579368f8 Make Sap Interface Apex Available
Tag: #feature
Bug: 241969533
Test: atest com.android.bluetooth.sap
Change-Id: Ia58fb9201b37cc6b4050d1662008cf681e82bc79
2022-12-21 17:41:00 +00:00
Pomai Ahlo
f3ce10bd6c [ISap hidl2aidl] VTS Tests
Add VTS tests for the new AIDL interface

Test: atest VtsHalRadioTargetTest:PerInstance/SapTest
Bug: 241969533
Change-Id: Ia4a6be9aa0fd61c310fb539b44cc4d6a2e6e3852
Merged-In: Ia4a6be9aa0fd61c310fb539b44cc4d6a2e6e3852
2022-12-21 17:40:52 +00:00
Pomai Ahlo
1d10db6063 [ISap hidl2aidl] Compat Support
Add support for ISap in the compat shim.

Test: atest VtsHalRadioTargetTest:PerInstance/SapTest
Bug: 241969533
Change-Id: I9fe5fe194de877bcd2b85ccfa822bd6565e2dc72
Merged-In: I9fe5fe194de877bcd2b85ccfa822bd6565e2dc72
2022-12-21 17:40:43 +00:00
Myles Watson
26ae127557 Radio: hidl2aidl for ISap interface
Convert the ISap HIDL interface to AIDL using the script
Move ISap into android.hardware.radio.sap

Bug: 241969533
Test: new VTS Test
Change-Id: Ifee8c16e939f02ee4bbdb2fee23ce78b5e48df50
Merged-In: Ifee8c16e939f02ee4bbdb2fee23ce78b5e48df50
2022-12-21 17:40:19 +00:00
Lais Andrade
95aa48b473 Merge "Revert "EnvironmentalReverb: Add AIDL placeholder implementation and its unit test"" 2022-12-21 11:00:27 +00:00
Lais Andrade
6174131c3a Revert "EnvironmentalReverb: Add AIDL placeholder implementation and its unit test"
This reverts commit f6a5027eea.

Reason for revert: DroidMonitor-triggered revert due to breakage b/263347243

Change-Id: I3b60cbab0693f4db90dd438313587880c6be2cae
Bug: 263347243
2022-12-21 10:58:47 +00:00
Eran Messeri
576a5d4b2d Merge "Enforce KeyMint v3 for VSR level 14" 2022-12-21 10:55:15 +00:00
Sham Rathod
73aa2c38c6 PresetReverb: Add AIDL placeholder implementation and vts test
Bug: 258124419
Test: atest VtsHalPresetReverbTargetTest

Change-Id: Iea7b325e475be8093cb3fc7c242068f95c6dad5d
2022-12-21 10:46:44 +05:30
Treehugger Robot
686c214a38 Merge changes from topic "aidl_audio_effect_virtualizer_impl"
* changes:
  Audio AIDL : Add libeffects virtualizer bundle uuid
  Virtualizer: Add AIDL placeholder implementation and vts test
2022-12-21 04:45:22 +00:00
Trevor Black
3e01679bb5 Merge "The aidl changes necessary to add requested AHB format enums" 2022-12-21 00:24:27 +00:00
Treehugger Robot
3d4c5a4464 Merge "CAS: Add missing @hide annotations" 2022-12-21 00:01:23 +00:00
Shunkai Yao
4d58d01283 Merge "EnvironmentalReverb: Add AIDL placeholder implementation and its unit test" 2022-12-20 23:45:52 +00:00
Shunkai Yao
a46044e8d3 Merge changes from topic "processing_effects"
* changes:
  Effect AIDL: Add AEC, AGC and NS AIDL vts
  Effect AIDL: Add AEC, AGC and NS AIDL and placeholder implmentation
  Effect AIDL: Add AEC, AGC and NS AIDL interface definition
2022-12-20 21:45:13 +00:00
Treehugger Robot
02823d7040 Merge "HapticGenerator: Add AIDL placeholder implementation and vts test" 2022-12-20 20:23:22 +00:00
Sham Rathod
5fd232fc79 Audio AIDL : Add libeffects virtualizer bundle uuid
Bug: 258124419
Test: atest VtsHalVirtualizerTargetTest

Change-Id: Id7ab913765e43d96199562af2766dfc6799a046e
2022-12-20 18:10:04 +00:00