Home | History | Annotate | Download | only in its

Lines Matching refs:ADB

27     """Controls a device over adb to run ITS scripts.
37 The "adb logcat" command is used to receive messages from the service
41 proc: The handle to the process in which "adb logcat" is invoked.
46 # The adb program is used for communication with the device. Need to handle
48 # to adb, which causes it to fail if there is more than one device.
49 ADB = "adb -d"
89 """Opens the "adb logcat" stream.
93 Gets the adb logcat stream that is intended for parsing by this python
98 _run('%s logcat -c' % (self.ADB))
100 self.ADB.split() + ["logcat", "-s", "'%s:v'" % (self.TAG)],
142 on the device, converts it to JSON, sends it to the device over adb,
155 self.ADB, self.DEVICE_FOLDER_ROOT))
163 self.ADB, tmpfname, self.DEVICE_FOLDER_ROOT))
169 '-a %s%s') % (self.ADB, intent_string, intent_args))
299 """Copy captured data from device back to host machine over adb.
320 _run('%s pull %s .' % (self.ADB, fname))
322 self.ADB, self.__get_json_path(fname)))
324 _run('%s shell rm -rf %s/*' % (self.ADB, self.DEVICE_FOLDER_ROOT))
347 _run('%s pull %s .' % (self.ADB, remote_fname))
513 state. Will disconnect any other adb sessions, so this function is not
523 _run("%s reboot" % (ItsSession.ADB));
524 _run("%s wait-for-device" % (ItsSession.ADB))