Home | History | Annotate | Download | only in bash_completion

Lines Matching refs:COMMAND

50                     where=COMMAND
57 if [[ $where == COMMAND && $i -ge $COMP_CWORD ]]; then
62 COMMAND="devices connect disconnect push pull sync shell emu logcat lolcat forward jdwp install uninstall bugreport help version start-server kill-server get-state get-serialno status-window remount reboot reboot-bootloader root usb tcpip"
66 COMPREPLY=( $(compgen -W "$OPTIONS $COMMAND" -- "$cur") )
69 local devices=$(command adb devices '2>' /dev/null | grep -v "List of devices" | awk '{ print $1 }')
72 COMMAND)
74 COMPREPLY=( $(compgen -W "$COMMAND" -- "$cur") )
185 paths=$(command adb ${args[@]} shell echo '$'PATH 2> /dev/null | tr -d '\r' | tr : '\n')
186 COMMAND=$(command adb ${args[@]} shell ls $paths '2>' /dev/null | tr -d '\r' | {
188 command=${tmp##*/}
189 printf '%s\n' "$command"
192 COMPREPLY=( $(compgen -W "$COMMAND" -- "$cur") )
241 command adb ${args[@]} shell pm list packages '2>' /dev/null 2> /dev/null | tr -d '\r' | {
307 command adb ${args[@]} shell ls -dF ${file}"*" '2>' /dev/null 2> /dev/null | tr -d '\r' | {