Commit graph

44919 commits

Author SHA1 Message Date
Michal Olech
3cc2a00799 Add CEC AIDL tests to test mapping (presubmit)
Bug: 250526670
Bug: 250526969
Test: acloud create --local-instance --local-image && cd
hardware/interfaces/tv && atest

Change-Id: I8ecdabc0fcfd1d259153e0fd1fa579aca64d9be4
Merged-In: I8ecdabc0fcfd1d259153e0fd1fa579aca64d9be4
2023-01-09 07:04:42 +00:00
Treehugger Robot
466f3c55a9 Merge "Fix test assumption for KeyMint+RKP integration" 2023-01-04 16:44:00 +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
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