Commit graph

739 commits

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

Change-Id: If81bfd72c984aed3ff5bdd281995413b4825c747
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-15 01:00:54 +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
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
ce666fc17f Fix google vts dead lock am: 33a593ab59 am: 18738f2a5c am: f7bd18c7c6
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2486875

Change-Id: I5082637054be9a223f638bdeb87ca9f37a54d893
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-14 19:26:33 +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
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
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
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
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
Treehugger Robot
f4957e5586 Merge "Remove VTS that were moved to new directory" 2023-01-24 22:29:05 +00: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
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
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
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
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
Henry Fang
d8a70b00c6 Merge "Fix tunerhal vts feId uninitialized on getFrontendIdByType" into android11-tests-dev am: 40087f64c5
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2235855

Change-Id: I5984bcb9f4ba77cdd3deba87beaea43aaedd3a72
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-25 17:05:55 +00:00
Henry Fang
40087f64c5 Merge "Fix tunerhal vts feId uninitialized on getFrontendIdByType" into android11-tests-dev 2022-10-25 16:47:05 +00:00
cmlin0118
5b9ba198ec Fix tunerhal vts feId uninitialized on getFrontendIdByType
Problem: FeId uninitialized on getFrontendIdByType
Solution: Initializ feId
Test: run vts -m VtsHalTvTunerV1_0TargetTest
Bug: 248472007
Change-Id: I373c49cf0a105869743be7f2c0737b4f5b30ae26
2022-10-14 14:52:26 +08:00
Venkatarama Avadhani
820b548de9 CEC: Add AIDL interface
Split and convert to AIDL the HDMI CEC HAL into two separate HALs -
CEC and HDMI. CEC handles the CEC messages while HDMI handles the
hotplug and physical ports.
Also add the default and VTS for the two HALs.

Bug: 233026642
Test: m android.hardware.tv.cec-update-api
      make
Change-Id: I67c6d7aeea6922f69a1ffa7acb36c811c80afabf
2022-10-11 10:03:02 +05:30
Treehugger Robot
81022732af Merge "tunerhal:set default frontend to DVBS [1/1]" into android11-tests-dev 2022-09-28 01:54:02 +00:00
junchao yuan
ab5c449227 tunerhal:set default frontend to DVBS [1/1]
bug:239667706

Problem:
test tunerhal vts fail with DVBS;

Solution:
set defualt frontend to DVBS;

Verify:
s905X4/ohm

Change-Id: I79386738783309b917ec5cff89c48b2bdc99bd7c
2022-09-23 01:49:46 +00:00
Yixiao Luo
7c22a89d1d Add OWNERS file to TV Input HAL
Bug: 227673740
Test: N/A
Change-Id: I35db194e2597cdd17ecb7b15c5591fb1009e1be8
2022-08-17 18:46:14 -07:00
Gregory Montoir
9fc37c0d3c Merge "Fix VTS PlaybackDataFlowWithTsVideoFilterTest sometimes failed." into android12-tests-dev am: 14ecb1c6a1
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2141155

Change-Id: I1e3a07087b606a28c98bd4f61f84d74d99d40931
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-04 07:45:50 +00:00
mike liao
a230f3af3d Fix VTS PlaybackDataFlowWithTsVideoFilterTest sometimes failed.
[Description]
If filter is started after playback thread, sometimes
filter cannot get data correctly because of timing issue.

Start playback thread after filter is started
so that filter will always get data correctly.

Bug: 235185563
Test:
1. Testcase pass

Change-Id: I97c38dab1ff81c31b4bb48c8015b626b3a6325ed
2022-06-30 16:17:04 +08:00
Treehugger Robot
88b7c10cd8 [conflict] Merge "vts: fix some tunerhal vts fail without frontend device" into android11-tests-dev am: 6807799ad9
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2003730

Change-Id: I5993b88b7d0831c9b95adfc50ebe501215f40498
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-22 00:03:16 +00:00
Silver Chen
fbbb209b63 Fix VTS PlaybackDataFlowWithTsVideoFilterTest sometimes failed.
[Description]
If filter is started after playback thread, sometimes
filter cannot get data correctly because of timing issue.

Start playback thread after filter is started
so that filter will always get data correctly.

Bug: 235185563
Test:
1. Testcase pass

Change-Id: I97c38dab1ff81c31b4bb48c8015b626b3a6325ed
(cherry picked from commit 8ab7fd8b21)
2022-06-20 01:13:57 +00:00
Jiyong Park
70f5837e1f Freeze AIDL APIs for TM
Bug: 225941299
Test: m
Change-Id: I61eb51c0334eb99489c6f1570110d7e18c350c99
2022-04-16 07:03:24 +09:00