summaryrefslogtreecommitdiffstats
path: root/make/scripts/adb-pm-clear-all.sh
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/scripts/adb-pm-clear-all.sh
parentae4cdcf3490a1bf493f39ab5c8c6b596d3af71de (diff)
Bug 1417 - Android: Add adb scripts to force-stop and clear all jogamp tasks and packages
Diffstat (limited to 'make/scripts/adb-pm-clear-all.sh')
-rw-r--r--make/scripts/adb-pm-clear-all.sh14
1 files changed, 14 insertions, 0 deletions
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
+