/external/autotest/server/hosts/ |
bootloader.py | 28 self._host = weakref.ref(host) 33 if self._host().job: 34 self._host().job.last_boot_tag = None 39 if self._host().job: 40 self._host().job.last_boot_tag = title 46 if self._host() is None: 49 tmpdir = self._host().get_tmp_dir() 50 self._host().send_file(os.path.abspath(os.path.join( 67 return self._host().run(cmd).stdout
|
/external/autotest/server/cros/ |
moblab_test.py | 34 self._host = host 35 self._host.install_boto_file(boto_path) 37 self._host.wait_afe_up() 38 self._host.find_and_add_duts() 59 self._host.run('sed -i /image_storage_server/d %s' % 61 self._host.run("sed -i '/\[CROS\]/ a\image_storage_server: "
|
remote_command.py | 16 self._host = host 25 self._result = self._host.run(self._cmd, ignore_status=True) 60 self._host = host 61 self._thread = _HelperThread(self._host, cmd) 83 self._host.run("pkill %s %s" % (signal_arg, self._command_name),
|
dark_resume_utils.py | 43 self._host = host 55 _wake_dut(self._host) 74 self._host = host 118 self._host.run('umount %s' % POWER_DIR) 121 self._host.run('restart powerd') 127 return DarkResumeSuspend(self._client_proxy, self._host) 140 _wake_dut(self._host) 159 client_at = autotest.Autotest(self._host) 162 proxy = self._host.rpc_server_tracker.xmlrpc_connect(
|
debugd_dev_tools.py | 192 self._host = host 246 state = query_dev_tools_state(self._host) 288 self._host.run('mkdir -p "%s"' % os.path.dirname(temp_path)) 289 self._host.run('cp -r "%s" "%s"' % (path, temp_path), 307 self._host.run('rm -rf "%s"' % path) 308 self._host.run('cp -r "%s" "%s"' % (self._get_temp_path(path), 349 _send_debugd_command(self._host, 'RemoveRootfsVerification') 350 self._host.reboot() 378 platform = self._host.get_platform().lower() 382 _send_debugd_command(self._host, 'EnableBootFromUsb' [all...] |
/external/autotest/server/site_tests/logging_KernelCrashServer/ |
logging_KernelCrashServer.py | 25 self._host.run('rm -f "%s"; cp "%s" "%s" 2>/dev/null; true' % 29 return self._host.run('ls "%s"' % f, 43 self._host.run('mv "%s" "%s.autotest_backup"' % (dst, dst)) 46 self._host.send_file(full_src, dst) 48 self._host.run('touch "%s"' % dst) 49 self._host.run('chown "%s" "%s"' % (owner, dst)) 54 self._host.run('rm -f "%s"' % f) 56 self._host.run('mv "%s.autotest_backup" "%s"' % (f, f)) 75 always_regen = self._host.run('[ -r /etc/send_metrics ]', 77 is_devimg = self._host.run('[ -r /root/.leave_core ]' [all...] |
/external/autotest/server/site_tests/network_WiFi_SuspendStress/ |
network_WiFi_SuspendStress.py | 41 out = self._host.run('cryptohome --action=status').stdout 60 if self._host.servo.get('lid_open') == 'not_applicable': 63 self._host.servo.lid_close() 64 self._host.wait_down(timeout=_DELAY) 65 self._host.servo.lid_open() 66 self._host.wait_up(timeout=_DELAY) 75 self._host.run('touch %s' % _CLIENT_TERMINATION_FILE_PATH) 79 self._host = self.context.client.host 81 if not self._host.servo: 88 if self._host.servo.get('cold_reset') == 'on' [all...] |
/external/autotest/server/site_tests/platform_Powerwash/ |
platform_Powerwash.py | 25 self._host = host 31 self._host.run('echo car > %s' % STATEFUL_MARKER_FILE) 35 self._host.reboot() 39 marker = self._host.run('[ -e %s ]' % STATEFUL_MARKER_FILE, 63 self._host.run("echo '%s' > %s" % (command, POWERWASH_MARKER_FILE)) 68 count = self._host.run('cat %s' % POWERWASH_COUNT,
|
/external/autotest/server/site_tests/power_USBHotplugInSuspend/ |
power_USBHotplugInSuspend.py | 23 self._host.servo.set('prtctl4_pwren', 'on') 25 self._host.servo.set('prtctl4_pwren', 'off') 26 time.sleep(self._host.servo.USB_POWEROFF_DELAY) 35 lines = self._host.run('lsusb').stdout.strip().split('\n') 47 client_at = autotest.Autotest(self._host) 68 if not self._host.ping_wait_down(_SUSPEND_TIMEOUT): 76 if not self._host.wait_up(self._host.RESUME_TIMEOUT): 98 self._host.servo.switch_usbkey(self._init_usbkey_direction) 106 self._host = hos [all...] |
/external/autotest/server/site_tests/network_WiFi_RoamSuspendEndToEnd/ |
network_WiFi_RoamSuspendEndToEnd.py | 46 if self._host.servo.get('lid_open') == 'not_applicable': 50 self._host.servo.lid_close() 51 self._host.wait_down(timeout=timeout_seconds) 53 self._host.servo.lid_open() 54 self._host.wait_up(timeout=timeout_seconds) 64 self._host = host 66 if not self._host.servo: 73 client_at = autotest.Autotest(self._host)
|
/external/autotest/server/site_tests/power_RPMTest/ |
power_RPMTest.py | 22 self._host = host 29 self._host.power_on() 31 self._host.power_off()
|
/external/autotest/server/cros/network/ |
packet_capturer.py | 162 self._host = host 183 self._host.run("%s dev %s del" % (self._cmd_iw, device)) 186 self._host.run("%s link set %s down" % (self._cmd_ip, device)) 187 self._host.run("%s dev %s del" % (self._cmd_iw, device)) 208 self._host.run('%s dev %s del' % (self._cmd_iw, monitor_device), 210 result = self._host.run('%s phy %s interface add %s type monitor' % 241 self._host.run("%s link set %s up" % (self._cmd_ip, monitor_device)) 242 self._host.run("%s dev %s set freq %s" % (self._cmd_iw, 260 self._host.run('%s dev %s del' % (self._cmd_iw, monitor_device), 262 result = self._host.run('%s dev %s interface add %s type monitor' [all...] |
/external/autotest/scheduler/ |
drones.py | 45 self._host = None 86 if not self._host: 93 result = self._host.run('python %s' % drone_utility_cmd, 153 if not self._host: 162 self._host.run('which lxc-start') 170 self._host.run('sudo -n ls "%s"' % base_container) 193 self._host = local_host.LocalHost() 212 self._host = drone_utility.create_host(hostname) 213 if not self._host.is_up(): 224 self._host.close( [all...] |
/external/autotest/client/cros/netprotos/ |
zeroconf_unittest.py | 22 self._host = fake_host.FakeHost(FAKE_IPADDR) 23 self._zero = zeroconf.ZeroconfDaemon(self._host, FAKE_HOSTNAME) 68 self.assertEqual(self._zero.host, self._host) 78 self.assertEqual(len(self._host._sockets), 1) 79 sock = self._host._sockets[0] 99 self.assertEqual(record.ip, socket.inet_aton(self._host.ip_addr)) 139 sock = self._host._sockets[0]
|
/external/autotest/client/common_lib/cros/tendo/ |
n_faced_peerd_helper.py | 51 self._host = host 69 host=self._host).response 79 host=self._host)
|
/external/autotest/server/site_tests/network_WiFi_ChromeEndToEnd/ |
network_WiFi_ChromeEndToEnd.py | 44 self._host = host 45 client_at = autotest.Autotest(self._host)
|
/external/autotest/client/common_lib/cros/network/ |
iw_event_logger.py | 20 self._host = host 22 self._iw_event_log_path = os.path.join(self._host.get_tmp_dir(), 69 out_lines = self._host.run(command).stdout.splitlines() 84 self._host.run('kill %d' % self._pid, ignore_status=True) 87 self._host.get_file(self._iw_event_log_path, self._local_file) 103 iw_log = self._host.run('cat %s' % self._iw_event_log_path).stdout
|
/external/autotest/client/site_tests/peerd_HandlesNameConflicts/ |
peerd_HandlesNameConflicts.py | 52 self._host = None 58 self._host = interface_host.InterfaceHost( 60 self._zc_listener = zeroconf.ZeroconfDaemon(self._host, 75 self._host, 128 success, duration = self._host.run_until( 154 success, duration = self._host.run_until(run_until_predicate,
|
/external/autotest/client/common_lib/cros/ |
dev_server_unittest.py | 42 @var _HOST: fake dev server host address. 45 _HOST = 'http://nothing' 53 self.dev_server = dev_server.ImageServer(DevServerTest._HOST) 55 DevServerTest._HOST) 66 [DevServerTest._HOST]) 67 dev_server.DevServer.devserver_healthy(DevServerTest._HOST).AndReturn( 71 self.assertEquals(devserver.url(), DevServerTest._HOST) 165 urllib2.urlopen(mox.And(mox.StrContains(self._HOST), 169 urllib2.urlopen(mox.And(mox.StrContains(self._HOST), 185 urllib2.urlopen(mox.And(mox.StrContains(self._HOST), [all...] |
/external/autotest/server/cros/chaos_lib/ |
chaos_runner.py | 40 self._host = host 46 logging.info('DUT time: %s', self._host.run('date').stdout.strip()) 122 utils.sanitize_client(self._host) 126 hosts.create_host(self._host.hostname), 187 kernel_ver = self._host.get_kernel_ver() 188 firmware_ver = utils.get_firmware_ver(self._host) 208 host=self._host,
|
/external/autotest/client/site_tests/peerd_DiscoverServices/ |
peerd_DiscoverServices.py | 54 self._host = None 62 self._host = interface_host.InterfaceHost( 64 self._zc_listener = zeroconf.ZeroconfDaemon(self._host, 78 self._host, 142 success, duration = self._host.run_until(self._has_expected_peer,
|
/external/gmock/test/ |
Android.mk | 43 # libraries, typically the host libs have a _host suffix in their 48 # $(4): "_host" or empty 69 $(call _define-test,$(1),HOST_,-O0,_host,)
|
/external/gtest/test/ |
Android.mk | 42 # libraries, typically the host libs have a _host suffix in their 47 # $(4): "_host" or empty 68 $(call _define-test,$(1),HOST_,-O0,_host,)
|
/external/autotest/server/site_tests/network_WiFi_RoamEndToEnd/ |
network_WiFi_RoamEndToEnd.py | 51 self._host = self.context.client.host 53 client_at = autotest.Autotest(self._host)
|
/external/jetty/src/java/org/eclipse/jetty/http/ |
HttpURI.java | 68 int _host; field in class:HttpURI 144 _host=offset; 216 _host=offset; 268 _host=i; 280 _host=m; 324 _host = m; 378 _host = i; 538 if (_host==_port) 540 return toUtf8String(_host,_port-_host); [all...] |