• Home
Name Date Size #Lines LOC

..--

common/03-May-2024-2,8961,991

res/layout/03-May-2024-2510

src/android/mediapc/cts/03-May-2024-5,1533,921

Android.bpD03-May-20241.2 KiB4340

AndroidManifest.xmlD03-May-20242 KiB4526

AndroidTest.xmlD03-May-20242.4 KiB4530

DynamicConfig.xmlD03-May-2024207 75

OWNERSD03-May-2024281 1412

README.mdD03-May-20241.3 KiB2320

copy_media.shD03-May-20241.4 KiB4824

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