tree: 3fa83c291a4fb85bd3474afb3dc658d859b359bd [path history] [tgz]
  1. common/
  2. res/
  3. src/
  4. Android.bp
  5. AndroidManifest.xml
  6. AndroidTest.xml
  7. copy_media.sh
  8. DynamicConfig.xml
  9. OWNERS
  10. README.md
tests/mediapc/README.md

Media Performance Class CTS Tests

Current folder comprises of files necessary for testing media performance class.

The test vectors used by the test suite is available at link and is downloaded automatically while running tests. Manual installation of these can be done using copy_media.sh script in this directory.

Commands

To run all tests in CtsMediaPerformanceClassTestCases

$ atest CtsMediaPerformanceClassTestCases

To run a subset of tests in CtsMediaPerformanceClassTestCases

$ atest CtsMediaPerformanceClassTestCases:android.mediapc.cts.FrameDropTest

To run all tests in CtsMediaPerformanceClassTestCases by overriding Build.VERSION.MEDIA_PERFORMANCE_CLASS

In some cases it might be useful to override Build.VERSION.MEDIA_PERFORMANCE_CLASS and run the tests. For eg: when the device doesn't advertise Build.VERSION.MEDIA_PERFORMANCE_CLASS, running the tests by overriding this will help in determining the which performance class requirements are met by the device. Following runs the tests by overriding Build.VERSION.MEDIA_PERFORMANCE_CLASS as S.

$ atest CtsMediaPerformanceClassTestCases -- --module-arg CtsMediaPerformanceClassTestCases:instrumentation-arg:media-performance-class:=31