Home
last modified time | relevance | path

Searched refs:ping_result (Results 1 – 17 of 17) sorted by relevance

/tools/test/connectivity/acts_tests/tests/google/fuchsia/wlan/functional/
DPingStressTest.py72 ping_result = self.dut.can_ping(dest_ip, count, interval, timeout,
74 if ping_result:
86 ping_result = self.dut.can_ping(dest_ip, count=10, size=50)
87 if ping_result:
92 self.ping_threads_result.append(ping_result)
DSoftApTest.py398 ping_result = device.can_ping(dest_ip)
400 if ping_result:
/tools/test/connectivity/acts_tests/tests/google/cellular/
DCellularPingTest.py25 ping_result = self.dut.adb.shell('ping -w 5 ' + host_ip,
27 self.log.info(ping_result)
28 return '0% packet loss' in ping_result
/tools/test/connectivity/acts_tests/tests/google/wifi/
DWifiIFSTwTest.py222 ping_result = self.can_ping(gate)
224 gate, ping_result))
225 if ping_result:
247 ping_result = self.dut.adb.shell("ping -c 1 {}".format(ip_addr))
248 return '0%' in ping_result.split(' ')
DWifiTetheringTest.py280 ping_result = self._verify_ping(dut, ip)
282 (iface_name, ip, ping_result))
283 return_result = return_result and ping_result
353 ping_result = self._verify_ping(self.tethered_devices[0],
356 asserts.assert_true(ping_result, "Ping6 failed on the client")
358 asserts.assert_true(not ping_result, "Ping6 failed as expected")
DWifiPingTest.py591 ping_result = self.run_ping_test(testcase_params)
593 self.process_ping_results(testcase_params, ping_result)
594 self.testclass_results.append(ping_result)
595 self.pass_fail_check(ping_result)
DWifiIOTConnectionTest.py188 ping_result = self.dut.adb.shell('ping -w 5 8.8.8.8')
189 if '0%' in ping_result:
DWifiSensitivityTest.py361 def process_ping_test_results(self, testcase_params, ping_result): argument
373 WifiPingTest.process_ping_results(self, testcase_params, ping_result)
374 ping_result['sensitivity'] = self.testclass_params['ap_tx_power'] + (
376 testcase_params['channel'])] - ping_result['range'])
DWifiManagerTest.py551 ping_result = self.dut.adb.shell('ping -w 5 8.8.8.8')
552 if '0%' in ping_result:
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/net/
Dnet_test_utils.py102 ping_result = None
106 ping_result = ad.adb.shell("ping -c 3 -W 2 %s" % vpn_ping_addr)
109 return ping_result and pkt_loss not in ping_result
144 ping_result = verify_ping_to_vpn_ip(ad, vpn_ping_addr)
152 asserts.assert_true(ping_result,
/tools/test/connectivity/acts/framework/acts/
Dutils.py1646 ping_result = comm_channel.run(ping_cmd, ignore_status=True)
1650 if isinstance(ping_result, job.Error):
1651 ping_result = ping_result.result
1664 'loss.*?time ([0-9]+)', ping_result.stdout)
1672 ping_result.stdout)
1680 'command': ping_result.command,
1681 'exit_status': ping_result.exit_status,
1682 'stdout': ping_result.stdout,
1683 'stderr': ping_result.stderr,
/tools/test/connectivity/acts_tests/tests/google/net/
DDnsOverTlsTest.py208 ping_result = False
212 ping_result = self.dut.droid.httpPing(host)
217 if ping_result:
223 return ping_result
595 ping_result = self._test_invalid_private_dns(
599 asserts.assert_false(ping_result, "Ping success with invalid DNS.")
DDNSTest.py137 ping_result = self.ping(test_qname)
148 if not ping_result:
151 asserts.assert_true(ping_result, "Device ping fail.")
/tools/test/connectivity/acts/framework/acts/controllers/
Dfuchsia_device.py883 ping_result = self.send_command_ssh(
886 if isinstance(ping_result, job.Error):
887 ping_result = ping_result.result
889 if ping_result.stderr:
893 rtt_line = ping_result.stdout.split('\n')[:-1]
904 'stdout': ping_result.stdout,
905 'stderr': ping_result.stderr
916 ping_result = self.ping(dest_ip,
922 return ping_result['status']
/tools/test/connectivity/acts_tests/tests/google/fuchsia/netstack/
DToggleWlanInterfaceStressTest.py81 ping_result = self.dut.ping("8.8.8.8", 10, 1000, 1000,
83 print(ping_result)
/tools/test/connectivity/acts_tests/tests/google/fuchsia/dhcp/
DDhcpv4InteropTest.py142 ping_result = self.dut.can_ping(dest_ip, count=2)
143 if ping_result:
147 return ping_result
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/wifi/aware/
Daware_test_utils.py485 ping_result = dut.adb.shell(cmd, timeout=duration + 1)
486 res = re.match(".*mdev = (\S+) .*", ping_result, re.S)