summaryrefslogtreecommitdiff
path: root/cmds/device_config
diff options
context:
space:
mode:
authorMatt Pape <mpape@google.com>2018-12-07 09:13:26 -0800
committerMatt Pape <mpape@google.com>2018-12-09 00:35:04 +0000
commitabb6789b7b17cc5abaaf1cbce3effcf40a506224 (patch)
tree0e3774e7e52baa5277982aa2663a2ab1385ed09b /cmds/device_config
parent52507ecbd694fcc05030d5a2cf66130653f77d50 (diff)
Add binder implementation to support device config shell commands from the
command line. Test: atest SettingsProviderTest:DeviceConfigServiceTest Further tested manually from the command line Bug:109919982 Bug:113101834 Change-Id: I62da11f8be9d24a2e304c10592d689ae007eb7ec
Diffstat (limited to 'cmds/device_config')
-rw-r--r--cmds/device_config/Android.mk10
-rwxr-xr-xcmds/device_config/device_config2
2 files changed, 12 insertions, 0 deletions
diff --git a/cmds/device_config/Android.mk b/cmds/device_config/Android.mk
new file mode 100644
index 000000000000..4041e01927df
--- /dev/null
+++ b/cmds/device_config/Android.mk
@@ -0,0 +1,10 @@
+# Copyright 2018 The Android Open Source Project
+#
+LOCAL_PATH:= $(call my-dir)
+
+include $(CLEAR_VARS)
+LOCAL_MODULE := device_config
+LOCAL_SRC_FILES := device_config
+LOCAL_MODULE_CLASS := EXECUTABLES
+LOCAL_MODULE_TAGS := optional
+include $(BUILD_PREBUILT)
diff --git a/cmds/device_config/device_config b/cmds/device_config/device_config
new file mode 100755
index 000000000000..a949bd528263
--- /dev/null
+++ b/cmds/device_config/device_config
@@ -0,0 +1,2 @@
+#!/system/bin/sh
+cmd device_config "$@"