Searched refs:adb_su (Results 1 – 2 of 2) sorted by relevance
72 adb_su() { function80 if inAdb && [ 0 -eq `adb_su ls /sys/fs/pstore </dev/null | wc -l` ]; then128 if adb_su "cat /proc/cmdline | tr '\\0 ' '\\n\\n'" </dev/null |134 adb_su setprop persist.test.boot.reason "'${1}'" 2>/dev/null </dev/null659 adb_su touch /data/misc/bootstat/build_date >&2 </dev/null725 adb_su rm /data/misc/bootstat/build_date >&2 </dev/null812 echo 'healthd: battery l=2 ' | adb_su tee /dev/kmsg >/dev/null817 adb_su </dev/null \826 echo 'healthd: battery l=2 ' | adb_su tee /dev/kmsg >/dev/null912 echo c | adb_su tee /proc/sysrq-trigger >/dev/null[all …]
224 adb_su() { function745 if adb_su test -d "/${d}/overlay" </dev/null; then747 adb_su rm -rf "/${d}/overlay" </dev/null760 local df_output=$(adb_su df -k </dev/null)915 if ! adb_su getenforce </dev/null | grep 'Enforcing' >/dev/null; then953 FSTAB_FILE=$(adb_su ls -1 '/vendor/etc/fstab*' </dev/null |959 PARTITIONS=$(adb_su grep -v "^[#${SPACE}${TAB}]" "${FSTAB_FILE}" |993 size=`adb_su cat /sys/block/${device}/size 2>/dev/null </dev/null` &&1084 adb_su disable-verity -R >&2 ||1136 adb_su mount -o remount,rw /vendor ||[all …]