Home | History | Annotate | Download | only in hosts

Lines Matching refs:serial

34 # branch/target/build_id[:serial][#count],
35 # where serial and count are optional. Count is the number of devices to
162 for serial, exc_type, exc_value, exc_traceback in failures:
163 serials.append(serial)
166 logging.error('Failed to repair device with serial %s, '
167 'error:\n%s', serial, details)
189 Provision dut with serial ZX1G2 to build `branch1/shamu-userdebug/111`,
197 is in the format of branch/target/build_id[:serial]. Serial is
201 @returns: A list of tuples of (build, serial). serial could be None if
207 # The image string cannot specify both serial and count.
212 'branch/target/build_id[:serial][#count]', image)
233 # Set the thread name with the serial so logging for installing
247 If the given images all have no serial associated and have the same
264 @param images: A list of tuples of (build, serial). serial could be None
270 where XZ123 is serial of one of the hammerheads connected to the
273 @return: A dictionary of (serial, build). Note that build here should
274 not have a serial specified in it.
279 # The map between serial and build to install in that dut.
281 builds_without_serial = [build for build, serial in images
282 if not serial]
283 for build, serial in images:
284 if serial:
285 serial_build_pairs[serial] = build
286 # Return the mapping if all builds have serial specified.
292 for serial, host in self.get_adb_devices().iteritems():
294 if serial in serial_build_pairs:
298 duts_by_name.setdefault(alias, []).append(serial)
328 for serial in duts:
329 serial_build_pairs[serial] = builds[0]
350 @param serial_build_map: A map between dut's serial and the build to be
419 # from each provision runs have the dut's serial, which is set as the
431 for serial, build in serial_build_map.iteritems():
432 logging.info('Installing build %s on DUT with serial %s.',
433 build, serial)
434 host = self.get_adb_devices()[serial]