summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--make/scripts/adb-am-force-stop-all.sh14
-rw-r--r--make/scripts/adb-pm-clear-all.sh14
2 files changed, 28 insertions, 0 deletions
diff --git a/make/scripts/adb-am-force-stop-all.sh b/make/scripts/adb-am-force-stop-all.sh
new file mode 100644
index 0000000..699dbef
--- /dev/null
+++ b/make/scripts/adb-am-force-stop-all.sh
@@ -0,0 +1,14 @@
+#! /bin/sh
+
+echo jogamp process running
+adb $* shell ps | grep jogamp
+
+adb $* shell am force-stop jogamp.android.launcher
+adb $* shell am force-stop com.jogamp.common
+adb $* shell am force-stop com.jogamp.openal
+adb $* shell am force-stop com.jogamp.opengl
+adb $* shell am force-stop com.jogamp.opencl
+adb $* shell am force-stop com.jogamp.openal.test
+adb $* shell am force-stop com.jogamp.opengl.test
+adb $* shell am force-stop com.jogamp.opencl.test
+
diff --git a/make/scripts/adb-pm-clear-all.sh b/make/scripts/adb-pm-clear-all.sh
new file mode 100644
index 0000000..548234e
--- /dev/null
+++ b/make/scripts/adb-pm-clear-all.sh
@@ -0,0 +1,14 @@
+#! /bin/sh
+
+echo jogamp process running
+adb $* shell ps | grep jogamp
+
+adb $* shell pm clear jogamp.android.launcher
+adb $* shell pm clear com.jogamp.common
+adb $* shell pm clear com.jogamp.openal
+adb $* shell pm clear com.jogamp.opengl
+adb $* shell pm clear com.jogamp.opencl
+adb $* shell pm clear com.jogamp.openal.test
+adb $* shell pm clear com.jogamp.opengl.test
+adb $* shell pm clear com.jogamp.opencl.test
+