Home | History | Annotate | Download | only in labpretest

Lines Matching refs:ROOT

17 ROOT=$(cd `dirname $0` && pwd)
18 ADB="$ROOT/tools/adb"
19 FASTBOOT="$ROOT/tools/fastboot"
267 # ROOT
284 bootloaderfile=`ls -1 $ROOT/$product | sed -n 's/\(.*boot[0-9._]\+img\)/\1/ p'`
289 if [ ! -e "$ROOT/$product/$bootloaderfile" ]; then
293 log_print "using $ROOT/$product/$bootloaderfile as the bootloader image file"
296 flash_partition $bootpart $ROOT/$product/$bootloaderfile
306 # ROOT
323 radiofile=`ls -1 $ROOT/$product | sed -n 's/\(radio[0-9._A-Za-z]\+img\)/\1/ p'`
328 if [ ! -e "$ROOT/$product/$radiofile" ]; then
332 log_print "using $ROOT/$product/$radiofile as the radio image file"
335 flash_partition $radiopart $ROOT/$product/$radiofile
345 # ROOT
357 buildfile=`\ls -1 $ROOT/$product 2>&1 | sed -n 's/\([a-z]\+-img-[0-9]\+.zip\)/\1/ p'`
362 if [ ! -e "$ROOT/$product/$buildfile" ]; then
366 log_print "using $ROOT/$product/$buildfile as the system image file"
369 fastboot_command update $ROOT/$product/$buildfile
377 # ROOT
386 if [ -e $ROOT/$product/userdata.img ];then
387 flash_partition userdata $ROOT/$product/userdata.img
389 log_print "userdata.img file not found: $ROOT/$product/userdata.img"
400 # ROOT
427 # ROOT
440 if [ ! -e "$ROOT/$product" ]; then
508 if [ -e "$ROOT/$product/custom_flash.sh" ]; then
509 . $ROOT/$product/custom_flash.sh
519 log_print "setting adb root and sleeping for 7 seconds"
520 adb_command root
532 log_print "setting adb root"
533 adb_command root
577 echo `echo "Device $device has returned, testing completed, count = $loop." > $ROOT/$device.log`
580 echo `echo "Device $device has returned, rinse and repeat count = $loop." > $ROOT/$device.log`