HomeSort by relevance Sort by last modified time
    Searched refs:Ping (Results 1 - 25 of 33) sorted by null

1 2

  /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...]
winping.h 76 // Attempts to send a ping with the given parameters.
79 PingResult Ping(IPAddress ip,
winping.cc 131 // A ping error message is 8 bytes long, so make sure we allow for at least
211 WinPing::PingResult WinPing::Ping(IPAddress ip,
win32socketserver.cc 522 WinPing ping; local
523 if (!ping.IsValid()) {
530 WinPing::PingResult result = ping.Ping(addr.ipaddr(), size,
  /external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/framed/
Ping.java 22 * A locally-originated ping.
24 public final class Ping {
29 Ping() {
50 * Returns the round trip time for this ping in nanoseconds, waiting for the
60 * Returns the round trip time for this ping in nanoseconds, or -1 if the
FramedConnection.java 94 private Map<Integer, Ping> pings;
371 * Sends a ping frame to the peer. Use the returned object to await the
372 * ping's response and observe its round trip time.
374 public Ping ping() throws IOException { method in class:FramedConnection
375 Ping ping = new Ping(); local
384 pings.put(pingId, ping);
386 writePing(false, pingId, 0x4f4b6f6b /* ASCII "OKok" */, ping);
731 @Override public void ping(boolean reply, int payload1, int payload2) { method in class:FramedConnection.Reader
733 Ping ping = removePing(payload1); local
    [all...]
  /external/ImageMagick/PerlMagick/t/
ping.t 30 print "Ping \"$filename\" ...\n";
32 ($width, $height, $size, $format)=$image->Ping("$filename");
44 print("Ping blob ...\n");
51 ($width, $height, $size, $format)=$image->Ping(blob=>@blob);
  /external/autotest/client/site_tests/webservd_BasicDBusAPI/
webservd_BasicDBusAPI.py 27 ping_response = manager_proxy.Ping()
30 'Expected Manager.Ping to return %s but got %s instead.' %
  /external/okhttp/okhttp-ws-tests/src/test/java/com/squareup/okhttp/ws/
WebSocketRecorder.java 63 events.add(new Ping(buffer));
103 assertEquals(new Ping(payload), nextEvent());
152 private static class Ping {
155 private Ping(Buffer buffer) {
160 return "Ping[" + buffer + "]";
168 if (obj instanceof Ping) {
169 Ping other = (Ping) obj;
  /system/webservd/webservd/
server.h 54 std::string Ping() override;
server.cc 134 std::string Server::Ping() {
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/
certreqd.h 56 virtual HRESULT WINAPI Ping(const wchar_t *pwszAuthority) = 0;
66 HRESULT (WINAPI *Ping)(ICertRequestD *This,const wchar_t *pwszAuthority);
78 #define ICertRequestD_Ping(This,pwszAuthority) (This)->lpVtbl->Ping(This,pwszAuthority)
108 HRESULT (WINAPI *Ping)(ICertRequestD2 *This,const wchar_t *pwszAuthority);
124 #define ICertRequestD2_Ping(This,pwszAuthority) (This)->lpVtbl->Ping(This,pwszAuthority)
  /external/webrtc/webrtc/p2p/base/
turnport_unittest.cc 402 // Send ping from UDP to TURN.
406 conn1->Ping(0);
412 // Send ping from TURN to UDP.
417 conn2->Ping(0);
424 // Send another ping from UDP to TURN.
425 conn1->Ping(0);
441 conn1->Ping(0);
446 // there. So the turn port gets ping from unknown address if it is pinged.
448 conn1->Ping(0);
452 // Now the turn port cannot receive the ping
    [all...]
port_unittest.cc 265 void Ping() {
266 Ping(0);
268 void Ping(uint32_t now) { conn_->Ping(now); }
577 ch1->Ping();
580 // Send a ping from dst to src.
582 ch2->Ping();
674 // Ping should trigger reconnect.
675 ch1.Ping();
799 // Send a ping from src to dst. This may or may not make it
    [all...]
port.h 73 // This is the length of time that we wait for a ping response to come back.
438 STATE_WRITABLE = 0, // we have received ping responses recently
439 STATE_WRITE_UNRELIABLE = 1, // we have had a few ping failures
440 STATE_WRITE_INIT = 2, // we have yet to receive a ping response
441 STATE_WRITE_TIMEOUT = 3, // we have had a large number of ping failures
529 void Ping(uint32_t now);
535 // Called whenever a valid ping is received on this connection. This is
536 // public because the connection intercepts the first ping for us.
620 uint32_t last_ping_sent_; // last time we sent a ping to the other side
621 uint32_t last_ping_received_; // last time we received a ping from the othe
    [all...]
p2ptransportchannel.cc 381 LOG(LS_INFO) << "Set backup connection ping interval to "
633 SignalRoleConflict(this); // STUN ping will be sent when SetRole is called
    [all...]
  /external/autotest/client/cros/tendo/n_faced_peerd/
manager.py 211 def Ping(self):
212 """Implementation of org.chromium.peerd.Manager.Ping()."""
  /external/nanohttpd/websocket/src/main/java/fi/iki/elonen/
NanoWSD.java 220 } else if (frame.getOpCode() == OpCode.Ping) {
237 public void ping(byte[] payload) throws IOException { method in class:NanoWSD.WebSocket
238 sendFrame(new WebSocketFrame(OpCode.Ping, true, payload));
389 Ping(9),
412 return this == Close || this == Ping || this == Pong;
    [all...]
  /external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/framed/
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);
201 peer.sendFrame().ping(false, 2, 0);
202 peer.acceptFrame(); // PING
209 MockSpdyPeer.InFrame ping = peer.takeFrame(); local
224 Ping ping = connection.ping(); local
    [all...]
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...]
  /external/ImageMagick/www/api/
constitute.php 123 <dd>Ping the image defined by the file or filename members of this structure. </dd>
  /external/webrtc/webrtc/examples/androidapp/third_party/autobanh/
autobanh.jar 
  /prebuilts/go/darwin-x86/src/runtime/
proc_test.go 367 // Ping-pong b.N times
368 ping, pong := make(chan bool), make(chan bool)
371 pong <- <-ping
378 ping <- <-pong
383 ping <- true // Start ping-pong
386 <-ping // Let last ponger exit
  /prebuilts/go/linux-x86/src/runtime/
proc_test.go 367 // Ping-pong b.N times
368 ping, pong := make(chan bool), make(chan bool)
371 pong <- <-ping
378 ping <- <-pong
383 ping <- true // Start ping-pong
386 <-ping // Let last ponger exit
  /prebuilts/go/darwin-x86/src/database/sql/
sql.go 462 // Ping.
485 // Ping verifies a connection to the database is still alive,
487 func (db *DB) Ping() error {
    [all...]

Completed in 716 milliseconds

1 2