Lines Matching full:device
46 * device. MonkeyRunner provides some useful helper functions to control the
47 * device as well as various other methods to help script tests.
100 * Initialize an adb session with a device connected to the host
105 boolean device = false;
115 // we can't just ask for the device list right away, as the internal thread getting
129 System.err.println("Timeout getting device list!");
143 if (emulator || device) {
145 // this test works because emulator and device can't both be true at the same
154 printAndExit("Error: more than one device connected!",true /* terminate */);
169 printAndExit("Error: more than one emulator or device available!",
185 * Open a tcp session over adb with the device to communicate monkey commands
201 * Close tcp session with the monkey on the device
217 * the device in a known state and starts recording interesting info.
227 // Record what device we are running on
244 /** This is a method for scripts to launch an activity on the device
335 * Function to type text on the device
351 * Function to get a static variable from the device
360 * Function to get the list of static variables from the device
367 * This function is the communication bridge between the host and the device.
371 * @param command the monkey command to send to the device
378 * This function allows the communication bridge between the host and the device
383 * @param command the monkey command to send to the device
465 * Add the device variables to the xml file in monkeyRecorder.
469 monkeyRecorder.addComment("Device specific variables");
553 * Grab an image from an ADB-connected device.
555 private static void getDeviceImage(IDevice device, String filepath, boolean landscape)
562 rawImage = device.getScreenshot();
570 // device/adb not available?