summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkejun.zhou <kejun.zhou@linaro.org>2012-07-10 10:54:46 +0800
committerkejun.zhou <kejun.zhou@linaro.org>2012-07-10 10:54:46 +0800
commitc9cb7f37efa3cfeed00d0acdb947ca8f958e0e91 (patch)
tree0723760c2ee8c58faa0c17139c475a28e213b813
parent7fdbd157db916b2e4ea04f116ae04677538d56a3 (diff)
downloadtools_for_pm-qa-c9cb7f37efa3cfeed00d0acdb947ca8f958e0e91.tar.gz
Add pm-suspend
Signed-off-by: kejun.zhou <kejun.zhou@linaro.org>
-rw-r--r--pm-suspend/Android.mk11
-rw-r--r--pm-suspend/pm-suspend1
2 files changed, 12 insertions, 0 deletions
diff --git a/pm-suspend/Android.mk b/pm-suspend/Android.mk
new file mode 100644
index 0000000..41facb6
--- /dev/null
+++ b/pm-suspend/Android.mk
@@ -0,0 +1,11 @@
+include $(call all-subdir-makefiles)
+LOCAL_PATH:= $(call my-dir)
+
+include $(CLEAR_VARS)
+LOCAL_MODULE_TAGS := optional
+LOCAL_MODULE_CLASS := tests
+LOCAL_MODULE := pm-suspend
+systemtarball: pm-suspend
+LOCAL_SRC_FILES := pm-suspend
+LOCAL_MODULE_PATH := $(TARGET_OUT_EXECUTABLES)
+include $(BUILD_PREBUILT)
diff --git a/pm-suspend/pm-suspend b/pm-suspend/pm-suspend
new file mode 100644
index 0000000..e2ff181
--- /dev/null
+++ b/pm-suspend/pm-suspend
@@ -0,0 +1 @@
+echo mem > /sys/power/state