The problem was: when SurfaceTexture is used, test didn't acquire/release images when they are produced, then it starves the producer and cause deadlock. This change replaces SurfaceTexture with ImageReader, release every image produced immediately. Bug: 10360518 Change-Id: I9aabaee23013277c2da6f5825ac931bc10511fbc
MediaFrameworkTest/
Uses instrumentation and so can be run with runtest.
It assumes /sdcard/media_api/ has been populated.
contents/media_api/
Push to /sdcard/media_api/ for use with MediaFrameworkTest:
adb shell mkdir /sdcard/media_api
adb push contents/media_api/ /sdcard/media_api/
All other subdirectories are manual tests or sample apps.