Commit graph

897 commits

Author SHA1 Message Date
sadiqsada
59a40429b6 Initialize new Frontend params as nullptr
Bug: 288170590
Test: m
Change-Id: Ic5fdf73d5221f2a04232f3820cbf84fb31c135e4
2023-11-10 14:49:46 -08:00
sadiqsada
56c98294a2 Add IPTV default implementation
Frontend::tune(): create a streamer using plugin interface to
read a byte and return LOCKED event if byte is read

Demux::setFrontendDataSource():open a new stream to read data
from the socket and push the data read to DVR FMQ.

Test: atest VtsHalTvTunerTargetTest
Bug: 288170590
Change-Id: Iaf2eae7b4dc9e7d69b1f7b3a367d24f6acdd68be
2023-11-02 16:45:31 -07:00
Lyn Han
51cc83a7b1 Merge "Revert "Add IPTV default implementation"" into main 2023-11-02 23:40:12 +00:00
Sadiq Sada
6c46c89a33 Revert "Add IPTV default implementation"
This reverts commit 1f3f0ac11c.

Reason for revert: build failure https://android-build.corp.google.com/build_explorer/branch_dashboard/git_main/build_id/11044788/ quarterdeck https://android-build.corp.google.com/builds/quarterdeck?branch=git_main-without-vendor&target=aosp_x86_64-trunk_staging-userdebug&lkgb=11044124&lkbb=11044818&fkbb=11044818

Bug: 309021506
Change-Id: I27c938017785e8a5ee4f8aa708b4e0f6ab448420
2023-11-02 23:38:06 +00:00
Sadiq Sada
f82af0c6c1 Merge "Add IPTV default implementation" into main 2023-11-02 22:29:36 +00:00
Henry Fang
b7e63bc6ea Merge "Add fix vts fail when configureMonitorEvent" into android14-tests-dev am: 7bb2ce9795 am: 0804e9f8b2 am: 2f1b872b1c am: 80ac05a2a0
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2807334

Change-Id: I1faf8fa444ee4b34f823046059aa1bc6569971eb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-01 02:46:22 +00:00
Henry Fang
0804e9f8b2 Merge "Add fix vts fail when configureMonitorEvent" into android14-tests-dev am: 7bb2ce9795
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2807334

Change-Id: I6cf77e7655b3ee02514743610be2b285cf7bde35
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-01 01:03:26 +00:00
sadiqsada
1f3f0ac11c Add IPTV default implementation
Frontend::tune(): create a streamer using plugin interface to
read a byte and return LOCKED event if byte is read

Demux::setFrontendDataSource():open a new stream to read data
from the socket and push the data read to DVR FMQ.

Test: atest VtsHalTvTunerTargetTest
Bug: 288170590
Change-Id: Ibbe85739edc1ed1be50ab29fbc3b63969340186a
2023-10-31 11:52:25 -07:00
Eddy-SH Chen
566240ad7a Add fix vts fail when configureMonitorEvent
[Description]
VTS StartFilterInDemux failed when configureMonitorEvent is called

[Root Cause]
Scrambling status event is not notified when configureMonitorEvent is called
so test case failed.

[Solution]
Scrambling status event is not notified because of no input data.
Add input setting and check event notified or not after data is input.

Bug: 288193021
Change-Id: Icaaf0adc5bbd1c512742c48b0b665218da1c7980
2023-10-27 08:16:19 +00:00
David Zhao
8995c298a5 Merge "Update TVInput impl and vts to create and validate queue" into main 2023-10-17 22:10:38 +00:00
David Zhao
9d64b4f3c6 Merge "Update TvMessageEvent to include a deviceId field" into main 2023-10-17 22:10:06 +00:00
David Zhao
0dc2bc658f Update TVInput impl and vts to create and validate queue
Test: m vts && vts-tradefed run vts --module VtsHalTvInputTargetTest
Bug: 305993654
Change-Id: I9e7a87b200c08a9807d99d66bd881226c4cc47aa
2023-10-17 19:49:54 +00:00
David Zhao
03036457f2 Update TvMessageEvent to include a deviceId field
Test: mmm
Bug: 302208143

Change-Id: I45f8ba6d45dc7f4afbdbcf8d29e452944adea2ba
2023-10-17 19:49:23 +00:00
David Zhao
c705c2195a Update TV owners
VTS check doesn't like it if there's no component in the OWNERS file.

Test: mmm
Change-Id: I46fe7e30032802640216cd6f5fbeabc97b09a085
2023-10-11 17:47:56 +00:00
Treehugger Robot
48612c25b3 Merge "Merge OWNERS files for tv" into main am: 425d2071c9
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2746939

Change-Id: Ia0335803198967fac9decc06bb832584679d5394
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-11 17:20:20 +00:00
Devin Moore
db191ca6eb Merge OWNERS files for tv
Test: none
Bug: 296950573
Change-Id: If3d849c1c1a4a3c66edbd4c61a4f6ecf09159289
2023-09-08 23:09:37 +00:00
Yixiao Luo
d4a66cb3d0 Add CAS AIDL/HIDL support for Tuner Descrambler Tests
Bug: 266968335
Test: VtsHalTvTunerTargetTest
Change-Id: I55074360587735256c4f0efa8228d28f57b21592
Merged-In: I55074360587735256c4f0efa8228d28f57b21592
2023-08-31 11:39:38 +05:30
Xin Li
879960bdce Merge Android U (ab/10368041)
Bug: 291102124
Merged-In: I7b6fffac2ada0e039f79bad8cc9b4d954e9c3460
Change-Id: I9466127d8d0fa38df36ca99f704853b2db871e67
2023-08-25 13:29:30 -07:00
mike liao
62334235e8 Add fix vts fail when configureMonitorEvent am: b79cbf50f1 am: d8baeb3916 am: 1b000d1343
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2640754

Change-Id: Id7ec0c1fae71d7e6f4cf6676222f24f723bcc9e6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-30 00:33:22 +00:00
mike liao
1b000d1343 Add fix vts fail when configureMonitorEvent am: b79cbf50f1 am: d8baeb3916
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2640754

Change-Id: I97914a24ec13a8c8278877907bd6f68012a0deb2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-30 00:05:48 +00:00
mike liao
d8baeb3916 Add fix vts fail when configureMonitorEvent am: b79cbf50f1
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2640754

Change-Id: I48d3c2ecee071096c1b94c94293bb9b1cc39f839
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-29 23:22:37 +00:00
mike liao
b79cbf50f1 Add fix vts fail when configureMonitorEvent
[Description]
VTS StartFilterInDemux failed when configureMonitorEvent is called

[Root Cause]
Scrambling status event is not notified when configureMonitorEvent is called
  so test case failed.

[Solution]
Scrambling status event is not notified because of no input data.
Add input setting and check event notified or not after data is input.

Test: Manual
bug: 288193021

Change-Id: If5875d064fd67b72f8299205a5e35b1a2bd61934
2023-06-27 11:25:43 -07:00
mike liao
8b39328dcc Add fix vts fail when configureMonitorEvent
[Description]
VTS StartFilterInDemux failed when configureMonitorEvent is called

[Root Cause]
Scrambling status event is not notified when configureMonitorEvent is called
  so test case failed.

[Solution]
Scrambling status event is not notified because of no input data.
Add input setting and check event notified or not after data is input.

Test: Manual
bug: 288193021

Change-Id: If5875d064fd67b72f8299205a5e35b1a2bd61934
(cherry picked from commit def4652792)
2023-06-27 16:42:23 +00:00
Henry Fang
902a4a8252 UEC is not static on real device, so check its range intead of specific value am: c2794f8c26 am: 44272133e5 am: 047d533cdc am: d29b706a30 am: 6cfbbdd338 am: da10e5519c
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2611423

Change-Id: I4b626b51feb0a1ba5b64fec7070e798f882358e2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-03 02:18:17 +00:00
Henry Fang
848aa5c246 UEC is not static on real device, so check its range intead of specific value am: c2794f8c26 am: 44272133e5 am: 047d533cdc am: 176d59adcd am: cb0946d2c5
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2611423

Change-Id: I7d26236754b2e44b6a9988b57cc5c938573c37d1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-03 01:53:59 +00:00
Henry Fang
d29b706a30 UEC is not static on real device, so check its range intead of specific value am: c2794f8c26 am: 44272133e5 am: 047d533cdc
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2611423

Change-Id: Ic3ef537fb3f10249e8916c0d69d66260affce09a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-03 00:00:33 +00:00
Henry Fang
047d533cdc UEC is not static on real device, so check its range intead of specific value am: c2794f8c26 am: 44272133e5
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2611423

Change-Id: Ia81b10cf46a0b37aa09ef96143463d5970fa2979
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-02 23:30:57 +00:00
Henry Fang
44272133e5 UEC is not static on real device, so check its range intead of specific value am: c2794f8c26
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2611423

Change-Id: Ic52778208de887ab8ff62b9e275c96fdd604215f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-02 23:09:07 +00:00
Henry Fang
c2794f8c26 UEC is not static on real device, so check its range intead of specific value
Change-Id: If165935ce639bac439af21f23b741ab2fa999bb9
bug:285561687
test: manaul
2023-06-02 17:15:12 +00:00
Paul Colta
a93bdd0578 HDMICEC: Out of Bounds Write in sendMessage in HdmiCec.cpp
Bug: 278243594
Test: m && m android.hardware.tv.cec@1.0 && m android.hardware.tv.cec@1.0-service && atest VtsHalTvCecV1_0TargetTest
Change-Id: I2989f66f41172b345e3047218e138358c18b8644
(cherry picked from commit 2371bc8191)
2023-06-01 07:52:40 +00:00
Yixiao Luo
d697652774 Add native handle validation to TV Input HAL AIDL VTS
Bug: 282862884
Test: VtsHalTvInputTargetTest
Change-Id: I803b54e5b52a00ab845ef7ba4d5cec5bb8bd89ca
2023-05-30 16:55:18 +00:00
Shubang Lu
6a2bf5901e Merge "Update documentation for TV messages" into udc-dev 2023-05-20 05:47:07 +00:00
David Zhao
e4773279d7 Update documentation for TV messages
Test: mmm
Bug: 278628657
Change-Id: I90a728b02f8208541bb10d419961b25f78fd840f
2023-05-18 16:37:03 -07:00
David Zhao
17a9190730 Add VTS for Watermark APIs
Bug: 283016116
Test: atest VtsHalTvInputTargetTest
Change-Id: I0861ee1fb60bfc702446f9c8af4ddee3737d9ed9
2023-05-17 17:10:15 -07:00
Shubang Lu
b85319ccd7 Merge "Add default implementation for setTvMessageEnabled" into udc-dev 2023-05-17 19:12:50 +00:00
David Zhao
eb955ce442 Add default implementation for setTvMessageEnabled
Bug: 283016116
Test: mmm
Change-Id: I1872cf28ad658c177a892f7c7587a91a34f445ff
2023-05-16 17:55:55 -07:00
David Zhao
44308a63fc Update TV Input HAL documentation for device IDs
Test: mmm
Bug: 278628657
Change-Id: I631f1ddf3348c0a570d98db16b0ce711bb7cb53f
2023-05-15 15:06:53 -07:00
caijq
bebdb2bef9 CEC : fix VtsHalTvCecV1_0TargetTest SendMessage test failed.
If CEC DUT is a TV device type,we should reset logical address to tv,
and then set message.initiator to tv.

Bug: 277715429
Test: run VTS

Change-Id: If7f7b9ddce182e5de80c91a30c4ec18294459fbf
Signed-off-by: caijq <callen.cai@rock-chips.com>
2023-04-24 08:34:39 +00:00
Nathalie Le Clair
99a74b845d Merge "CEC : fix VtsHalTvCecV1_0TargetTest SendMessage test failed." am: c054e7fda9 am: 2c01719f44 am: 1ef37ce895
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2535500

Change-Id: If5df9c663e3cb36b315b82d271a5c0fc63d2d9e0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-21 15:51:08 +00:00
Nathalie Le Clair
5f86bf5794 Add OWNERS to CEC HIDL HAL directory
Bug: 277715429
Test: none

Change-Id: I3ca74319cc4d1f49a48c9e9f83a0ae402f56b782
(cherry picked from commit 683a0fc078)
2023-04-21 14:03:55 +00:00
Nathalie Le Clair
9c95ea9b7f Add OWNERS to CEC HIDL HAL directory am: 683a0fc078 am: 0746c1b1bc am: 6ad971501b
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2550510

Change-Id: I6078124d1d67fcc7678c6ec4af5dd8b12af393cf
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-20 17:26:34 +00:00
caijq
d936eb4589 CEC : fix VtsHalTvCecV1_0TargetTest SendMessage test failed.
If CEC DUT is a TV device type,we should reset logical address to tv ,
 and then set message.initiator to tv.

Change-Id: If7f7b9ddce182e5de80c91a30c4ec18294459fbf
Signed-off-by: caijq <callen.cai@rock-chips.com>
2023-04-20 07:46:15 +00:00
Nathalie Le Clair
683a0fc078 Add OWNERS to CEC HIDL HAL directory
Bug: 277715429
Test: none

Change-Id: I3ca74319cc4d1f49a48c9e9f83a0ae402f56b782
2023-04-20 07:45:06 +00:00
Shraddha Basantwani
e8a9336051 Tuner : Add missing bug component id for VTS am: fdbc1dd5cc am: d061b5a4f6 am: f3b3b37a9f
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2547010

Change-Id: I49a0fe41f5d74f2af861e801a187c5e6d8d45317
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-19 23:04:41 +00:00
Shraddha Basantwani
fdbc1dd5cc Tuner : Add missing bug component id for VTS
Bug: 278494089
Bug: 278494335
Test: NA
Change-Id: Icb2a536e32aee26b0a8a01a266b11ebabe3db5ea
2023-04-19 15:53:40 +05:30
Alex Buynytskyy
ec1198d941 UpsideDownCake is now 34
Ignore-AOSP-First: UpsideDownCake Finalization
Bug: 275409981
Test: build
Change-Id: I832ab7a8b5445ba85e27bbcf5be64906bfa0e5be
2023-04-07 23:41:20 +00:00
Devin Moore
64950a0cce Allow android.hardware.tv.tuner V2 to be used
Add V2 to the Android 14 framework compatibility matrix.
Also update the tuner-default device manifest fragment to reflect the
version of android.hardware.tv.tuner that it serves.

Test: lunch aosp_cf_x86_64_tv-userdebug && atest hal_implementation_test
Bug: 266868403
Change-Id: I14264dc156d086bc2e25ff41cb71aef37f629e95
2023-04-04 21:25:22 +00:00
TreeHugger Robot
22b4a394bf Merge "Adjust TvMessageEventType enum to match Java framework" into udc-dev 2023-03-15 22:08:50 +00:00
David Zhao
acfeb13d5f Adjust TvMessageEventType enum to match Java framework
Changing the "Other" value to match the value at frameworks/base/media/java/android/media/tv/TvInputManager.java

Bug: 273794209
Test: mmm
Change-Id: I88ff78edb7d133c0e5b51be301d8f71dea8e34ae
2023-03-15 20:34:23 +00:00
Treehugger Robot
95126a0a07 Merge "Add ATSC support in the vts" into android12-tests-dev am: 333df15518 am: 368ca264f2 am: fee45b6dbb am: 546704447e am: ab53b665ec
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2471289

Change-Id: I39cf0ba5c8005e98773bd47ac78a6f39ece1c297
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-15 02:18:56 +00:00