Commit Graph

44902 Commits

Author SHA1 Message Date
Treehugger Robot
fb6e7a8fb2 Merge "Haptic Generator : Modify HapticScale param to be a list" 2023-01-03 18:19:16 +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
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
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
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
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