Home
last modified time | relevance | path

Searched refs:host (Results 1 – 25 of 143) sorted by relevance

123456

/tools/asuite/atest/unittest_data/
Dtest_record.proto.testonly79 …nstall path: /usr/local/google/home/yelinhsieh/yl_workspace/aosp/out/soong/host/linux-x86/bin/adb
86host/linux-x86/tradefed/tradefed-test-framework.jar:/usr/local/google/home/yelinhsieh/yl_workspace…
/tools/test/connectivity/acts_tests/tests/google/net/
DDnsOverTlsTest.py102 for host in self.ping_hosts:
103 host = host.split('.')[-2]
105 host in summary:
147 for host in self.ping_hosts:
148 self.log.info("Pinging %s" % host)
149 status = wutils.validate_connection(self.dut, host)
150 asserts.assert_true(status, "Failed to ping host %s" % host)
469 for host in self.ping_hosts:
470 wutils.validate_connection(self.dut, host)
480 for host in self.ping_hosts:
[all …]
DSocketKeepaliveTest.py120 host = self.remote_server
122 host = self.remote_server_2
124 self.dut, self.gce_tcpdump_pid, None, host)
445 host = self.remote_server_2
446 host_ip = host["ip_addr"]
448 self.dut, self.test_name, TCP_SERVER_PORT, host)
494 self.dut, tcpdump_pid, pcap_path, host)
DProxyTest.py76 for host in [self.bypass_host, self.non_bypass_host]:
77 host = "https://%s" % host
78 result = ad.droid.httpRequestString(host)
79 asserts.assert_true(result, "Http request failed for %s" % host)
/tools/test/connectivity/acts/framework/acts/controllers/
Dpdu.py47 host = config.get('host')
52 pdu = _create_device(device, host, username, password)
81 'host': pdu.host,
88 def _create_device(device, host, username, password): argument
94 return module.PduDevice(host, username, password)
149 if pdu.host == pdu_ip:
163 def __init__(self, host, username, password): argument
167 self.host = host
/tools/tradefederation/core/src/com/android/tradefed/device/
DRemoteAndroidDevice.java186 public boolean adbTcpConnect(String host, String port) { in adbTcpConnect() argument
188 CommandResult result = adbConnect(host, port); in adbTcpConnect()
197 if(confirmAdbTcpConnect(host, port)) { in adbTcpConnect()
212 private boolean confirmAdbTcpConnect(String host, String port) { in confirmAdbTcpConnect() argument
213 CommandResult resultConfirmation = adbConnect(host, port); in confirmAdbTcpConnect()
234 public boolean adbTcpDisconnect(String host, String port) { in adbTcpDisconnect() argument
237 String.format("%s:%s", host, port)); in adbTcpDisconnect()
286 private CommandResult adbConnect(String host, String port) { in adbConnect() argument
297 String.format("%s:%s", host, port)); in adbConnect()
/tools/test/connectivity/acts/framework/acts/controllers/pdu_lib/synaccess/
Dnp02b.py29 def __init__(self, host, username, password): argument
30 super(PduDevice, self).__init__(host, username, password)
31 self.tnhelper = _TNHelperNP02B(host)
132 def __init__(self, host): argument
134 self.host = host
150 self._tn.open(self.host, timeout=3)
153 self.host)
/tools/test/connectivity/acts/framework/acts/test_utils/wifi/
Drpm_controller_utils.py47 def __init__(self, host): argument
52 self.host = host
53 logging.info('RPM IP: %s' % self.host)
55 self.tn = telnetlib.Telnet(self.host)
56 self.tn.open(self.host, PORT, TIMEOUT)
61 % self.host)
/tools/acloud/internal/proto/
Duser_config.proto63 // [CVD only] The name of the stable host image released by Cloud Android team
65 // [CVD only] The name of the host image family released by Cloud Android team
67 // [CVD only] The project that the stable host image is released to
70 // [GOLDFISH only] The name of the stable host image released by Android
73 // [GOLDFISH only] The project that the stable goldfish host image is
85 // [CHEEPS only] The name of the stable host image released by the ARC
88 // [CHEEPS only] The project that the stable host image is released to
Dinternal_config.proto29 // [CVD only] The name of the stable host image
31 // [CVD only] The project where stable host image is
33 // [GOLDFISH only] The name of the stable host image
35 // [GOLDFISH only] The project where stable host image is
37 // [CHEEPS only] The name of the stable host image
39 // [CHEEPS only] The project where stable host image is
/tools/asuite/atest/
DTEST_MAPPING8 "host": true
13 "host": true
18 "host": true
23 "host": true
28 "host": true
33 "host": true
Datest_unittest.py242 self.assertFalse(parsed_args.host)
249 self.assertFalse(parsed_args.host)
255 self.assertFalse(parsed_args.host)
262 self.assertFalse(parsed_args.host)
274 self.assertFalse(parsed_args.host)
280 self.assertFalse(parsed_args.host)
Datest.py244 if (host_tests or args.host) and constants.DEVICE_TEST in all_device_modes:
260 if not args.host and host_tests is None:
261 args.host = bool(constants.DEVICELESS_TEST in all_device_modes)
280 if device_test_infos and not args.host:
464 host_test_infos = {info for info in test_infos if info.host}
465 device_test_infos = {info for info in test_infos if not info.host}
/tools/tradefederation/core/atest/
DTEST_MAPPING10 "host": true
34 "host": true
39 "host": true
44 "host": true
49 "host": true
54 "host": true
Datest_unittest.py242 self.assertFalse(parsed_args.host)
249 self.assertFalse(parsed_args.host)
255 self.assertFalse(parsed_args.host)
262 self.assertFalse(parsed_args.host)
274 self.assertFalse(parsed_args.host)
280 self.assertFalse(parsed_args.host)
Datest.py243 if (host_tests or args.host) and constants.DEVICE_TEST in all_device_modes:
259 if not args.host and host_tests is None:
260 args.host = bool(constants.DEVICELESS_TEST in all_device_modes)
279 if device_test_infos and not args.host:
456 host_test_infos = set([info for info in test_infos if info.host])
457 device_test_infos = set([info for info in test_infos if not info.host])
/tools/test/connectivity/acts/framework/acts/controllers/pdu_lib/digital_loggers/
Dwebpowerswitch.py35 def __init__(self, host, username, password): argument
40 super(PduDevice, self).__init__(host, username, password)
41 self.power_switch = dlipower.PowerSwitch(hostname=host,
51 self.log.info('Connected to WebPowerSwitch (%s).' % host)
134 (outlet, self.host, expected_state, actual_state))
/tools/test/connectivity/acts_tests/tests/google/tel/live/
DTelLiveVoiceConfTest.py510 def _test_1x_multi_call_drop_from_participant(self, host, first_drop_ad, argument
533 calls = host.droid.telecomCallGetCallIds()
534 host.log.info("Calls list: %s", calls)
535 if num_active_calls(self.log, host) != 3:
537 if not verify_incall_state(self.log, [host, second_drop_ad], True):
547 self.log, [host, second_drop_ad, first_drop_ad], False):
551 def _test_1x_multi_call_drop_from_host(self, host, active_participant_ad, argument
571 if not self._hangup_call(host, "Host"):
573 if not wait_and_answer_call(self.log, host,
579 if not verify_incall_state(self.log, [host, held_participant_ad],
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/device/metric/
DBaseDeviceMetricCollectorTest.java434 HostTest host = new HostTest(); in testActualRunAnnotated_include() local
435 OptionSetter setterHost = new OptionSetter(host); in testActualRunAnnotated_include()
439 host.run(mTestInfo, mBase); in testActualRunAnnotated_include()
487 HostTest host = new HostTest(); in testActualRunAnnotated_exclude() local
488 OptionSetter setterHost = new OptionSetter(host); in testActualRunAnnotated_exclude()
492 host.run(mTestInfo, mBase); in testActualRunAnnotated_exclude()
/tools/test/connectivity/acts/framework/acts/controllers/ap_lib/
Ddhcp_config.py87 for host in self.network.hosts():
88 if host < self.start or host > self.end:
89 self.router = host
/tools/test/connectivity/acts/framework/acts/controllers/attenuator_lib/
D_tnhelper.py49 def open(self, host, port=23): argument
50 self._ip_address = host
54 logging.debug("Telnet Server IP = %s" % host)
56 self._tn.open(host, port, 10)
/tools/test/connectivity/acts/tests/google/wifi/
DWifiChaosTest.py70 for host in hosts:
73 info = dutils.show_device(host)
141 host = device['ip_address']
152 pcap_config['ssh_config']['host'] = host
/tools/tradefederation/core/tests/src/com/android/tradefed/device/
DLocalAndroidVirtualDeviceTest.java70 public boolean adbTcpConnect(String host, String port) { in adbTcpConnect() argument
72 Assert.assertEquals(IP_ADDRESS, host); in adbTcpConnect()
78 public boolean adbTcpDisconnect(String host, String port) { in adbTcpDisconnect() argument
79 Assert.assertEquals(IP_ADDRESS, host); in adbTcpDisconnect()
/tools/tradefederation/core/global_configuration/com/android/tradefed/config/
DGlobalConfiguration.java29 import com.android.tradefed.host.HostOptions;
30 import com.android.tradefed.host.IHostOptions;
31 import com.android.tradefed.host.IHostResourceManager;
32 import com.android.tradefed.host.LocalHostResourceManager;
/tools/dexter/
DREADME.md3 Both the command line tool and the library can be built for host and device targets.
12 # in tools/dexter (and assuming a Linux host)
13 $ python dexter/dexter_tests.py -cmd ../../out/host/linux-x86/bin/dexter -root testdata

123456