• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..--

Android.bpD22-Nov-20231.2 KiB3936

README.mdD22-Nov-2023929 3120

VtsHalTvCecV1_0TargetTest.cppD22-Nov-20237 KiB210170

setup.pngD22-Nov-202312.2 KiB

README.md

1# CEC VTS testing for Android TV devices
2
3Validate HDMI CEC VTS (android.hardware.tv.cec@1.0) 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