Name Date Size #Lines LOC

..--

Android.bpH A D25-Apr-20251.3 KiB4037

README.mdH A D25-Apr-2025929 3120

VtsHalTvCecV1_0TargetTest.cppH A D25-Apr-20257.3 KiB218178

setup.pngHD25-Apr-202512.2 KiB

README.md

1# CEC VTS testing for Android TV devices
2
3Validate HDMI CEC VTS ([email protected]) functionality.
4
5### Setup:
6
7Running these CEC VTS tests requires an Android playback, TV or audio device connected to the host machine.
8
9![drawing](setup.png)
10
11### Building
12
13From the Android root folder, after choosing the lunch combo, use `make vts` to build VTS.
14
15### Automation
16
17On the host machine, ensure that the [software requirements](https://codelabs.developers.google.com/codelabs/android-lab/#2) for python SDK are met.
18
19Given the setup described above you can run tests with any of the following commands:
20
211. Using vts-tradefed :
22```
23cd $ANDROID_BUILD_TOP/out/host/linux-x86/vts/android-vts/tools
24./vts-tradefed run commandAndExit vts -m VtsHalTvCecV1_0TargetTest
25```
262. Using atest
27```
28atest VtsHalTvCecV1_0TargetTest
29```
30Note : atest internally handles building as well. To update the test use '-c' (clear cache) option
31