tree: cf1390212a005f9a645f19a1b6e4b193e9face2b [path history] [tgz]
  1. allocator.cpp
  2. allocator.h
  3. Android.bp
  4. AndroidTest.xml
  5. BufferpoolUnitTest.cpp
  6. cond.cpp
  7. multi.cpp
  8. OWNERS
  9. README.md
  10. single.cpp
media/bufferpool/2.0/tests/README.md

Media Testing


Bufferpool :

The Bufferpool Test Suite validates bufferpool library in android.

Run the following steps to build the test suite:

m BufferpoolUnitTest

The 32-bit binaries will be created in the following path : ${OUT}/data/nativetest/

The 64-bit binaries will be created in the following path : ${OUT}/data/nativetest64/

To test 64-bit binary push binaries from nativetest64.

adb push ${OUT}/data/nativetest64/BufferpoolUnitTest/BufferpoolUnitTest /data/local/tmp/

To test 32-bit binary push binaries from nativetest.

adb push ${OUT}/data/nativetest/BufferpoolUnitTest/BufferpoolUnitTest /data/local/tmp/

usage: BufferpoolUnitTest

adb shell /data/local/tmp/BufferpoolUnitTest

Alternatively, the test can also be run using atest command.

atest BufferpoolUnitTest