Home
last modified time | relevance | path

Searched refs:MAX_PING_STRIKES (Results 1 – 4 of 4) sorted by relevance

/external/grpc-grpc-java/netty/src/test/java/io/grpc/netty/
DKeepAliveEnforcerTest.java29 private static final int LARGE_NUMBER = KeepAliveEnforcer.MAX_PING_STRIKES * 5;
67 for (int i = 0; i < KeepAliveEnforcer.MAX_PING_STRIKES; i++) { in strikeOutBecauseNoOutstandingCalls()
76 for (int i = 0; i < KeepAliveEnforcer.MAX_PING_STRIKES; i++) { in startsIdle()
86 for (int i = 0; i < KeepAliveEnforcer.MAX_PING_STRIKES; i++) { in strikeOutBecauseRateTooHighWhileActive()
96 for (int i = 0; i < KeepAliveEnforcer.MAX_PING_STRIKES; i++) { in strikeOutBecauseRateTooHighWhileIdle()
160 for (int i = 0; i < KeepAliveEnforcer.MAX_PING_STRIKES; i++) { in permitsWhenTimeOverflows()
172 for (int i = 0; i < KeepAliveEnforcer.MAX_PING_STRIKES; i++) { in resetCounters_resetsStrikes()
177 for (int i = 0; i < KeepAliveEnforcer.MAX_PING_STRIKES; i++) { in resetCounters_resetsStrikes()
192 for (int i = 0; i < KeepAliveEnforcer.MAX_PING_STRIKES; i++) { in resetCounters_resetsPingTime()
DNettyServerHandlerTest.java611 for (int i = 0; i < KeepAliveEnforcer.MAX_PING_STRIKES + 1; i++) { in keepAliveEnforcer_enforcesPings()
647 for (int i = 0; i < KeepAliveEnforcer.MAX_PING_STRIKES + 1; i++) { in keepAliveEnforcer_initialIdle()
677 for (int i = 0; i < KeepAliveEnforcer.MAX_PING_STRIKES + 1; i++) { in keepAliveEnforcer_noticesInactive()
/external/grpc-grpc/test/core/end2end/tests/
Dbad_ping.cc31 #define MAX_PING_STRIKES 2 macro
87 server_a[1].value.integer = MAX_PING_STRIKES; in test_bad_ping()
162 for (i = 1; i <= MAX_PING_STRIKES + 2; i++) { in test_bad_ping()
165 if (i == MAX_PING_STRIKES + 2) { in test_bad_ping()
235 client_a[1].value.integer = MAX_PING_STRIKES; in test_pings_without_data()
246 server_a[1].value.integer = MAX_PING_STRIKES; in test_pings_without_data()
319 for (i = 1; i <= MAX_PING_STRIKES + 2; i++) { in test_pings_without_data()
321 if (i <= MAX_PING_STRIKES) { in test_pings_without_data()
360 CQ_EXPECT_COMPLETION(cqv, tag(200 + MAX_PING_STRIKES + 1), 0); in test_pings_without_data()
361 CQ_EXPECT_COMPLETION(cqv, tag(200 + MAX_PING_STRIKES + 2), 0); in test_pings_without_data()
/external/grpc-grpc-java/netty/src/main/java/io/grpc/netty/
DKeepAliveEnforcer.java27 static final int MAX_PING_STRIKES = 2; field in KeepAliveEnforcer
67 return !(pingStrikes > MAX_PING_STRIKES); in pingAcceptable()