mirror from https://android.googlesource.com/device/google/accessory/adk2012_demo.git