| Name | Date | Size | #Lines | LOC | ||
|---|---|---|---|---|---|---|
| .. | - | - | ||||
| common/ | 03-May-2024 | - | 3,843 | 2,653 | ||
| res/layout/ | 03-May-2024 | - | 25 | 10 | ||
| src/android/mediapc/cts/ | 03-May-2024 | - | 6,204 | 4,686 | ||
| Android.bp | D | 03-May-2024 | 1.3 KiB | 44 | 41 | |
| AndroidManifest.xml | D | 03-May-2024 | 2 KiB | 45 | 26 | |
| AndroidTest.xml | D | 03-May-2024 | 2.9 KiB | 53 | 38 | |
| DynamicConfig.xml | D | 03-May-2024 | 196 | 7 | 5 | |
| OWNERS | D | 03-May-2024 | 216 | 5 | 4 | |
| README.md | D | 03-May-2024 | 1.3 KiB | 23 | 20 | |
| copy_media.sh | D | 03-May-2024 | 1.4 KiB | 48 | 24 |
README.md
1## Media Performance Class CTS Tests 2Current folder comprises of files necessary for testing media performance class. 3 4The test vectors used by the test suite is available at [link](https://dl.google.com/android/xts/cts/tests/mediapc/CtsMediaPerformanceClassTestCases-2.3.zip) and is downloaded automatically while running tests. Manual installation of these can be done using copy_media.sh script in this directory. 5 6### Commands 7#### To run all tests in CtsMediaPerformanceClassTestCases 8```sh 9$ atest CtsMediaPerformanceClassTestCases 10``` 11#### To run a subset of tests in CtsMediaPerformanceClassTestCases 12```sh 13$ atest CtsMediaPerformanceClassTestCases:android.mediapc.cts.FrameDropTest 14``` 15#### To run all tests in CtsMediaPerformanceClassTestCases by overriding Build.VERSION.MEDIA_PERFORMANCE_CLASS 16In some cases it might be useful to override Build.VERSION.MEDIA_PERFORMANCE_CLASS and run the tests. 17For eg: when the device doesn't advertise Build.VERSION.MEDIA_PERFORMANCE_CLASS, running the tests by overriding 18this will help in determining the which performance class requirements are met by the device. 19Following runs the tests by overriding Build.VERSION.MEDIA_PERFORMANCE_CLASS as S. 20```sh 21$ atest CtsMediaPerformanceClassTestCases -- --module-arg CtsMediaPerformanceClassTestCases:instrumentation-arg:media-performance-class:=31 22``` 23