/external/autotest/server/site_tests/brillo_PingTest/ |
brillo_PingTest.py | 23 """Ping an Internet host.""" 35 @param ping_host: The Internet host to ping. 51 def ping(): function in function:brillo_PingTest.run_once 52 cmd = 'ping -q -c %s -W %s %s' % (ping_count, ping_timeout, 57 ping() 60 'Failed to ping %s in %d seconds on all %d attempts' %
|
/external/webrtc/webrtc/base/ |
win32_unittest.cc | 40 WinPing ping; local 41 ASSERT_TRUE(ping.IsValid()); 43 // Test valid ping cases. 44 WinPing::PingResult result = ping.Ping(IPAddress(INADDR_LOOPBACK), 20, 50, 1, 48 WinPing::PingResult v6result = ping.Ping(IPAddress(in6addr_loopback), 20, 54 ASSERT_EQ(WinPing::PING_INVALID_PARAMS, ping.Ping( 56 ASSERT_EQ(WinPing::PING_INVALID_PARAMS, ping.Ping [all...] |
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/framed/ |
Http2ConnectionTest.java | 62 peer.sendFrame().ping(false, 2, 3); 63 peer.acceptFrame(); // PING 70 MockSpdyPeer.InFrame ping = peer.takeFrame(); local 71 assertEquals(TYPE_PING, ping.type); 72 assertEquals(0, ping.streamId); 73 assertEquals(2, ping.payload1); 74 assertEquals(3, ping.payload2); 75 assertTrue(ping.ack); 82 peer.acceptFrame(); // PING 83 peer.sendFrame().ping(true, 1, 5) 88 Ping ping = connection.ping(); local [all...] |
Spdy3ConnectionTest.java | 102 peer.acceptFrame(); // PING 103 peer.sendFrame().ping(true, 1, 0); 110 connection.ping().roundTripTime(); // Ensure that inFinished has been received. 117 peer.acceptFrame(); // PING 119 peer.sendFrame().ping(true, 1, 0); 126 connection.ping().roundTripTime(); // Ensure that the SYN_REPLY has been received. 133 MockSpdyPeer.InFrame ping = peer.takeFrame(); local 134 assertEquals(TYPE_PING, ping.type); 204 peer.sendFrame().ping(false, 2, 0); 205 peer.acceptFrame(); // PING 212 MockSpdyPeer.InFrame ping = peer.takeFrame(); local 227 Ping ping = connection.ping(); local [all...] |
BaseTestHandler.java | 49 @Override public void ping(boolean ack, int payload1, int payload2) { method in class:BaseTestHandler
|
/external/autotest/site_utils/ |
mysql_bootstrap.py | 109 def ping(cls, db_server, user=DEFAULT_USER, password=DEFAULT_PASS, member in class:MySQLCommandExecutor 111 """Ping the given db server as 'user' using 'password'. 114 @param user: The user to use in the ping. 121 @raises MySQLCommandError: If the ping command fails. 129 ping = cls.mysql_cmd( 132 cls.execute(ssh_dest_server, ping) 146 @raises MySQLCommandError: If we can't ping the db server using the default 148 we can't ping it with the new credentials after bootstrapping. 162 MySQLCommandExecutor.ping(dest_host, use_ssh=True) 178 # Confirm the new user can ping the remote database server from localhost [all...] |
/external/webrtc/webrtc/tools/rtcbot/bot/browser/ |
bot.js | 12 function ping(callback) { function 135 ping: ping,
|
/external/nist-sip/java/gov/nist/core/ |
ThreadAuditor.java | 9 * - Threads register with the auditor at startup and "ping" the auditor every so often. 11 * auditor reports if the threads are healthy or if any of them failed to ping and are 15 * the thread can periodically ping the auditor. 27 /// How often are threads supposed to ping 48 /// Called by the auditor thread to check the ping status of the thread 53 /// Called by the auditor thread to reset the ping status of the thread 63 // Helper function to allow threads to ping using this handle 64 public void ping() { method in class:ThreadAuditor.ThreadHandle 65 threadAuditor.ping(this); 68 // Helper function to allow threads to get the ping interval directly from this handl 118 public synchronized void ping(ThreadHandle threadHandle) { method in class:ThreadAuditor [all...] |
/external/autotest/client/common_lib/cros/network/ |
ping_runner.py | 54 """Implement ping functionality for MacOS hosts.""" 59 @param ping_config PingConfig object describing the ping test for which 61 @return list of parameters to ping. 81 # The last argument is the IP address to ping. 88 """Extract the ping results from stdout. 90 @param ping_output string stdout from a ping command. 92 PING 8.8.8.8 (8.8.8.8): 56 data bytes 97 --- 8.8.8.8 ping statistics --- 127 """Implement ping functionality specific to the linux platform.""" 131 @param ping_config PingConfig object describing the ping test for whic 313 def ping(self, ping_config): member in class:PingRunner [all...] |
/external/autotest/client/tests/netperf2/ |
netperf2.py | 80 self.ping(client_ip, timeout) 83 self.ping(server_ip, timeout) 327 def ping(self, ip, timeout): member in class:netperf2 331 if not os.system('ping -c 1 ' + ip): 332 # Ping succeeded 334 # Ping failed. Lets sleep a bit and try again.
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/framed/ |
FrameReader.java | 54 * Read a connection-level ping from the peer. {@code ack} indicates this 64 void ping(boolean ack, int payload1, int payload2); method in interface:FrameReader.Handler
|
FrameWriter.java | 75 * Send a connection-level ping to the peer. {@code ack} indicates this is 85 void ping(boolean ack, int payload1, int payload2) throws IOException; method in interface:FrameWriter
|
FramedConnection.java | 95 private Map<Integer, Ping> pings; 375 * Sends a ping frame to the peer. Use the returned object to await the 376 * ping's response and observe its round trip time. 378 public Ping ping() throws IOException { method in class:FramedConnection 379 Ping ping = new Ping(); local 388 pings.put(pingId, ping); 390 writePing(false, pingId, 0x4f4b6f6b /* ASCII "OKok" */, ping); 763 @Override public void ping(boolean reply, int payload1, int payload2) { method in class:FramedConnection.Reader 765 Ping ping = removePing(payload1); local [all...] |
Http2.java | 67 static final byte FLAG_ACK = 0x1; // Used for settings and ping. 329 handler.ping(ack, payload1, payload2); 516 @Override public synchronized void ping(boolean ack, int payload1, int payload2) method in class:Http2.Writer 712 "PING",
|
/sdk/eclipse/plugins/com.android.ide.eclipse.monitor/src/com/android/ide/eclipse/monitor/ |
MonitorStartup.java | 37 Job pingJob = new Job("Android SDK Ping") { 47 ping(stats, toolsPath); 55 private static void ping(SdkStatsService stats, String toolsLocation) { method in class:MonitorStartup 79 stats.ping("ddms", revision); //$NON-NLS-1$ 82 // couldn't find the file? don't ping. 84 // couldn't find the file? don't ping.
|
/external/chromium-trace/catapult/telemetry/third_party/websocket-client/websocket/ |
_core.py | 267 def ping(self, payload=""): member in class:WebSocket 269 send ping data. 344 "Ping message is too long")
|
/frameworks/base/media/tests/players/ |
invoke_mock_media_player.cpp | 48 const char *kPing = "ping"; 53 enum TestType {TEST_UNKNOWN, PING}; 67 mTest = PING; 98 void ping(const Parcel& request, Parcel *reply); 107 case PING: 108 ping(request, reply); 115 void Player::ping(const Parcel& request, Parcel *reply) function in class:__anon39048::Player
|
/cts/tests/tests/media/src/android/media/cts/ |
MediaRandomTest.java | 104 * w.ping(); 106 * w.ping(); 149 public synchronized void ping() { method in class:MediaRandomTest.Watchdog 204 watchdog.ping(); 293 watchdog.ping();
|
/external/conscrypt/platform/src/main/java/org/conscrypt/ |
Platform.java | 66 NoPreloadHolder.MAPPER.ping(); 72 private void ping() { method in class:Platform
|
/external/autotest/client/common_lib/ |
site_utils.py | 80 def ping(host, deadline=None, tries=None, timeout=60): function 81 """Attempt to ping |host|. 83 Shell out to 'ping' if host is an IPv4 addres or 'ping6' if host is an 85 Returns exit code of ping. 87 Per 'man ping', if you specify BOTH |deadline| and |tries|, ping only 96 @param host: the host to ping. 99 @param timeout: number of seconds after which to kill 'ping' command. 100 @return exit code of ping command. 103 ping_cmd = 'ping6' if re.search(r':.*:', host) else 'ping' [all...] |
/external/autotest/server/ |
site_linux_system.py | 718 def ping(self, ping_config): member in class:LinuxSystem 719 """Ping an IP from this system. 721 @param ping_config PingConfig object describing the ping command to run. 726 return self._ping_runner.ping(ping_config)
|
/external/nist-sip/java/gov/nist/javax/sip/ |
EventScanner.java | 482 threadHandle.ping();
|
/external/nist-sip/java/gov/nist/javax/sip/stack/ |
UDPMessageProcessor.java | 186 threadHandle.ping(); 247 // This socket timeout alows us to ping the thread auditor periodically
|
/prebuilts/go/darwin-x86/src/cmd/go/ |
vcs.go | 395 // ping pings to determine scheme to use. 396 func (v *vcsCmd) ping(scheme, repo string) error { func 483 ping bool // ping for scheme to use to download repo 631 if srv.ping { 639 if vcs.ping(scheme, match["repo"]) == nil { 903 ping: true, 965 if vcsByCmd(vcs).ping("https", root) == nil {
|
/prebuilts/go/linux-x86/src/cmd/go/ |
vcs.go | 395 // ping pings to determine scheme to use. 396 func (v *vcsCmd) ping(scheme, repo string) error { func 483 ping bool // ping for scheme to use to download repo 631 if srv.ping { 639 if vcs.ping(scheme, match["repo"]) == nil { 903 ping: true, 965 if vcsByCmd(vcs).ping("https", root) == nil {
|