- For all camera2 paths, and anything shared between the legacy API and camera2, switch to using String for camera IDs. - Remove assumption that camera device IDs must be a dense set of small integers, and rewrite the camera ID query methods - Change operation of ICameraService.addListener: it now returns the list of available devices directly, instead of invoking callbacks. This is needed to ensure an up-to-date list of cameras is immediately available on connection to the camera service. - Add new CameraStatus object to use as the addListener return value - Update tests to work with new interface Test: cts-tradefed run cts -m Camera --skip-connectivity-check -d -o --abi armeabi-v7a --disable-reboot Bug: 32991422 Change-Id: I6ff4a5dd014c6aefe0750850eeece6f3267a3e5b
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.