Commit graph

800 commits

Author SHA1 Message Date
Sadiq Sada
a0cdf5acc4 Merge "Add Frontend Status Types and tuning for IPTV" 2023-02-08 01:08:19 +00:00
sadiqsada
1448ad4d87 Add Frontend Status Types and tuning for IPTV
IPTVFrontendSettings is a new setting for the
tune() function. This function was modified to
support the new setting.

Test: None
Bug: 266967059

Change-Id: I9d36dd47ca3aa419e7663570528ed2832baa1653
2023-02-06 11:21:04 -08:00
Yixiao Luo
e8730a7113 Add CAS AIDL/HIDL support for Tuner Descrambler Tests
Bug: 266968335
Test: VtsHalTvTunerTargetTest
Change-Id: I55074360587735256c4f0efa8228d28f57b21592
2023-02-02 12:40:50 -08:00
Ray Chin
4b991fe670 Merge "Add TV tuner audio preselection support" 2023-02-01 07:38:35 +00:00
Ray Chin
c95b4df597 Merge "Increase the size of threadpool to 16 in hal layer" 2023-02-01 03:23:16 +00:00
Ray Chin
bcbb103ea0 Increase the size of threadpool to 16 in hal layer
Bug: 256771936
Test: atest VtsHalTvTunerTargetTest
Change-Id: I0d8f46b9b577337a7fbd42ab50bb1ee91af60210
2023-01-31 17:09:06 +08:00
Dean Wheatley
79038ed560 Add TV tuner audio preselection support
DVB MPEG-2 transport streams can include audio preselection descriptors
for next-generation audio (NGA) as specified in ETSI EN 300 468. Add
support for audio preselections in DemuxFilterMediaEvent.

Note that, when an audio preselection descriptor is present for a NGA
stream, receivers are required to ignore (supplementary) audio
descriptors (see Annex M.2).

Bug: 264812332
Test: `atest VtsHalTvTunerTargetTest` on cf_x86_tv-userdebug
Change-Id: I5b6d9a86aa74feb87879125f57ca36d7e71bbdf4
2023-01-30 16:38:31 +08:00
Nathalie Le Clair
75c42c09ec Merge "Add portId to HPD-related methods" 2023-01-27 16:26:02 +00:00
David Zhao
b8277919ae Merge "Add new APIs for watermarking" 2023-01-26 19:33:59 +00:00
David Zhao
6bdbc5e62d Add new APIs for watermarking
Bug: 263762255
Test: m
Change-Id: I7eeaa58f0a3a1056f33e22aba42540636794ade1
2023-01-25 17:15:52 -08:00
Nathalie Le Clair
3bbeb51065 Merge "Fix incorrect indexing" 2023-01-25 10:43:43 +00:00
Sadiq Sada
51dd95d575 Merge "Add IPTV setting" 2023-01-25 01:24:07 +00:00
sadiqsada
f778a27e29 Add IPTV setting
Test: m
Bug: 266287614
Change-Id: I0730ca15f58386b20fd0cbea97a885f5a74d6b36
2023-01-24 14:57:34 -08:00
Yixiao Luo
dc0da4d21d Merge "Fix NativeHandle creation in TV Input HAL 2.0 default implementation" 2023-01-24 22:23:33 +00:00
Nathalie Le Clair
4500505115 Specify that only output ports need to be positive. am: 4e24d7a342 am: 9891d4a5d4 am: 7ddc4c112c
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2401152

Change-Id: Iebe94da50c2e2c73527530af4fda6f1e2dd5161f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-24 18:05:47 +00:00
Nathalie Le Clair
4eaa178ddf Add portId to HPD-related methods
Test: lunch cf_x86_tv-userdebug; make;
atest VtsHalTvHdmiConnectionAidlTargetTest;
Bug: 266178786

Change-Id: I58aff832606156bd529f2640541cad530953bd67
2023-01-24 18:04:47 +01:00
Nathalie Le Clair
4e24d7a342 Specify that only output ports need to be positive.
Test: presubmit
Bug: 265117347

Change-Id: Ibac61ae11368baa62438c5b04549c5ea9e2b1c9f
2023-01-24 10:57:19 +00:00
Nathalie Le Clair
28318a3a5d Fix incorrect indexing
Test: lunch cf_x86_tv-userdebug; make;
atest VtsHalTvHdmiConnectionAidlTargetTest;
atest VtsHalTvHdmiEArcAidlTargetTest;
Bug: 264412609

Change-Id: I1b3ad574cf886d023aa54de91b1062dd4f3fa671
2023-01-24 10:27:50 +01:00
Sadiq Sada
1d8b6a3f23 Merge "Add FrontendStatus for IPTV" 2023-01-22 16:11:56 +00:00
Sadiq Sada
1376fc3c3e Merge "Add IPTV Support" 2023-01-22 16:11:56 +00:00
Yixiao Luo
90c9cac2f7 Add test config files for VtsHalTvInputTargetTest
Bug: 227673740
Test: VtsHalTvInputTargetTest
Change-Id: Id1b98c5075e66a2341652140871f6c11c337c588
2023-01-19 12:54:13 -08:00
sadiqsada
aff01d7e65 Add FrontendStatus for IPTV
Test: atest VtsHalTvTunerTargetTest
Bug: 263504906
Change-Id: I33c6480933fa830a9c17cf04eb3336c7ce11a587
2023-01-18 15:38:55 -08:00
sadiqsada
8441c0de8c Add IPTV Support
Test: atest android.media.tv.tuner.cts
Bug: 263504906
Change-Id: Ib4391dcda7d5840495ab5a573be68431bb6099d8
2023-01-18 12:59:13 -08:00
TreeHugger Robot
9ba1b4668c Merge "Enable support for main type cap aware demux management" 2023-01-17 19:20:26 +00:00
TreeHugger Robot
ca6af99b2a Merge "Add HDMI eARC, Connection and CEC to presubmit" 2023-01-13 09:38:15 +00:00
Nathalie Le Clair
25e8f5fa42 Add HDMI eARC, Connection and CEC to presubmit
Additionally, delete a file from when the HDMI Connection HAL was still
called the HDMI HAL. This file has been replaced by a corresponding file
in hdmi/connection/aidl/...

Test: lunch cf_x86_tv-userdebug; make;
atest VtsHalTvHdmiCecAidlTargetTest;
atest VtsHalTvHdmiConnectionAidlTargetTest;
atest VtsHalTvHdmiEArcAidlTargetTest;
Bug: 261729059
Change-Id: I472c054fd553f49c8834049a21eb4aa91f17285e
2023-01-12 17:15:52 +00:00
Treehugger Robot
b5efdb0a7f Merge "EARC: Make reportCapabilities param a reference" am: cf268bfc95 am: abc77bfdcb am: 7913cfbfe5
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2385792

Change-Id: I42f90b25f848fc05c1be0a12ce27610b3b28f74c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-12 16:59:56 +00:00
Sham Rathod
8a68cbc4d0 EARC: Make reportCapabilities param a reference
Test: atest VtsHalTvEArcAidlTargetTest

Bug: 240388105
Change-Id: Id367550589ff22b6fbda796406f712a7d195d70c
2023-01-12 09:35:57 +05:30
Nathalie Le Clair
771928d151 Remove unused test mapping file
These files were created when the HDMI Connection HAL was still called
the HDMI HAL. They are no longer required today and should be removed.

Test: none
Bug: 265065502
Change-Id: I066896077cdc009cc573bb7df44c7b4fdc4c8baf
2023-01-11 13:23:45 +00:00
Nathalie Le Clair
16fed02090 Merge "Refactor HDMI related AIDL packages" am: e6c4ebb0de am: 8047dfe2ed am: dc0a6dcb9c
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2347525

Change-Id: I5954f3b0106b9a01ae174fe787f0fe751f9295f0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-10 17:50:40 +00:00
Venkatarama Avadhani
601d29917a Refactor HDMI related AIDL packages
Move CEC, EArc and the old "HDMI" package in to one common hdmi package
as cec, earc and connection.

Test: Build
Bug: 261729059

Change-Id: Ic657713e3a4078125e211bb0d337519a9192aaa1
2023-01-09 16:53:02 +05:30
Michal Olech
3cc2a00799 Add CEC AIDL tests to test mapping (presubmit)
Bug: 250526670
Bug: 250526969
Test: acloud create --local-instance --local-image && cd
hardware/interfaces/tv && atest

Change-Id: I8ecdabc0fcfd1d259153e0fd1fa579aca64d9be4
Merged-In: I8ecdabc0fcfd1d259153e0fd1fa579aca64d9be4
2023-01-09 07:04:42 +00:00
Treehugger Robot
6f211b7844 Merge "EARC: Add eARC AIDL files" am: 7fb9baae1c am: 87243fbbd7 am: f3686eba77
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2308889

Change-Id: Ib4f858b958a6eecdb07bf9d0a7eb4bee4758f8c5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-04 05:02:45 +00:00
Treehugger Robot
89f54544f2 Merge "HDMI: Add Hotplug Detection Signal support" am: be1d5356f7 am: ea18f96966 am: aa78792d1c
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2297079

Change-Id: I36f4276680d3c60f7ebc4ff6ff27c21893fddbf2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-04 00:26:24 +00:00
Kensuke Miyagi
73b18ac9ab Enable support for main type cap aware demux management
Adding 3 ITuner.aidl APIs:
 - int[] getDemuxIds();
 - IDemux openDemuxById(in int demuxId);
 - DemuxInfo getDemuxInfo(in int demuxId);

And adding DemuxInfo.aidl.

Bug: 239211919
Bug: 239227510
Test: atest VtsHalTvTunerTargetTest

Change-Id: Icd34cc974a6f6fa167d90b69b3ff0a119bf50ae8
2022-12-30 18:40:07 -08:00
Ray Chin
8a9f53e811 Fix null pointer dereference error for CtsTvTestCases against cf_x86_tv
Bug: 263933383
Test: `atest CtsTvTestCases` against cf_x86_tv-userdebug
Change-Id: Icf4f9909b574f3e6f474fd2bfd3e72f7f290a0fe
2022-12-29 18:15:22 +08:00
Venkatarama Avadhani
90373fe4d6 EARC: Add eARC AIDL files
AIDL files for eARC HAL.

Test: m android.hardware.tv.earc-update-api
      atest VtsHalTvEArcAidlTargetTest
Bug: 240388105
Change-Id: Id2a337b928e64e022d97b4339bf7788cc80ea653
2022-12-27 17:57:32 +05:30
Venkatarama Avadhani
04ee1a4f68 HDMI: Add Hotplug Detection Signal support
The HPD (Hotplug Detection) signal indicates the type of signal that the
HAL should use.

Bug: 258394639
Test: atest VtsHalTvHdmiAidlTargetTest
Change-Id: Ic391064d10636aca3c8e5c256c41d40144fbfe9c
2022-12-27 17:57:31 +05:30
Ray Chin
191f76bb38 Add new DemuxFilterStatus NO_DATA
Bug: 260651195
Test: test on cf_x86_tv-userdebug
Change-Id: I56619579ebf09b49d288254f2d77320cd5575d69
2022-12-20 10:48:44 +08:00
Hongguang Chen
72ec257f8d Merge "Add VVC H266 support in hal layer" 2022-12-02 02:02:17 +00:00
Hongguang Chen
50565f5c97 Merge "Add isLnaSupported in HAL layer" 2022-11-29 16:57:36 +00:00
Treehugger Robot
a160bfa522 Merge "HDMI: Add new field eArcSupported" am: 45661bec3f am: 0c8f94b4ae am: 6b25278ea0
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2280731

Change-Id: Ibc78e01bffa090822a087de476c897436ae40f96
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-29 10:47:09 +00:00
Ray Chin
8fe32b2513 Add isLnaSupported in HAL layer
Bug: 239240674
Test: atest android.media.tv.tuner.cts with cf_x86_tv-userdebug
Change-Id: I87aaff87a9ff0d92f4d3895bfe41f5f6fffa1938
2022-11-29 16:42:19 +08:00
Ray Chin
0bfa40f9af Add VVC H266 support in hal layer
Bug: 219981033
Test: atest VtsHalTvTunerTargetTest
Change-Id: I526920099a786d9f12057b76c89562f6ecd483b6
2022-11-22 12:06:48 +08:00
Venkatarama Avadhani
3d35efca19 HDMI: Add new field eArcSupported
Add a new field called eArcSupported to the port info structure to
determine if the port supports eARC.

Bug: 255901009
Test: make
Change-Id: Iff97479010a097018efcd5070c232a69aa1e1c77
2022-11-02 10:16:28 +05:30
Yixiao Luo
4cd52a9768 Fix NativeHandle creation in TV Input HAL 2.0 default implementation
Bug: 227673740
Test: atest VtsHalTvInputTargetTest
Change-Id: Ic2958ab08c14848d46054c8422ce4298903bf206
2022-10-31 16:41:10 -07:00
Michal Olech
14cacf2402 Add CEC AIDL tests to test mapping (presubmit)
Bug: 250526670
Bug: 250526969
Test: acloud create --local-instance --local-image && cd
hardware/interfaces/tv && atest

Change-Id: I8ecdabc0fcfd1d259153e0fd1fa579aca64d9be4
2022-10-20 16:00:30 +02:00
Michal Olech
854785a4bd Add CEC AIDL tests to test mapping (presubmit)
Bug: 250526670
Bug: 250526969
Test: acloud create --local-instance --local-image && atest .
Change-Id: Ib63c617e8177c69852cb6ee55549e7fd5196de2e
2022-10-20 12:54:21 +02:00
Treehugger Robot
1d4085ec13 Merge "CEC: Add AIDL interface" am: 2a5c5fc11e am: 20b8f0aa23 am: 5c24fd738c
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2106006

Change-Id: I4185c1e6144739ad2810573e6d2d9c6538599bb6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-19 07:05:09 +00:00
Yixiao Luo
a779a01cb6 Merge "Fix NativeHandle return in TV Input HAL 2.0 default implementation" 2022-10-19 01:28:43 +00:00