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.java109 connection.ping().roundTripTime(); // Ensure that inFinished has been received. in headersOnlyStreamIsClosedAfterReplyHeaders()
127 connection.ping().roundTripTime(); // Ensure that the SYN_REPLY has been received. in clientCreatesStreamAndServerRepliesWithFin()
237 assertTrue(ping.roundTripTime() > 0); in clientPingsServer()
238 assertTrue(ping.roundTripTime() < TimeUnit.SECONDS.toNanos(1)); in clientPingsServer()
436 connection.ping().roundTripTime(); // Ensure that the SYN_REPLY has been received.
471 connection.ping().roundTripTime(); // Ensure that the RST_CANCEL has been received.
607 connection.ping().roundTripTime(); // Ensure that inFinished has been received.
634 connection.ping().roundTripTime(); // Ensure that the 2nd SYN REPLY has been received.
791 … connection.ping().roundTripTime(); // Ensure the GO_AWAY that resets stream2 has been received.
844 ping.roundTripTime(); // Prevent the peer from exiting prematurely.
[all …]
DHttp2ConnectionTest.java87 assertTrue(ping.roundTripTime() > 0); in clientPingsServerHttp2()
88 assertTrue(ping.roundTripTime() < TimeUnit.SECONDS.toNanos(1)); in clientPingsServerHttp2()
194 … connection.ping().roundTripTime(); // Ensure the GO_AWAY that resets stream2 has been received.
502 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()