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
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
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
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
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