mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-02 05:56:34 +00:00
CEC: Add README for VTS tests am: 5a1c92594c am: d678e1e24a
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1584903 Change-Id: Ifb291a44573a78abd4db2799995daf98acb813ca
This commit is contained in:
committed by
Automerger Merge Worker
commit
ac131439bd
30
tv/cec/1.0/vts/functional/README.md
Normal file
30
tv/cec/1.0/vts/functional/README.md
Normal file
@@ -0,0 +1,30 @@
|
||||
# CEC VTS testing for Android TV devices
|
||||
|
||||
Validate HDMI CEC VTS (android.hardware.tv.cec@1.0) functionality.
|
||||
|
||||
### Setup:
|
||||
|
||||
Running these CEC VTS tests requires an Android playback, TV or audio device connected to the host machine.
|
||||
|
||||

|
||||
|
||||
### Building
|
||||
|
||||
From the Android root folder, after choosing the lunch combo, use `make vts` to build VTS.
|
||||
|
||||
### Automation
|
||||
|
||||
On the host machine, ensure that the [software requirements](https://codelabs.developers.google.com/codelabs/android-lab/#2) for python SDK are met.
|
||||
|
||||
Given the setup described above you can run tests with any of the following commands:
|
||||
|
||||
1. Using vts-tradefed :
|
||||
```
|
||||
cd $ANDROID_BUILD_TOP/out/host/linux-x86/vts/android-vts/tools
|
||||
./vts-tradefed run commandAndExit vts -m VtsHalTvCecV1_0TargetTest
|
||||
```
|
||||
2. Using atest
|
||||
```
|
||||
atest VtsHalTvCecV1_0TargetTest
|
||||
```
|
||||
Note : atest internally handles building as well. To update the test use '-c' (clear cache) option
|
||||
BIN
tv/cec/1.0/vts/functional/setup.png
Normal file
BIN
tv/cec/1.0/vts/functional/setup.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 12 KiB |
Reference in New Issue
Block a user