mirror from https://android.googlesource.com/platform/external/bluetooth/bluedroid.git