Commit graph

850 commits

Author SHA1 Message Date
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
Treehugger Robot
fee45b6dbb Merge "Add ATSC support in the vts" into android12-tests-dev am: 333df15518 am: 368ca264f2
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2471289

Change-Id: I384cfc0e1dc70275f87e10997a29b14225690105
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-15 00:38:23 +00:00
Treehugger Robot
368ca264f2 Merge "Add ATSC support in the vts" into android12-tests-dev am: 333df15518
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2471289

Change-Id: If47be0aaa310c6e3bbcddeffcc1c2a201654a0f6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-15 00:01:42 +00:00
Treehugger Robot
333df15518 Merge "Add ATSC support in the vts" into android12-tests-dev 2023-03-14 23:24:36 +00:00
stanley-ct.chen
51b8bb2a32 Fix google vts dead lock am: 33a593ab59 am: 18738f2a5c am: f7bd18c7c6 am: 34f7b35c46 am: 107b2fb86b
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2486875

Change-Id: Idec58224de6c18e2454bdb7fbd05d436bedfeaa4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-14 21:22:22 +00:00
Wei
d4dcef21e7 Add ATSC support in the vts
ATSC configuration isn't supported in current config reader.
Add it in this CL.

Bug: 271933206
Test: manual

Change-Id: I7a1f5356c33d6576d6ae6c71fd4af171b5ad30ac
2023-03-14 19:51:22 +00:00
stanley-ct.chen
f7bd18c7c6 Fix google vts dead lock am: 33a593ab59 am: 18738f2a5c
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2486875

Change-Id: I1518cdc4eaa836569ab470edb73ceaa408d8d502
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-14 19:01:31 +00:00
stanley-ct.chen
18738f2a5c Fix google vts dead lock am: 33a593ab59
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2486875

Change-Id: I5b81aa26e0e5823309345e09a2238b09d3fa767c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-14 18:42:08 +00:00
stanley-ct.chen
33a593ab59 Fix google vts dead lock
[Description]
Fix google vts dead lock

Bug: 271400402
Test:
1. AC on/off PASS
2. UHDTV Scan PASS
3. UHDTV Switch PASS

Change-Id: Ic198224309636c83d533a24bb15519e67931b6d1
2023-03-14 11:38:29 +08:00
zijunzhao
d0eb8f53fd Fix the missing std am: 7edcd7cd66 am: ea6967d4e8 am: 9ef2d32a13
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2482275

Change-Id: I41553055b48d056a42a7c4fa2cb87e7106824de9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-10 22:49:51 +00:00
zijunzhao
7edcd7cd66 Fix the missing std
Bug: b/239662094
Test: enable Wunqualified-std-cast-call locally and run m to build
Change-Id: I79b79a9fdaf8e78a39346190200f67ccf5a66aab
2023-03-10 17:04:09 +00:00
David Zhao
5996045696 Add constant for TvMessage no group ID
Bug: 271035920
Test: mmm
Change-Id: Ie800a2d8675bb01c7d44310785ee4aefdf218749
2023-03-07 15:47:28 -08:00
Treehugger Robot
c00be16811 Merge "Fix the missing std" am: 39337adcc9 am: a4ab908631 am: d65d1a6b64
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2468920

Change-Id: If2e904f1f3bb8a1a3b7b63d67ddbee2392baad7a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-03 17:37:23 +00:00
zijunzhao
ab9e5bcdea Fix the missing std
Bug: b/239662094
Test: enable Wunqualified-std-cast-call locally and run m to build
Change-Id: Ifc51be5ee13296e9711c91ffac320d1cc7048ff0
2023-03-03 03:42:02 +00:00
Nathalie Le Clair
5bfad05259 Handle out-of-bound indices
Bug: 267007175
Test: lunch cf_x86_tv-userdebug; make;
atest VtsHalTvHdmiConnectionAidlTargetTest;

Change-Id: I0083953e8eaadea0ac66a9103358c0d4e1427086
Merged-In: I0083953e8eaadea0ac66a9103358c0d4e1427086
2023-02-28 10:58:04 +00:00
Paul Colta
a696f19de8 Handle portId out of bounds index
Bug: 268631136
Test: m && m android.hardware.tv.cec@1.0-impl && m android.hardware.tv.cec@1.0
Change-Id: I454caf56c309aae9667afd0e58da453002458a80
(cherry picked from commit 588b958ce1)
2023-02-23 16:48:47 +00:00
Nathalie Le Clair
bb819d396b Clarify which HAL (methods) apply to which devices
Bug: 265906860
Test: make
Change-Id: Icc8df58d4a806d71fc2c073a67bedfd9dd9d3f60
Merged-In: Icc8df58d4a806d71fc2c073a67bedfd9dd9d3f60
2023-02-23 17:45:06 +01:00
Nathalie Le Clair
a4bf33775c Update HAL interface
Based on the Android Native API Council's review.

Bug: 268601655
Test: make
Change-Id: I84e828ed08d6ad5dd30dd33541b0c91324b5f8fb
Merged-In: I84e828ed08d6ad5dd30dd33541b0c91324b5f8fb
2023-02-23 17:44:35 +01:00
Nathalie Le Clair
3944d07e40 Add portId to HPD-related methods
Test: lunch cf_x86_tv-userdebug; make;
atest VtsHalTvHdmiConnectionAidlTargetTest;
Bug: 266178786

Change-Id: I58aff832606156bd529f2640541cad530953bd67
Merged-In: I58aff832606156bd529f2640541cad530953bd67
2023-02-23 17:44:07 +01:00
Nathalie Le Clair
9d040a2309 Unify OWNERS file am: 3d593db9df am: d3ccf77804 am: 0b9672ac7d
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2438092

Change-Id: Ib8384c8bd8010c0457714e6d445f6f5cdcf7bdb9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-15 20:38:10 +00:00
Nathalie Le Clair
3d593db9df Unify OWNERS file
So that the same group also has OWNERS for the hdmi/ folder itself.

Test: make
Bug: 265906860
Change-Id: I2d6f4f6e0a86de80138598662c0b490667aa6239
2023-02-15 15:03:14 +01:00
Nathalie Le Clair
d8229a8e64 Clarify which HAL (methods) apply to which devices
Bug: 265906860
Test: make
Change-Id: Icc8df58d4a806d71fc2c073a67bedfd9dd9d3f60
2023-02-14 11:35:37 +01:00
Nathalie Le Clair
0e9c80d964 Update HAL interface
Based on the Android Native API Council's review.

Bug: 268601655
Test: make
Change-Id: I84e828ed08d6ad5dd30dd33541b0c91324b5f8fb
2023-02-14 11:35:37 +01:00
Nathalie Le Clair
06fc4aa74c Merge "Handle out-of-bound indices" 2023-02-14 09:02:16 +00:00
Nathalie Le Clair
501c3c1152 Handle out-of-bound indices
Bug: 267007175
Test: lunch cf_x86_tv-userdebug; make;
atest VtsHalTvHdmiConnectionAidlTargetTest;

Change-Id: I0083953e8eaadea0ac66a9103358c0d4e1427086
2023-02-10 10:06:23 +01:00
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
Treehugger Robot
f4957e5586 Merge "Remove VTS that were moved to new directory" 2023-01-24 22:29:05 +00: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
3c85daf45b Remove VTS that were moved to new directory
These tests can now be found in the hdmi/connection directory, instead of the hdmi/directory.

Test: none
Bug:233026642

Change-Id: I60a8086e543d8a4714dda54456fd6e2dfb2a6069
2023-01-24 14:19:52 +00: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