Home
last modified time | relevance | path

Searched refs:dut (Results 1 – 25 of 52) sorted by relevance

123

/external/autotest/server/site_tests/brillo_BootLoader/
Dbrillo_BootLoader.py34 self.num_slots = int(self.dut.run_output('bootctl get-number-slots'))
36 self.suffix_a = self.dut.run_output('bootctl get-suffix 0')
37 self.suffix_b = self.dut.run_output('bootctl get-suffix 1')
42 self.boot_a_size = int(self.dut.run_output(
44 self.boot_b_size = int(self.dut.run_output(
62 cmd_output = self.dut.fastboot_run('getvar %s' % variable_name)
78 self.dut.ensure_bootloader_mode()
85 self.dut.fastboot_reboot()
93 return int(self.dut.run_output('bootctl get-current-slot'))
114 self.dut.run('bootctl set-active-boot-slot %d' % slot_number)
[all …]
/external/autotest/server/site_tests/p2p_EndToEndTest/
Dp2p_EndToEndTest.py43 def run_once(self, dut, file_id, is_master, peers, barrier): argument
44 self._dut = dut
51 dut.run('start p2p || true')
52 dut.run('status p2p | grep running')
55 dut.run('touch %s' % file_temp_name)
56 dut.run('setfattr -n user.cros-p2p-filesize -v %d %s'
58 dut.run('mv %s %s' % (file_temp_name, file_shared_name))
70 dut.run('dd if=/dev/urandom of=%s bs=1000 count=%d'
84 dut.run('dd if=/dev/urandom of=%s bs=1000 count=%d'
104 ret = dut.run('p2p-client --get-url=%s' % file_id)
[all …]
Dcontrol37 dut = hosts.create_host(machine)
40 dut=dut,
/external/autotest/client/common_lib/cros/
Dpower_cycle_usb_util.py42 def power_cycle_usb_gpio(dut, gpio_idx): argument
62 dut.run(cmd)
64 dut.run(cmd)
66 dut.run(cmd)
69 dut.run(cmd)
72 dut.run(cmd)
75 def power_cycle_usb_vidpid(dut, board, vid, pid): argument
93 bus_idx, port_idx = get_port_number_from_vidpid(dut, vid, pid)
103 power_cycle_usb_gpio(dut, target_gpio)
106 def get_port_number_from_vidpid(dut, vid, pid): argument
[all …]
/external/autotest/client/cros/cellular/
Dlabconfig.py122 for dut in self.cell["duts"]:
123 if machine == dut["address"] or machine == dut["name"]:
124 return dut
128 (machine, dut['address'],
129 dut['name'], self.options.cell, self.cell['duts']))
154 dut = self._get_dut(machine)
155 print dut
156 return dut['rf_switch_port']
/external/autotest/server/site_tests/telemetry_Crosperf/
Dtelemetry_Crosperf.py62 def _ensure_deps(dut, test_name): argument
96 dut.send_file(src, dst)
105 def scp_telemetry_results(self, client_ip, dut): argument
115 (dut.hostname if dut else client_ip, DUT_CHROME_RESULTS_DIR))
132 def run_once(self, args, client_ip='', dut=None): argument
151 _ensure_deps(dut, test_name)
157 runner = dut
194 result = self.scp_telemetry_results(client_ip, dut)
Dcontrol36 dut = hosts.create_host(machine)
39 args=args_dict, dut=dut)
/external/autotest/server/cros/clique_lib/
Dclique_runner.py102 for dut in dut_objects:
103 if not utils.is_dut_healthy(dut.wifi_client, ap):
104 logging.error('DUT %s not healthy.', dut.host.hostname)
115 for dut in dut_objects:
116 utils.sanitize_client(dut.host)
129 for dut in dut_objects:
130 dut.wifi_client.shill.sync_time_to(epoch_seconds)
147 for dut in dut_objects:
148 kernel_ver = dut.host.get_kernel_ver()
149 firmware_ver = utils.get_firmware_ver(dut.host)
[all …]
Dclique_dut_locker.py93 self.dut.host.hostname,
255 def _unlock_one_dut(self, dut): argument
260 host_name = dut.host.host_name
262 self._locked_duts.remove(dut)
269 for dut in self.locked_duts:
270 self._unlock_one_dut(dut)
274 for dut in self.locked_duts:
275 dut.wifi_client.close()
276 self._unlock_one_dut(dut)
Dclique_dut_log_collector.py14 def log_collector_dut_worker(dut, job): argument
25 host = dut.host
46 for dut in dut_objects:
51 args=(dut, job))
Dclique_dut_updater.py18 def update_dut_worker(updater_obj, dut, image, force): argument
32 updater_obj.update_dut(dut_host=dut.host, image=image, force=force)
178 for dut in dut_objects:
179 dut_board = self._get_board_name_from_host(dut.host)
187 args=(self, dut, dut_image, False))
Dclique_dut_control.py181 def __init__(self, dut, assoc_params=None, conn_worker=None, argument
193 dut_objs=[dut], assoc_params=assoc_params,
195 uid=dut.host.hostname)
568 for dut in dut_set:
570 dut, assoc_params, conn_worker, test_params)
/external/autotest/site_utils/tester_feedback/
Drequest.py17 def __init__(self, test, dut, desc): argument
25 self.dut = dut
38 {'test': self.test, 'dut': self.dut, 'desc': self.desc})
Daudio_query_delegate_impl.py61 req = sequenced_request.SequencedFeedbackRequest(self.test, self.dut,
82 self.test, self.dut, 'Audible playback')
98 self.test, self.dut, None)
126 self.test, self.dut, 'Silent playback')
145 self.test, self.dut, None)
170 self.test, self.dut, 'Audio recording')
191 self.test, self.dut, None)
231 self.test, self.dut, None)
Dquery_delegate.py22 def __init__(self, test, dut, multiplexer, atomic=True): argument
32 self.dut = dut
/external/toolchain-utils/crosperf/
Dschedv2.py24 def __init__(self, dut, sched): argument
25 super(DutWorker, self).__init__(name='DutWorker-{}'.format(dut.name))
26 self._dut = dut
181 def dut(self): member in DutWorker
257 self._active_workers = [DutWorker(dut, self) for dut in self._duts]
350 def get_benchmark_run(self, dut): argument
367 if dut.label is None:
372 with self.lock_on(dut.label):
373 brl = self._label_brl_map[dut.label]
379 def allocate_label(self, dut): argument
[all …]
Dmachine_image_manager.py144 for idx, dut in enumerate(self.duts_):
145 self.dut_name_ordinal_[dut.name] = idx
196 def allocate(self, dut, schedv2=None): argument
208 j = self.dut_name_ordinal_[dut.name]
/external/autotest/server/control_segments/
Dget_network_stats14 dut = hosts.create_target_machine(machine)
18 if utils.ping(dut.hostname, tries=1, timeout=3) != 0:
24 result = dut.run('route; echo SEPARATOR; cat /proc/net/dev')
Dcleanup29 # Try to save /var/log files. If the dut is not sshable, try to restart
30 # with servo. This is a temp fix to collect log for test failed with dut
37 # Try to restart dut with servo.
/external/autotest/server/hosts/
Dchameleon_host.py141 def create_chameleon_host(dut, chameleon_args): argument
171 dut_is_hostname = not dnsname_mangler.is_ip_address(dut)
173 chameleon_hostname = chameleon.make_chameleon_hostname(dut)
189 hosts = afe.get_hosts(hostname=dut)
/external/autotest/server/lib/
Dsuite_report.py99 dut = None
106 dut = s.hostname
115 if dut:
116 entry['dut'] = dut
/external/autotest/server/site_tests/firmware_ECKeyboardReboot/
Dcontrol10 CRITERIA = "This test will fail if failed to reboot via dut-control ec_uart_cmd:reboot."
20 This test runs dut-control ec_uart_cmd:reboot command.
/external/autotest/client/site_tests/video_GlitchDetection/
Dcontrol.chameleon.h264.480p.collectgoldenimages22 should be scheduled to run on a desired dut via autotest.
24 Golden images can then be copied from the dut once the test is finished.
Dcontrol.chameleon.h264.720p.collectgoldenimages22 should be scheduled to run on a desired dut via autotest.
24 Golden images can then be copied from the dut once the test is finished.
Dcontrol.chameleon.vp8.480p.collectgoldenimages22 should be scheduled to run on a desired dut via autotest.
24 Golden images can then be copied from the dut once the test is finished.

123