Lines Matching refs:adb_shell

61 function adb_shell {  function
93 local _ABI=$(adb_shell getprop ro.product.cpu.abi)
183 RELEASE=$(adb_shell getprop ro.build.version.release)
197 if ! adb_shell ls -l /system/bin/app_process | grep -o '\->.*app_process' >&/dev/null; then
199 adb_shell mv /system/bin/app_process.real /system/bin/app_process
200 adb_shell rm /system/bin/asanwrapper
201 …elif ! adb_shell ls -l /system/bin/app_process64.real | grep -o 'No such file or directory' >&/dev…
203 adb_shell mv /system/bin/app_process32.real /system/bin/app_process32
204 adb_shell mv /system/bin/app_process64.real /system/bin/app_process64
205 adb_shell rm /system/bin/asanwrapper
206 adb_shell rm /system/bin/asanwrapper64
209 adb_shell rm /system/bin/app_process.wrap
210 adb_shell rm /system/bin/asanwrapper
211 adb_shell rm /system/bin/app_process
212 adb_shell ln -s /system/bin/app_process32 /system/bin/app_process
216 adb_shell mv /system/etc/ld.config.txt.saved /system/etc/ld.config.txt
220 adb_shell stop
221 adb_shell start
225 adb_shell rm /system/lib/$ASAN_RT
268 if ! adb_shell ls -l /system/bin/app_process | grep -o '\->.*app_process' >&/dev/null; then
272 adb_shell mv /system/bin/app_process.real /system/bin/app_process
276 adb_shell mv /system/bin/app_process /system/bin/app_process32
277 adb_shell ln -s /system/bin/app_process32 /system/bin/app_process
390 adb_shell chown root.shell "$_to/$_basename"
392 adb_shell chmod "$_mode" "$_to/$_basename"
395 adb_shell chcon "$_context" "$_to/$_basename"
403 if adb_shell getenforce | grep Enforcing >/dev/null; then
407 adb_shell setenforce 0
428 adb_shell rm -f /system/lib/$ASAN_RT_SYMLINK
429 adb_shell ln -s $ASAN_RT /system/lib/$ASAN_RT_SYMLINK
430 adb_shell rm -f /system/lib64/$ASAN_RT_SYMLINK
431 adb_shell ln -s $ASAN_RT64 /system/lib64/$ASAN_RT_SYMLINK
438 adb_shell rm -f /system/lib/$ASAN_RT_SYMLINK
439 adb_shell ln -s $ASAN_RT /system/lib/$ASAN_RT_SYMLINK
441 adb_shell rm /system/bin/app_process
442 adb_shell ln -s /system/bin/app_process.wrap /system/bin/app_process
445 adb_shell cp /system/bin/sh /system/bin/sh-from-zygote
446 adb_shell chcon $CTX /system/bin/sh-from-zygote
450 adb_shell mv /system/etc/ld.config.txt /system/etc/ld.config.txt.saved
454 adb_shell setenforce 1
458 adb_shell stop
459 adb_shell start