Errno values have been hard-coded inside java code. On the native side however, bionic's errno.h is used (through utils/Errors.h). Some of the numbers are architecture dependent (EOPNOTSUPP, ETIMEDOUT...). This causes Camera app to crash on MIPS devices. There is a check for expected errors, in CameraBinderDecorator.throwOnError, but the error (EOPNOTSUPP) is not recognized and an exception is thrown. Change-Id: I8bcac8f1ced50c76614f566a6e624967a18a25e1
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.