Home
last modified time | relevance | path

Searched refs:getDataSincePing (Results 1 – 2 of 2) sorted by relevance

/external/grpc-grpc-java/netty/src/main/java/io/grpc/netty/
DAbstractNettyHandler.java156 long bandwidth = (getDataSincePing() * TimeUnit.SECONDS.toNanos(1)) / elapsedTime; in updateWindow()
159 int targetWindow = Math.min(getDataSincePing() * 2, MAX_WINDOW_SIZE); in updateWindow()
190 int currentSize = getDataSincePing(); in incrementDataSincePing()
205 int getDataSincePing() { in getDataSincePing() method in AbstractNettyHandler.FlowControlPinger
/external/grpc-grpc-java/netty/src/test/java/io/grpc/netty/
DNettyHandlerTestBase.java401 assertEquals(length * 3, handler.flowControlPing().getDataSincePing()); in dataSizeSincePingAccumulates()
429 assertEquals(accumulator, handler.flowControlPing().getDataSincePing()); in windowUpdateMatchesTarget()