Accelerate input commands execution

Add input commands handler in input manager service, to support all
existing input commands from shell.
Redirect the java binary input to execute input manager service command
hander to accelerate the execution.
With the change the adb input command runs much faster. "input tap <x>
<y>" takes less than 10 ms from 500ms to run.

Bug: 132724511
Test: adb input tap <x> <y>, adb input swipe <x1> <y1> <x2> <y2>
Change-Id: I7d7a41627754e3471b110460e51f777322dfdb97
diff --git a/cmds/input/Android.bp b/cmds/input/Android.bp
index a0ebde6..1ee9dd3 100644
--- a/cmds/input/Android.bp
+++ b/cmds/input/Android.bp
@@ -1,8 +1,7 @@
 // Copyright 2008 The Android Open Source Project
 //
 
-java_binary {
+sh_binary {
     name: "input",
-    wrapper: "input",
-    srcs: ["**/*.java"],
+    src: "input",
 }