Move Telecom shell commands to TelecomShellCommand
1) Move existing telecom shell commands into TelecomShellCommand
2) Make this new file available to the old Telecom commands binary
By moving shell commands to TelecomServiceImpl, we are seeing a
~10X improvement in speed when using shell commands for CTS.
Bug: 327310548
Test: atest CtsTelecomTestCases, manual shell command testing
Change-Id: Ic1d9de208cf65d058784437bf244d5279b676b9c
diff --git a/Android.bp b/Android.bp
index 68a8e39..94654a6 100644
--- a/Android.bp
+++ b/Android.bp
@@ -11,6 +11,14 @@
out: ["com/android/server/telecom/TelecomStatsLog.java"],
}
+filegroup {
+ name: "telecom-shell-commands-src",
+ srcs: [
+ "src/com/android/server/telecom/TelecomShellCommand.java",
+ ],
+ path: "src",
+}
+
android_library {
name: "TelecomLib",
manifest: "AndroidManifestLib.xml",
@@ -33,7 +41,6 @@
platform_apis: true,
}
-
// Build the Telecom service.
android_app {
name: "Telecom",