mirror from https://android.googlesource.com/platform/hardware/libhardware.git