Commit graph

49744 commits

Author SHA1 Message Date
Sewook Seo
ac59d54a04 Add VTS for measurement type UTRAN ECNO
Bug: 243685647
Test: atest VtsHalRadioTargetTest
Change-Id: Iac89c8b73026d7974726cba57a390da9c04535eb
2022-12-20 04:57:35 +00:00
Treehugger Robot
a9bffa86ad Merge "Visualizer: Add AIDL placeholder implementation and vts test cases" am: 7f62d4e5f6 am: d3859a1dda am: 48e3824ce5
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2352968

Change-Id: I91117a28dedf13aad5871deeede68079f5fac33e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-17 11:23:44 +00:00
Treehugger Robot
f8993be73c Merge "Audio AIDL : Add libeffects bass boost bundle uuid" am: 2e9fe5d8d2 am: 780352fe60 am: 9410458e7e
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2329854

Change-Id: I54c6588bcf48fce31b9680ba696b9735ab11c2a3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-17 11:23:23 +00:00
Treehugger Robot
48e3824ce5 Merge "Visualizer: Add AIDL placeholder implementation and vts test cases" am: 7f62d4e5f6 am: d3859a1dda
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2352968

Change-Id: I32c6014f9e2f0ce7287b17e1a0c8d6d8bfef4e22
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-17 10:41:05 +00:00
Treehugger Robot
9410458e7e Merge "Audio AIDL : Add libeffects bass boost bundle uuid" am: 2e9fe5d8d2 am: 780352fe60
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2329854

Change-Id: I98453d5c040f2541f9b6914a5ab98c4ac6b392d3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-17 10:40:30 +00:00
Treehugger Robot
d3859a1dda Merge "Visualizer: Add AIDL placeholder implementation and vts test cases" am: 7f62d4e5f6
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2352968

Change-Id: I653549649cd3b754c1310a61212c500ec4f4bb25
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-17 10:04:52 +00:00
Treehugger Robot
780352fe60 Merge "Audio AIDL : Add libeffects bass boost bundle uuid" am: 2e9fe5d8d2
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2329854

Change-Id: Icffa59e547a02160232353bfdb66a2e0df6bd337
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-17 10:03:58 +00:00
Treehugger Robot
7f62d4e5f6 Merge "Visualizer: Add AIDL placeholder implementation and vts test cases" 2022-12-17 09:33:21 +00:00
Treehugger Robot
2e9fe5d8d2 Merge "Audio AIDL : Add libeffects bass boost bundle uuid" 2022-12-17 09:32:04 +00:00
Andy Hung
b91b283498 audio HAL: Optimize for Spatial Audio am: afc2da8e8b am: d958b03416
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/20612422

Change-Id: I953e9bc211ff22e433ca8d45a405f2e3a7b3f8f8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-17 04:06:37 +00:00
Treehugger Robot
de7da02aec Merge changes from topic "cas-aidl-frameworks" am: b8e8ab3775 am: 872de78dee am: b9b6a35496
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2329895

Change-Id: If66cbf3b6557027d4293a8123f1afe1c816d6287
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-17 04:06:06 +00:00
Mikhail Naganov
d3f439fd39 Merge "audio: Fix streamCommon nullptr check in VTS" am: 7c2b5ed7a1 am: 9e6ab24989 am: f39ccc440d
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2363001

Change-Id: Ibdfdfc2c8068986d4a0428234c74b3f37391d198
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-17 04:05:53 +00:00
Andy Hung
d958b03416 audio HAL: Optimize for Spatial Audio am: afc2da8e8b
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/20612422

Change-Id: Ic4fdd6a007bb1f4abec1dedf0352b79af3f77625
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-17 04:05:42 +00:00
Treehugger Robot
b9b6a35496 Merge changes from topic "cas-aidl-frameworks" am: b8e8ab3775 am: 872de78dee
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2329895

Change-Id: I28dfcae7fc7fb6582c6628338561494bb206a93b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-17 03:20:49 +00:00
Treehugger Robot
872de78dee Merge changes from topic "cas-aidl-frameworks" am: b8e8ab3775
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2329895

Change-Id: Icd705857ed10d1bcb82ebf83b5f48ee9867618a1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-17 02:45:23 +00:00
Mikhail Naganov
f39ccc440d Merge "audio: Fix streamCommon nullptr check in VTS" am: 7c2b5ed7a1 am: 9e6ab24989
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2363001

Change-Id: I2c889b45dee7199a5b3829837eeb25c08fefaee7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-17 02:39:36 +00:00
Treehugger Robot
b8e8ab3775 Merge changes from topic "cas-aidl-frameworks"
* changes:
  CAS: Add @hide annotations
  CAS: Update ScramblingMode enum order
2022-12-17 02:07:22 +00:00
Mikhail Naganov
9e6ab24989 Merge "audio: Fix streamCommon nullptr check in VTS" am: 7c2b5ed7a1
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2363001

Change-Id: If837b42d2f31ed0919b2269039e2a6a8c60ac2d9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-17 02:03:20 +00:00
Chris Weir
6911968348 Merge "Add warning about AIDL CAN HAL" 2022-12-17 01:46:04 +00:00
Mikhail Naganov
7c2b5ed7a1 Merge "audio: Fix streamCommon nullptr check in VTS" 2022-12-17 01:23:47 +00:00
Treehugger Robot
ca91d59122 [automerger skipped] Merge "Add AUDIO_ENCAPSULATION_TYPE_PCM." am: f49af6b686 am: 32d6ff6854 am: ddf8c69f4a -s ours
am skip reason: Merged-In I42ccbed4d0b2a2cd7d704ac42b1aa25b1e128de3 with SHA-1 b099c1e9ef is already in history

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

Change-Id: Iab8eed8517b1742632a0d9611f3ed6904096ebba
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-16 23:22:42 +00:00
Treehugger Robot
ddf8c69f4a Merge "Add AUDIO_ENCAPSULATION_TYPE_PCM." am: f49af6b686 am: 32d6ff6854
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2362642

Change-Id: I4df14b164b43ac7748786a1253d1f87ec8051fd1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-16 22:39:09 +00:00
Mikhail Naganov
8230457989 audio: Fix streamCommon nullptr check in VTS
Fix test code in AudioStream#GetStreamCommon test.
Avoid crashing if the HAL module returns a null
IStreamCommon instance pointer.

Bug: 205884982
Test: atest VtsHalAudioCoreTargetTest
Change-Id: I118ea1df49a127780a901479cf8cd5787be601f7
2022-12-16 22:19:32 +00:00
Treehugger Robot
32d6ff6854 Merge "Add AUDIO_ENCAPSULATION_TYPE_PCM." am: f49af6b686
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2362642

Change-Id: I25fff099e11192ba6304180ac7222e0f9e9eebc6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-16 22:05:42 +00:00
Andy Hung
afc2da8e8b 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
Change-Id: I59ea99e8a1720f61954747f6c29e14cfea9a0f56
2022-12-16 13:41:52 -08:00
Treehugger Robot
f49af6b686 Merge "Add AUDIO_ENCAPSULATION_TYPE_PCM." 2022-12-16 21:19:47 +00:00
Treehugger Robot
dd181118cb Merge "[LSC] Add LOCAL_LICENSE_KINDS to hardware/interfaces" am: bfc2e1524d am: 3a2259f641 am: f77415e60a
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2357754

Change-Id: Icc70d343985b8239d924204824f6fa4ab91928bd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-16 20:41:55 +00:00
Mikhail Naganov
f9d4e2b592 audio: Provide operations common to input and output streams am: e9f10fc9dc am: 66b60e7f79 am: e1570b3ff6
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2256002

Change-Id: Ia68482b7645dfaad3aa4a71f2b395ab97fad0856
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-16 20:38:01 +00:00
Mikhail Naganov
54b91c4f70 audio: Retain IBinder for instances with MinSchedulerPolicy am: df5feba141 am: 7a98fce7b2 am: e8e6a31e87
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2356911

Change-Id: I0e1cfa22dd67fd12d772126d1ceec9d2180991a9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-16 20:37:55 +00:00
Treehugger Robot
f77415e60a Merge "[LSC] Add LOCAL_LICENSE_KINDS to hardware/interfaces" am: bfc2e1524d am: 3a2259f641
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2357754

Change-Id: I635f018d19810a182c5bbb053f442c32261deabd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-16 19:58:38 +00:00
Mikhail Naganov
e1570b3ff6 audio: Provide operations common to input and output streams am: e9f10fc9dc am: 66b60e7f79
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2256002

Change-Id: Ic68d33cfa0b38a4556104493fcf904669732c81f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-16 19:58:02 +00:00
Mikhail Naganov
e8e6a31e87 audio: Retain IBinder for instances with MinSchedulerPolicy am: df5feba141 am: 7a98fce7b2
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2356911

Change-Id: I395ea24ffbc9959ecfa02735716f10a181fdb441
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-16 19:57:59 +00:00
Treehugger Robot
3a2259f641 Merge "[LSC] Add LOCAL_LICENSE_KINDS to hardware/interfaces" am: bfc2e1524d
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2357754

Change-Id: I6578a4447e3d4dc415655d9263cacb7d6a9b8e14
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-16 19:28:05 +00:00
Mikhail Naganov
66b60e7f79 audio: Provide operations common to input and output streams am: e9f10fc9dc
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2256002

Change-Id: I60df299d1cf8d9e1724325afcd0da2f72de66f1d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-16 19:27:29 +00:00
Mikhail Naganov
7a98fce7b2 audio: Retain IBinder for instances with MinSchedulerPolicy am: df5feba141
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2356911

Change-Id: Iedc382e2e2689f906f6aadbae2af6b2f2ed18428
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-16 19:27:27 +00:00
Tyler Trephan
5f66ad09b9 Merge "Added new supportedEnumValues to VehicleAreaConfig.aidl file" 2022-12-16 19:15:31 +00:00
Treehugger Robot
bfc2e1524d Merge "[LSC] Add LOCAL_LICENSE_KINDS to hardware/interfaces" 2022-12-16 18:51:44 +00:00
Chris Weir
c847a3cfda Add warning about AIDL CAN HAL
Have the HIDL versions of libcanhaltools and canhalconfigurator provide
a warning message directing the viewer to use the AIDL version.

Bug: 170405615
Test: Build seahawk with AIDL CAN HAL and HIDL canhalconfigurator,
observe warning message.

Change-Id: I83a3dcedbdc5eafd3804e60950d0d8788cd6eddb
2022-12-16 10:49:41 -08:00
jiabin
d888772e3b Add AUDIO_ENCAPSULATION_TYPE_PCM.
Bug: 239435816
Test: n/a
Change-Id: I42ccbed4d0b2a2cd7d704ac42b1aa25b1e128de3
Merged-In: I42ccbed4d0b2a2cd7d704ac42b1aa25b1e128de3
2022-12-16 18:42:55 +00:00
Sunil Ravi
2d63b2edef Merge "wifi: Add radio_id and frequency to StaLinkLayerLinkStats" 2022-12-16 18:09:26 +00:00
Mahesh KKV
0da2997163 wifi: Add radio_id and frequency to StaLinkLayerLinkStats
Bug: 258013268
Test: m android.hardware.wifi-update-api
Change-Id: I725144033cd33e59c201e459e036c2008a8cca58
2022-12-16 17:54:51 +00:00
Sunil Ravi
dce87aa9d4 Merge changes from topic "Wi-Fi7: MLO Stats"
* changes:
  wifi: Add Support for Multi-Link Layer stats in shim layer
  wifi: Add multi link layer stats support to AIDL
  wifi: Update vts test for GetLinkLayerStats()
  wifi: Add unit test for multi link stats conversion
  wifi: Fix unit test for LegacyLinkLayerStats
2022-12-16 17:31:21 +00:00
Treehugger Robot
6493c1e1af [automerger skipped] Merge changes Ib89e0924,Id2816580 am: 2100e6323c am: 8cea10689e am: 7d66f1413b -s ours
am skip reason: Merged-In Ib89e09243a01cebc2f7996b6b572384a1471867a with SHA-1 83a2146546 is already in history

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

Change-Id: Ib17c2d5e48b984c8293690039ce89e0420c41e6a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-16 16:41:06 +00:00
Vlad Popa
5cf182cca4 [automerger skipped] Add HAL interface definition for sound dose am: 83a6d82793 am: eae2b3434c am: 44ba5d444e -s ours
am skip reason: Merged-In Id2816580fdbfbf09c2278720b4d78d0b3604fbf4 with SHA-1 10905ef92e is already in history

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

Change-Id: I4b42269e464ddaa2d3397c16d8223bdf855921de
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-16 16:41:03 +00:00
Mikhail Naganov
e9f10fc9dc audio: Provide operations common to input and output streams
Introduce IStreamCommon which contains methods that apply
both to input and output streams. Move the 'close' method
to it. Add 'IStreamIn/Out.getStreamCommon' method to retrieve
the common interface.

Add methods for dealing with HW AV Sync and vendor parameters.

Bug: 205884982
Test: atest VtsHalAudioCoreTargetTest
Change-Id: Ie1a7b32e28425f5398afc95192fcbc5403b5c332
2022-12-16 16:40:28 +00:00
Treehugger Robot
7d66f1413b Merge changes Ib89e0924,Id2816580 am: 2100e6323c am: 8cea10689e
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2359333

Change-Id: Ib57d01f627b8fd065dab3386813ab812a43680a6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-16 16:00:36 +00:00
Vlad Popa
44ba5d444e Add HAL interface definition for sound dose am: 83a6d82793 am: eae2b3434c
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2359332

Change-Id: Idbbc9f93e697e12e3b801b34639d3e7b1762fb03
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-16 16:00:32 +00:00
Mikhail Naganov
df5feba141 audio: Retain IBinder for instances with MinSchedulerPolicy
The binder passed to AIBinder_setMinSchedulerPolicy must also be
returned to the client, otherwise setting the policy for it does
not make any sense. However, server side interface instance
classes only hold a weak binder reference. It's the caller of the
'asBinder' method who must retain a strong reference. This
reference must be retained past exiting from the method which
returns the instance to the client.

To solve this issue, add storing of binders along with server
object references. These binders get released after the client
calls a 'close'/'destroy'-type method to release instance
resources.

Bug: 205884982
Test: run `atest VtsHalAudioCoreTargetTest` and effect VTS,
      and grep logcat for
     'destroyed after setMinSchedulerPolicy before being parceled'
Change-Id: I8b905b85cb8263c85edae8839a126ffe4e4d1e69
2022-12-16 15:27:10 +00:00
Treehugger Robot
8cea10689e Merge changes Ib89e0924,Id2816580 am: 2100e6323c
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2359333

Change-Id: I6da809519ce915e534a56f9d5f7600706057a4d5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-16 15:25:46 +00:00
Vlad Popa
eae2b3434c Add HAL interface definition for sound dose am: 83a6d82793
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2359332

Change-Id: I34deca89a6b6a696cde1636133f6813f021d0218
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-16 15:25:42 +00:00