Home | History | Annotate | Download | only in testrunner

Lines Matching full:command

18 """Provides an interface to communicate with the device via the adb command.
37 # argument to pass to adb, to direct command to specific device
55 """Send a command via adb.
58 command_string: adb command to run
59 timeout_time: number of seconds to wait for command to respond before
61 retry_count: number of times to retry command before raising
64 string output of command
67 WaitForResponseTimedOutError if device does not respond to command within time
75 """Send a adb shell command.
78 cmd: adb shell command to run
79 timeout_time: number of seconds to wait for command to respond before
81 retry_count: number of times to retry command before raising
85 string output of command
88 WaitForResponseTimedOutError: if device does not respond to command
141 output of install command
204 timeout_time: Timeout value for the am command.
223 response to adb instrument command
261 'normal' output to stdout, instead of parsing return results. Command will
273 """Returns a string of adb command that will be executed."""
331 # Query the package manager with a basic command
342 command = "pm list instrumentation | grep %s" % instrumentation_path
344 output = self.SendShellCommand(command)
347 # command can return error code on failure
379 def _WaitForShellCommandContents(self, command, expected, wait_time,
381 """Wait until the response to a command contains a given output.
383 Assumes that a only successful execution of "adb shell <command>" contains
387 command: adb shell command to execute
389 command successful.
391 raise_abort: if False, retry when executing the command raises an
393 invert: if True, wait until the command output no longer contains the
397 WaitForResponseTimedOutError: If wait_time elapses and the command has not
400 # Query the device with the command
405 # assume the command will always contain expected in the success case
407 output = self.SendShellCommand(command, retry_count=1)
436 # Query the package manager with a basic command