mirror from https://android.googlesource.com/platform/frameworks/uiautomator.git