tree: 039639657dc071ddafb00a78e70faca09e2df634 [path history] [tgz]
  1. app/
  2. src/
  3. Android.bp
  4. AndroidTest.xml
  5. cec_adapter.md
  6. OWNERS
  7. README.md
  8. setup.png
hostsidetests/hdmicec/README.md

CEC CTS testing for Android TV devices

NOTE: CTS has two meanings here. HDMI defines a set of tests in the Compliance Test Specification of HDMI 1.4b HDMI Compliance Test Specification 1.4b and Android Compatibility Test Suite.

The Android Compatibility Test Suite includes specific tests from the HDMI Compliance Test Specification as well as other Android specific tests.

Setup

Playback devices (aka Set Top Boxes)

Running these CTS tests requires a specific HDMI layout with a CEC adapter.

drawing

Automation

Given the setup described above you can run all of these tests with the command

atest CtsHdmiCecHostTestCases

To shard the test (distribute and run the tests on multiple devices), use this command -

./cts-tradefed run commandAndExit cts --enable-token-sharding --shard-count 3 -m CtsHdmiCecHostTestCases

The shard count corresponds to the number of DUTs connected to the host.