Home | History | Annotate | Download | only in testrunner

Lines Matching full:device

18 """Provides an interface to communicate with the device via the adb command.
35 """Helper class for communicating with Android device via adb."""
37 # argument to pass to adb, to direct command to specific device
47 """Direct all future commands to the only connected USB device."""
67 WaitForResponseTimedOutError if device does not respond to command within time
88 WaitForResponseTimedOutError: if device does not respond to command
105 """Pushes the file src onto the device at dest.
109 dest: destination absolute file path on device
114 """Pulls the file src on the device onto dest on the host.
117 src: absolute file path of file on device to pull
135 """Checks if the given path exists on device target.
152 """Enable adb root on device."""
157 # device will disappear from adb, wait for it to come back
159 self.SendCommand("wait-for-device")
186 interpreting of error output from the device and raises the necessary
213 DeviceUnresponsiveError: if device system process is not responding
228 raise errors.InstrumentationError("no test results... device setup "
308 """Waits for targeted device's package manager to be up.
317 logger.Log("Waiting for device package manager...")
318 self.SendCommand("wait-for-device")
319 # Now the device is there, but may not be running.
329 """Waits for given instrumentation to be present on device
347 "Could not find instrumentation %s on device. Does the "
353 """Wait until a process is running on the device.
364 self.SendCommand("wait-for-device")
368 """Wait until a process is no longer running on the device.
386 the substring expected. Assumes that a device is present.
402 # Query the device with the command
426 """Waits for targeted device's bootcomplete flag to be set.
436 self.SendCommand("wait-for-device")
437 # Now the device is there, but may not be running.
457 Blocks until device package manager is responding.
487 elif "No space left on device" in output:
489 logger.Log("Restarting device runtime")
509 """Returns the serial number of the targeted device."""