Commit graph

63955 commits

Author SHA1 Message Date
sadiqsada
5494506c79 Terminate IPTV read thread on demux close
IPTV reading thread doesn't have a termination condition. This CL
adds a flag mIsIptvReadThreadTerminated which tracks whether the
thread resources should be cleaned up.

Bug: 288170590
Test: atest VtsHalTvTunerTargetTest
Change-Id: I3a19e1045ee67dac2d95457d217adb1375674ed4
2024-01-18 14:04:53 -08:00
sadiqsada
c5707a25f1 Fix tune byte alignment
When reading data from the socket, one byte is read during tuning
and remaining data is read during playback. Since the same streamer
is used for reading data, there is an offset of 1 when tuning is
performed before playback. The extra byte is stored in a buffer
and prepended to the playback buffer.

Bug: 288170590
Test: atest VtsHalTvTunerTargetTest
Change-Id: Ie5d112dbc3c3e3bbb0bb07e60d15ddc26cacaf8c
2024-01-18 14:02:52 -08:00
sadiqsada
cf14e8ca5b mFilterCount cannot be negative
mFilterCount is a reference counter for Filters, and it's decremented
when Filter.stop() is called. Added a check to make sure the value
is not decremented when it's already 0.

Bug: 288170590
Test: atest VtsHalTvTunerTargetTest
Change-Id: I72fe7e5c4babd7e7426d8a52b40887a8c411ce81
2024-01-18 13:58:30 -08:00
sadiqsada
25a0f6fece Refactor plugin interface, streamer creation
Bug: 288170590
Test: atest VtsHalTvTunerTargetTest
Change-Id: Ib141bbb05df8ce17eb5fdb1fed017110fd46a510
2024-01-18 13:58:00 -08:00
Treehugger Robot
7186eb9950 Merge "Updated VTS getSimultaneousCallingSupport test." into main 2024-01-08 15:40:51 +00:00
George Chang
460f748fc3 Merge "Tag vts module VtsHalSecureElementTargetTest with secure element sim" into main am: 7653e2653d am: 9235c8bf1f am: c6ab68fec7
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2895223

Change-Id: I07be86e5f016f4e8f717c9d13ea1584b44f6f5d4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-08 05:10:42 +00:00
George Chang
c6ab68fec7 Merge "Tag vts module VtsHalSecureElementTargetTest with secure element sim" into main am: 7653e2653d am: 9235c8bf1f
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2895223

Change-Id: I1eb23a8ccc199d34963e792bdf9f90fbdd989d6d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-08 04:31:42 +00:00
George Chang
9235c8bf1f Merge "Tag vts module VtsHalSecureElementTargetTest with secure element sim" into main am: 7653e2653d
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2895223

Change-Id: Ifca312d0ec0a7b7df87e961132058e8d838cca67
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-08 04:00:30 +00:00
George Chang
7653e2653d Merge "Tag vts module VtsHalSecureElementTargetTest with secure element sim" into main 2024-01-08 03:20:39 +00:00
Jayant Chowdhary
2d51f59db5 Merge "camera: Add boolean to HalStream for stream specific HAL buffer manager" into main 2024-01-06 07:15:44 +00:00
Treehugger Robot
34b761ab51 Merge "Add isHardwareIgnoringTouches to OperationContext" into main 2024-01-06 01:42:13 +00:00
Devin Moore
bffb6a3f8a Merge "Add CtsStrictJavaPackagesTestCases to TEST_MAPPING presubmits" into main am: 9548b5cb98 am: 3f70164b5f am: b548ed17fd
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2878225

Change-Id: I4b78431bfc65c788cd55d742c3e87117a0e0469a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-06 01:33:10 +00:00
Devin Moore
b548ed17fd Merge "Add CtsStrictJavaPackagesTestCases to TEST_MAPPING presubmits" into main am: 9548b5cb98 am: 3f70164b5f
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2878225

Change-Id: I9821313afc46a59c9f75593ac884909a3e9a9901
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-06 00:59:58 +00:00
Yu Shan
8110a43ccb Merge "Test only defined system propIds are supported." into main 2024-01-06 00:42:05 +00:00
Devin Moore
3f70164b5f Merge "Add CtsStrictJavaPackagesTestCases to TEST_MAPPING presubmits" into main am: 9548b5cb98
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2878225

Change-Id: I1a403423637a0498c5ab4a6a1832cf96c5c376bb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-06 00:30:15 +00:00
Austin Delgado
7b690750fe Add isHardwareIgnoringTouches to OperationContext
Bug: 313763144
Test: atest SystemUITests:com.android.systemui.biometrics
Flag: None
Change-Id: If337f491b809d5e9c9fdfedad86a3d63a3431102
2024-01-05 16:02:15 -08:00
Devin Moore
9548b5cb98 Merge "Add CtsStrictJavaPackagesTestCases to TEST_MAPPING presubmits" into main 2024-01-05 23:51:44 +00:00
John Reck
c4069e8c44 Merge "composer: vts: update getClientTargetSupport tests" into main 2024-01-05 22:38:49 +00:00
Jakub Tyszkowski
505ade7490 LeAudio/multicodec: Add the additional VTS test case am: c8a6224831 am: 524e3462d5 am: ac57f467f1
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2897866

Change-Id: Icfb179862515b691fdea073131252104c5a8405d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-05 20:44:08 +00:00
Jakub Tyszkowski
891cd18d5e LeAudio/multicodec: Fix the async data path getter API am: 4856308c50 am: c5dc2882df am: 94c963cb45
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2897465

Change-Id: Ie6ba11dbca29db09dd464f23ceba898d69d281ee
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-05 20:44:03 +00:00
Jakub Tyszkowski
ac57f467f1 LeAudio/multicodec: Add the additional VTS test case am: c8a6224831 am: 524e3462d5
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2897866

Change-Id: I31cb50d59df0bbea7d22908518ddfcd29601de68
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-05 20:11:33 +00:00
Jakub Tyszkowski
94c963cb45 LeAudio/multicodec: Fix the async data path getter API am: 4856308c50 am: c5dc2882df
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2897465

Change-Id: Ia092eb2a77e9f4a15f8ea1adb8cb0a471be33480
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-05 20:11:29 +00:00
Jakub Tyszkowski
524e3462d5 LeAudio/multicodec: Add the additional VTS test case am: c8a6224831
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2897866

Change-Id: I4de772e5656b1a497305f0fc0be314a3bbe9d35c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-05 19:39:06 +00:00
Jakub Tyszkowski
c5dc2882df LeAudio/multicodec: Fix the async data path getter API am: 4856308c50
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2897465

Change-Id: Ia647a7c4f5512be92bab856d83d1a0642a472251
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-05 19:39:02 +00:00
Grant Menke
3bc635e7b7 Updated VTS getSimultaneousCallingSupport test.
This CL updates the getSimultaneousCallingSupport VTS test to ensure that REQUEST_NOT_SUPPORTED is not returned and that enabledLogicalSlots is set to an empty array by default for the default CF impl.

Test: VtsHalRadioTargetTest
Bug: 311495663
Change-Id: Ie382c14a19951bb69c7b7db4056f0e9dabc27685
2024-01-05 19:13:18 +00:00
Weilin Xu
1b5d9fea8b Merge "Update audio common dependency in audio control HAL" into main 2024-01-05 18:29:24 +00:00
Jakub Tyszkowski
c8a6224831 LeAudio/multicodec: Add the additional VTS test case
Bug: 308428217
Bug: 307258939
Test: atest VtsHalBluetoothAudioTargetTest
Change-Id: Idf8ca8c50e61482506c3c1a5bf5e8962c316a045
2024-01-05 18:12:50 +00:00
Jakub Tyszkowski
4856308c50 LeAudio/multicodec: Fix the async data path getter API
Just like the returned data path configurations are split for each direction,
the function arguments should also have the directional context. The vendor
module might need to know which connection handles in the stream map are for
the sink and which are for the source direction, to provide the proper
data path configurations for each direction.

Bug: 308428217
Bug: 307258939
Test: m android.hardware.bluetooth.audio-update-api
Change-Id: I270b6f4631869e2180580c886f0b58bd777d2123
2024-01-05 14:48:23 +00:00
Yahav Nussbaum
8a0952a080 Merge "Make android.hardware.bluetooth.finder apex_avilable for com.android.tethering" into main am: 8885605ebd am: c11117d500 am: cfe18a697d
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2898148

Change-Id: I12ff58428b99d3305547c15dcf39ecd4966041ae
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-05 11:52:27 +00:00
Yahav Nussbaum
cfe18a697d Merge "Make android.hardware.bluetooth.finder apex_avilable for com.android.tethering" into main am: 8885605ebd am: c11117d500
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2898148

Change-Id: I1eb71c0c24da03272aef58f50734582dadfbc973
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-05 11:21:01 +00:00
Yahav Nussbaum
c11117d500 Merge "Make android.hardware.bluetooth.finder apex_avilable for com.android.tethering" into main am: 8885605ebd
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2898148

Change-Id: I545651136140c5dcf001c0b105b318b550351588
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-05 10:51:40 +00:00
Yahav Nussbaum
8885605ebd Merge "Make android.hardware.bluetooth.finder apex_avilable for com.android.tethering" into main 2024-01-05 10:27:48 +00:00
Wiwit Rifa'i
c67c887c5a composer: vts: update getClientTargetSupport tests
Ensure the primary display to set power on before running
getClientTargetSupport tests for VTS 2.1 - 2.3.

Bug: 308252481
Test: atest VtsHalGraphicsComposerV2_1TargetTest
Test: atest VtsHalGraphicsComposerV2_2TargetTest
Test: atest VtsHalGraphicsComposerV2_3TargetTest
Change-Id: I6b793537ee42c87f37c4c1d7141364541f448134
2024-01-05 16:29:12 +08:00
Weilin Xu
23b29d6f69 Update audio common dependency in audio control HAL
Upgraded audio common dependency to V3 in AIDL audio control
dependency.

Bug: 307967844
Test: atest VtsAidlHalAudioControlTest
Change-Id: I40f8e03c128893a609bdf7e5e0d815c0602ba758
2024-01-04 15:22:11 -08:00
Treehugger Robot
ead40c477c Merge "Clarify securityAlgorithmsUpdated and add new null enums" into main 2024-01-04 23:17:29 +00:00
Yahav Nussbaum
2f1b39cce9 Make android.hardware.bluetooth.finder apex_avilable for com.android.tethering
Bug: 307897939
Test: m android.hardware.bluetooth.finder-update-api
Change-Id: I7c40cdfc36180d0ab25d9862b29bb4015d03adb0
2024-01-04 22:30:03 +00:00
yomna
5f21fc7462 Clarify securityAlgorithmsUpdated and add new null enums
Per vendor feedback, adds SRTP_NULL, IMS_NULL, clarifies VoWiFi are reserved
for future use, and when state for securityAlgorithmsUpdated is expected to
be cleared.

Bug: b/318426372, b/318425921, b/318426377, b/318427053
Test: m
Change-Id: I465e97a445d330088fb58d2ccc9481cfe360fc07
2024-01-04 22:11:42 +00:00
Gabriel Biren
77a4d168fd Merge "RTT: Add OuiKeyedData List in ranging APIs" into main 2024-01-04 22:08:46 +00:00
Yu Shan
40b937be36 Return INVALID_ARG if cont prop rate is 0.
Return INVALID_ARG if subscribe to a continuous property with
sample rate 0.

Test: atest FakeVehicleHardwareTest
Bug: 316208952
Change-Id: I2a37ad6c2244d0bed088c700bd0a3ccb98fd4675
2024-01-04 20:58:44 +00:00
Vinay Gannevaram
870da833b6 RTT: Add OuiKeyedData List in ranging APIs
Add vendor data in ranging API and event as OuiKeyedData List.

Bug: 296069900
Test: m
Change-Id: Ifaf8c3f49624cbf8c760157d329c2e022935a9c3
2024-01-04 20:45:37 +00:00
Treehugger Robot
b6608ac968 Merge "Fix bugs in TestWakeupClientServiceImpl." into main 2024-01-04 20:09:34 +00:00
Jayant Chowdhary
4869ae7838 camera: Add boolean to HalStream for stream specific HAL buffer manager
Whether the HAL buffer manager is used or not is decided
based on the presence of a static camera characteristics key -
ANDROID_INFO_SUPPORTED_BUFFER_MANAGEMENT_VERSION. This behavior cannot
be toggled depending on stream configuration / session parameters.

The HAL buffer manager does reduce memory consumption at the cost of
extra IPC calls, which may not be always desirable.

Therefore, HalStream.aidl - the parcelable returned by the camera HAL
for each stream configured now holds a boolean value, specifying
whether output buffers must be managed by the HAL or the camera
framework for the particular session configured.

Bug: 311263114

Test: builds

Test: Run Camera CTS on HAL supporting
      ANDROID_INFO_SUPPORTED_BUFFER_MANAGEMENT_VERSION_SESSION_CONFIGURABLE

Test: VTS

Change-Id: Id6bda31eab3d66361991e2f883231a5a55a2ef82
Signed-off-by: Jayant Chowdhary <jchowdhary@google.com>
2024-01-04 18:32:19 +00:00
David Drysdale
e282d82c4f Merge "KeyMint VTS: fix flipped error messages" into main am: e016befb4f am: da8d527779 am: 05cd4def9b
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2895123

Change-Id: Idcae5d29dfeaa4e4bd311eb81ac708cd0ba6c373
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-04 12:04:22 +00:00
David Drysdale
05cd4def9b Merge "KeyMint VTS: fix flipped error messages" into main am: e016befb4f am: da8d527779
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2895123

Change-Id: Idcbc2fcfa241ba4b457f96488ef25b64e7644d20
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-04 11:33:43 +00:00
David Drysdale
da8d527779 Merge "KeyMint VTS: fix flipped error messages" into main am: e016befb4f
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2895123

Change-Id: I16798144a592fdc20f8731e6a3ef6bc0532ce599
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-04 11:00:28 +00:00
David Drysdale
e016befb4f Merge "KeyMint VTS: fix flipped error messages" into main 2024-01-04 09:56:25 +00:00
George Chang
80e365794b Tag vts module VtsHalSecureElementTargetTest with secure element sim
Bug: 302200925
Test: build pass
Change-Id: Idbfee70eec009fffe389aad5780a4f04c55757c7
2024-01-04 15:51:48 +08:00
Mikhail Naganov
5f8f8cc16b Merge "audio: Fix the type used for timekeeping" into main am: e3ed739865 am: da3b33a4f4 am: 6178a82724
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2894924

Change-Id: I6dead6af17b8364d52548c5d73e0984e1341d18e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-04 02:38:49 +00:00
Sungtak Lee
dcc85601eb Merge "media.c2 aidl: do not throw status, return instead" into main am: 3c548fc475 am: 1cccdf5c1c am: 4c76bdb635
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2893421

Change-Id: I01b9e7454acb3b9ad9f7079071e016773103792a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-04 02:37:12 +00:00
Mikhail Naganov
6178a82724 Merge "audio: Fix the type used for timekeeping" into main am: e3ed739865 am: da3b33a4f4
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2894924

Change-Id: I1baa3f5056048f44a3d8f1008433be993dc1163c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-04 02:02:00 +00:00