Lines Matching refs:shell
70 adb shell date
77 device_seconds_since_epoch=$(adb shell date -u +%s | tr -c -d '[:digit:]')
90 adb shell setprop ctl.stop llkd-0
91 adb shell setprop ctl.stop llkd-1
93 product_name=$(adb shell getprop ro.build.product)
99 adb shell pkill -9 -U logd logd && msginfo "...logd killed"
105 adb shell date -u @$host_seconds_since_epoch
109 adb shell setenforce 0
110 $verbose && adb shell getenforce
113 adb shell ifconfig lo up
114 $verbose && adb shell ifconfig
118 adb shell getprop
121 adb shell uptime
124 adb shell dumpsys battery
144 timeout 5s adb shell "ps" >/dev/null
150 processes=$(adb shell "ps" | grep dalvikvm | awk '{print $2}')
151 for i in $processes; do adb shell kill -9 $i; done
165 adb shell mkdir -p "$ART_TEST_CHROOT"
180 adb shell test -f "$f" \
186 adb shell mkdir -p "$ART_TEST_CHROOT/tmp"
187 adb shell mkdir -p "$ART_TEST_CHROOT/data/dalvik-cache"
188 adb shell mkdir -p "$ART_TEST_CHROOT/data/local/tmp"
191 adb shell mkdir -p "$ART_TEST_CHROOT/system/etc"
192 adb shell test -L "$ART_TEST_CHROOT/etc" \
193 || adb shell ln -s system/etc "$ART_TEST_CHROOT/etc"
196 adb shell mkdir -p "$ART_TEST_CHROOT/proc"
197 adb shell mount | grep -q "^proc on $ART_TEST_CHROOT/proc type proc " \
198 || adb shell mount -t proc proc "$ART_TEST_CHROOT/proc"
201 adb shell mkdir -p "$ART_TEST_CHROOT/sys"
202 adb shell mount | grep -q "^sysfs on $ART_TEST_CHROOT/sys type sysfs " \
203 || adb shell mount -t sysfs sysfs "$ART_TEST_CHROOT/sys"
205 adb shell mount | grep -q "^debugfs on $ART_TEST_CHROOT/sys/kernel/debug type debugfs " \
206 || adb shell mount -t debugfs debugfs "$ART_TEST_CHROOT/sys/kernel/debug"
210 adb shell mount | grep -q "^tracefs on $ART_TEST_CHROOT/sys/kernel/tracing type tracefs " \
211 || adb shell mount -o bind /sys/kernel/tracing "$ART_TEST_CHROOT/sys/kernel/tracing"
214 adb shell mkdir -p "$ART_TEST_CHROOT/dev"
215 adb shell mount | grep -q "^tmpfs on $ART_TEST_CHROOT/dev type tmpfs " \
216 || adb shell mount -o bind /dev "$ART_TEST_CHROOT/dev"
217 adb shell mount | grep -q "^devpts on $ART_TEST_CHROOT/dev/pts type devpts " \
218 || adb shell mount -o bind /dev/pts "$ART_TEST_CHROOT/dev/pts"
219 adb shell mount | grep -q " on $ART_TEST_CHROOT/dev/cpuset type cgroup " \
220 || adb shell mount -o bind /dev/cpuset "$ART_TEST_CHROOT/dev/cpuset"
223 adb shell mkdir -p "$ART_TEST_CHROOT/apex"
226 adb shell mkdir -p "$ART_TEST_CHROOT/linkerconfig"
229 adb shell test -L "$ART_TEST_CHROOT/bin" \
230 || adb shell ln -s system/bin "$ART_TEST_CHROOT/bin"