summaryrefslogtreecommitdiffstats
path: root/make
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2019-12-26 04:15:59 +0100
committerSven Gothel <[email protected]>2019-12-26 04:15:59 +0100
commitd190301a82a961ac3246890206200086842059bd (patch)
treeda79a357de9a7ead15f4a3927a63729ccc60356a /make
parentae4cdcf3490a1bf493f39ab5c8c6b596d3af71de (diff)
Bug 1417 - Android: Add adb scripts to force-stop and clear all jogamp tasks and packages
Diffstat (limited to 'make')
-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
+