platform/hardware/libhardware_legacy from AOSP