Home
last modified time | relevance | path

Searched refs:roundTripTime (Results 1 – 6 of 6) sorted by relevance

/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/internal/framed/
DPing.java56 public long roundTripTime() throws InterruptedException { in roundTripTime() method in Ping
66 public long roundTripTime(long timeout, TimeUnit unit) throws InterruptedException { in roundTripTime() method in Ping
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/framed/
DPing.java54 public long roundTripTime() throws InterruptedException { in roundTripTime() method in Ping
64 public long roundTripTime(long timeout, TimeUnit unit) throws InterruptedException { in roundTripTime() method in Ping
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/framed/
DSpdy3ConnectionTest.java110 connection.ping().roundTripTime(); // Ensure that inFinished has been received. in headersOnlyStreamIsClosedAfterReplyHeaders()
126 connection.ping().roundTripTime(); // Ensure that the SYN_REPLY has been received. in clientCreatesStreamAndServerRepliesWithFin()
228 assertTrue(ping.roundTripTime() > 0); in clientPingsServer()
229 assertTrue(ping.roundTripTime() < TimeUnit.SECONDS.toNanos(1)); in clientPingsServer()
413 connection.ping().roundTripTime(); // Ensure that the SYN_REPLY has been received.
446 connection.ping().roundTripTime(); // Ensure that the RST_CANCEL has been received.
576 connection.ping().roundTripTime(); // Ensure that inFinished has been received.
601 connection.ping().roundTripTime(); // Ensure that the 2nd SYN REPLY has been received.
748 connection.ping().roundTripTime(); // Ensure the GO_AWAY that resets stream2 has been received.
799 ping.roundTripTime(); // Prevent the peer from exiting prematurely.
[all …]
DHttp2ConnectionTest.java89 assertTrue(ping.roundTripTime() > 0); in clientPingsServerHttp2()
90 assertTrue(ping.roundTripTime() < TimeUnit.SECONDS.toNanos(1)); in clientPingsServerHttp2()
192 connection.ping().roundTripTime(); // Ensure the GO_AWAY that resets stream2 has been received.
482 connection.ping().roundTripTime(); // Ensure that settings have been applied before returning.
/external/grpc-grpc-java/netty/src/test/java/io/grpc/netty/
DNettyClientHandlerTest.java585 assertEquals(10101, callback1.roundTripTime); in ping()
589 assertEquals(10101, callback2.roundTripTime); in ping()
741 long roundTripTime; field in NettyClientHandlerTest.PingCallbackImpl
747 this.roundTripTime = roundTripTimeNanos; in onSuccess()
/external/grpc-grpc-java/okhttp/src/test/java/io/grpc/okhttp/
DOkHttpClientTransportTest.java1351 assertEquals(10101, callback1.roundTripTime); in ping()
1355 assertEquals(10101, callback2.roundTripTime); in ping()
2031 long roundTripTime; field in OkHttpClientTransportTest.PingCallbackImpl
2037 this.roundTripTime = roundTripTimeNanos; in onSuccess()