Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
common/ | 03-May-2024 | - | 2,896 | 1,991 | ||
res/layout/ | 03-May-2024 | - | 25 | 10 | ||
src/android/mediapc/cts/ | 03-May-2024 | - | 5,153 | 3,921 | ||
Android.bp | D | 03-May-2024 | 1.2 KiB | 43 | 40 | |
AndroidManifest.xml | D | 03-May-2024 | 2 KiB | 45 | 26 | |
AndroidTest.xml | D | 03-May-2024 | 2.4 KiB | 45 | 30 | |
DynamicConfig.xml | D | 03-May-2024 | 207 | 7 | 5 | |
OWNERS | D | 03-May-2024 | 281 | 14 | 12 | |
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://storage.googleapis.com/android_media/cts/tests/mediapc/CtsMediaPerformanceClassTestCases-1.4.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