Lines Matching refs:ADB
18 ADB="$ROOT/tools/adb"
65 # ADB
80 battery=`$ADB -s $device shell dumpsys battery | tr -d '\r' | awk '/level:/ {print $2}'`
86 battery=`$ADB -s $device shell dumpsys battery | tr -d '\r' | awk '/level:/ {print $2}'`
131 # ADB
140 $ADB -s $device reboot bootloader
163 # reboots device from fastboot to adb or
168 # ADB
176 log_print "rebooting and waiting for availability via adb"
178 $ADB -s $device wait-for-device
182 # reboots device from fastboot to adb or
186 # ADB
195 local result=$($ADB -s $device shell getprop dev.bootcomplete)
201 result=$($ADB -s $device shell getprop dev.bootcomplete)
244 # adb command wrapper
248 # ADB
257 $ADB -s $device $1 $2 $3 $4 $5
452 if [ ! -e $ADB ]; then
453 echo "Error: adb not in path! Please correct this."
462 tmpdevice=`$ADB devices | sed -n "s/\($device\).*/\1/ p"`
475 device=`$ADB devices | sed -n 's/.*\(^[0-9A-Z]\{2\}[0-9A-Z]*\).*/\1/ p'`
483 echo 'Device not found via adb'
519 log_print "setting adb root and sleeping for 7 seconds"
532 log_print "setting adb root"
538 result=$($ADB -s $device shell getprop dev.bootcomplete)
544 result=$($ADB -s $device shell getprop dev.bootcomplete)
550 result=$($ADB -s $device shell pm path android)
556 result=$($ADB -s $device shell pm path android)
569 $ADB -s $device shell monkey -p com.android.alarmclock -p com.android.browser -p com.android.calculator2 -p com.android.calendar -p com.android.camera -p com.android.contacts -p com.google.android.gm -p com.android.im -p com.android.launcher -p com.google.android.apps.maps -p com.android.mms -p com.android.music -p com.android.phone -p com.android.settings -p com.google.android.street -p com.android.vending -p com.google.android.youtube -p com.android.email -p com.google.android.voicesearch -c android.intent.category.LAUNCHER --ignore-security-exceptions -s $seed $MEVENTS