Home
last modified time | relevance | path

Searched refs:adb_su (Results 1 – 2 of 2) sorted by relevance

/system/core/bootstat/
Dboot_reason_test.sh72 adb_su() { function
80 if inAdb && [ 0 -eq `adb_su ls /sys/fs/pstore </dev/null | wc -l` ]; then
128 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/null
659 adb_su touch /data/misc/bootstat/build_date >&2 </dev/null
725 adb_su rm /data/misc/bootstat/build_date >&2 </dev/null
812 echo 'healthd: battery l=2 ' | adb_su tee /dev/kmsg >/dev/null
817 adb_su </dev/null \
826 echo 'healthd: battery l=2 ' | adb_su tee /dev/kmsg >/dev/null
912 echo c | adb_su tee /proc/sysrq-trigger >/dev/null
[all …]
/system/core/fs_mgr/tests/
Dadb-remount-test.sh224 adb_su() { function
745 if adb_su test -d "/${d}/overlay" </dev/null; then
747 adb_su rm -rf "/${d}/overlay" </dev/null
760 local df_output=$(adb_su df -k </dev/null)
915 if ! adb_su getenforce </dev/null | grep 'Enforcing' >/dev/null; then
953 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 …]