Commit graph

49717 commits

Author SHA1 Message Date
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
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
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
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
Treehugger Robot
2100e6323c Merge changes Ib89e0924,Id2816580
* changes:
  Add default implementation and VTS for ISoundDose
  Add HAL interface definition for sound dose
2022-12-16 15:06:16 +00:00
Shunkai Yao
fb317fddc2 Effect AIDL: Add VTS test cases cleanup in TearDown am: cb0fc410d7 am: 7213f6dd4c am: dec53195b7
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2360488

Change-Id: If6d189f6414f0af967aaba6ca9fc4fa5724a2678
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-16 10:42:39 +00:00
Shunkai Yao
dec53195b7 Effect AIDL: Add VTS test cases cleanup in TearDown am: cb0fc410d7 am: 7213f6dd4c
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2360488

Change-Id: I4eab0c5f305fe6054b1f622e8d3432406eeb7368
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-16 10:02:16 +00:00
Shunkai Yao
7213f6dd4c Effect AIDL: Add VTS test cases cleanup in TearDown am: cb0fc410d7
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2360488

Change-Id: I8bcc8037cb52839d17f5b6fff0b410a5f1e080d7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-16 09:28:09 +00:00
Shunkai Yao
980986423d Add libaudio_aidl_conversion_common_cpp dependecy in hidl vts
Bug: 261129656
Test: m VtsHalAudioV5_0TargetTest
Change-Id: I586d5360bdc71fa1c84d3a387fe5f25a6661a25c
2022-12-16 03:10:32 +00:00
Kangping Dong
67ea86d5d2 Merge "add OWNERS file for the threadnetwork HAL project" 2022-12-16 02:44:34 +00:00
Shunkai Yao
cb0fc410d7 Effect AIDL: Add VTS test cases cleanup in TearDown
Remove output FMQ reset in EffectImpl
Update vts cases with ASSERT_* for critical errors
And update vts case naming

Bug: 261646550
Test: atest VtsHalAudioEffectTargetTest
Test: atest VtsHalEqualizerTargetTest
Test: atest VtsHalBassBoostTargetTest
Test: atest VtsHalLoudnessEnhancerTargetTest
Test: atest VtsHalAudioEffectFactoryTargetTest

Change-Id: If8d8aab0d4a68b13c488c053af1f36b58b7c99a1
2022-12-16 02:10:10 +00:00
Pomai Ahlo
99ba55070e Merge changes from topic "isap_hidl2aidl"
* changes:
  [ISap hidl2aidl] VTS Tests
  [ISap hidl2aidl] Compat Support
  Radio: hidl2aidl for ISap interface
2022-12-16 01:21:44 +00:00
Treehugger Robot
dc6c8661d8 Merge changes Iee37bb97,If7c549b8 am: 83ea817a8c am: edd8ea3ff6 am: 6d961cf202
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2359329

Change-Id: I34a844e8655247664a08d10c3cfe46042a06f883
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-15 23:58:13 +00:00
Treehugger Robot
6d961cf202 Merge changes Iee37bb97,If7c549b8 am: 83ea817a8c am: edd8ea3ff6
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2359329

Change-Id: I9a3f76d38a1a019baf05a85c52d58a85af959b76
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-15 21:59:00 +00:00
Treehugger Robot
edd8ea3ff6 Merge changes Iee37bb97,If7c549b8 am: 83ea817a8c
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2359329

Change-Id: I3b0d23d69f350fe84e41e02d51eb81d691bdb252
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-15 21:26:13 +00:00
Treehugger Robot
83ea817a8c Merge changes Iee37bb97,If7c549b8
* changes:
  Adjust IMapperMetadataTypes.h to match gralloc4 encoding
  Add some more tests & tweak spec around SMPTE2094-40
2022-12-15 21:02:54 +00:00
Vlad Popa
943b7e2b91 Add default implementation and VTS for ISoundDose
The ISoundDose HAL interface is used for reporting the sound dose
relevant information from/to the HAL. This is necessary for all devices
that certify with the IEC62368-1 3rd edition and EN50332-3 standard
for safe hearing.

Bug: 248567177
Test: atest VtsHalAudioCoreTargetTest
Change-Id: Ib89e09243a01cebc2f7996b6b572384a1471867a
Merged-In: Ib89e09243a01cebc2f7996b6b572384a1471867a
(cherry picked from commit 83a2146546)
2022-12-15 19:41:32 +00:00
Vlad Popa
83a6d82793 Add HAL interface definition for sound dose
The interface is used to configure the sound dose parameters and
retrieve new changes that can affect the dose. Used for the
certification with IEC62368-1 3rd edition.

Test: TODO
Bug: 257937004
Change-Id: Id2816580fdbfbf09c2278720b4d78d0b3604fbf4
Merged-In: Id2816580fdbfbf09c2278720b4d78d0b3604fbf4
(cherry picked from commit 10905ef92e)
2022-12-15 19:41:03 +00:00
John Reck
0e4732c1a5 Adjust IMapperMetadataTypes.h to match gralloc4 encoding
Specifically include the header encoding. Initially
omitted as it's a bit redundant, the value in having
bit-for-bit identical encoding between gralloc4 &
imapper5 seems worthwhile enough to keep it.

Test: impltests + VtsHalGraphicsMapperStableC
Change-Id: Iee37bb97acf40362c301a06f9118938b1a0c2cd9
2022-12-15 13:50:07 -05:00
John Reck
749f5af092 Add some more tests & tweak spec around SMPTE2094-40
Test: this
Change-Id: If7c549b8efcf490859f10c225a700188b76a54fa
2022-12-15 13:49:55 -05:00
Chris Kuiper
2501474978 Merge "HalProxy: Forward 'lshal debug' options." 2022-12-15 18:10:13 +00:00
Lorena Torres-Huerta
1b57bd4d5f Test fix for finalization branch am: 0f4d68964c am: 597f7b8c28 am: ec96f9d20c
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2356032

Change-Id: I53692850d06e04e311f9b7b188fa706d2633dce6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-15 18:05:03 +00:00
Lorena Torres-Huerta
ec96f9d20c Test fix for finalization branch am: 0f4d68964c am: 597f7b8c28
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2356032

Change-Id: I438e9b2dee715e4969fa247f0e7eb4e1f12b7e21
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-15 17:25:20 +00:00
Lorena Torres-Huerta
597f7b8c28 Test fix for finalization branch am: 0f4d68964c
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2356032

Change-Id: I5ee2bda6c92a25b4f2bac162d241d84c36154df2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-15 16:53:12 +00:00
Bob Badour
0468ee6201 [LSC] Add LOCAL_LICENSE_KINDS to hardware/interfaces
Added SPDX-license-identifier-Apache-2.0 to:
  media/bufferpool/aidl/Android.bp
  media/c2/aidl/Android.bp

Bug: 68860345
Bug: 151177513
Bug: 151953481

Test: m all
Change-Id: Icfbfae758bef55aa82873350a9e119833bacbafb
2022-12-15 07:20:02 -08:00
Treehugger Robot
ecfe9285b9 Merge "Add flag for bit-perfect playback." am: 2f8a148a26 am: d4c96c3cb2 am: 2048d6cb9a
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2351942

Change-Id: I08c60879b93f808ec322c9ffa4a610714b6cea6d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-15 09:54:16 +00:00
Treehugger Robot
15f0f54d05 [automerger skipped] Merge changes from topic "c2aidl" am: 94a68d04b7 am: 267986bd2d am: a6bedfe549 -s ours
am skip reason: Merged-In I1fc28084519281df68bca7ae5e2b814b03214577 with SHA-1 45b06598bd is already in history

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

Change-Id: I57a6da8bcc1f5af4de57b0c861543f42ed3fe16d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-15 09:52:44 +00:00