/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/ |
D | Http2Ping.java | 20 import io.grpc.internal.ClientTransport.PingCallback; 53 @GuardedBy("this") private Map<PingCallback, Executor> callbacks 54 = new LinkedHashMap<PingCallback, Executor>(); 93 public void addCallback(final ClientTransport.PingCallback callback, Executor executor) { in addCallback() 124 Map<ClientTransport.PingCallback, Executor> callbacks; in complete() 135 for (Map.Entry<ClientTransport.PingCallback, Executor> entry : callbacks.entrySet()) { in complete() 148 Map<ClientTransport.PingCallback, Executor> callbacks; in failed() 158 for (Map.Entry<ClientTransport.PingCallback, Executor> entry : callbacks.entrySet()) { in failed() 170 public static void notifyFailed(PingCallback callback, Executor executor, Throwable cause) { in notifyFailed() 190 private static Runnable asRunnable(final ClientTransport.PingCallback callback, in asRunnable() [all …]
|
D | ClientTransport.java | 65 void ping(PingCallback callback, Executor executor); in ping() 71 interface PingCallback { interface
|
D | ForwardingConnectionClientTransport.java | 53 public void ping(PingCallback callback, Executor executor) { in ping()
|
D | FailingClientTransport.java | 53 public void ping(final PingCallback callback, Executor executor) { in ping()
|
D | KeepAliveManager.java | 268 transport.ping(new ClientTransport.PingCallback() { in ping()
|
D | DelayedClientTransport.java | 189 public final void ping(final PingCallback callback, Executor executor) { in ping()
|
D | GrpcUtil.java | 687 public void ping(PingCallback callback, Executor executor) { in getTransportFromPickResult()
|
/external/grpc-grpc-java/netty/src/main/java/io/grpc/netty/ |
D | SendPingCommand.java | 19 import io.grpc.internal.ClientTransport.PingCallback; 26 private final PingCallback callback; 29 SendPingCommand(PingCallback callback, Executor executor) { in SendPingCommand() 34 PingCallback callback() { in callback()
|
D | NettyClientHandler.java | 32 import io.grpc.internal.ClientTransport.PingCallback; 591 PingCallback callback = msg.callback(); in sendPingFrame()
|
D | NettyClientTransport.java | 127 public void ping(final PingCallback callback, final Executor executor) { in ping()
|
/external/libchrome/ipc/ |
D | ipc_perftest_util.h | 107 void Ping(const std::string& value, PingCallback callback) override; 109 void SyncPing(const std::string& value, PingCallback callback) override;
|
D | ipc_perftest_util.cc | 132 void ReflectorImpl::Ping(const std::string& value, PingCallback callback) { in Ping() 136 void ReflectorImpl::SyncPing(const std::string& value, PingCallback callback) { in SyncPing()
|
D | ipc_mojo_perftest.cc | 403 void Ping(PingCallback callback) override { std::move(callback).Run(); } in Ping()
|
/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/ |
D | KeepAliveManagerTest.java | 125 verify(transport, times(0)).ping(isA(ClientTransport.PingCallback.class), in keepAlivePingDelayedByIncomingData() 152 ArgumentCaptor<ClientTransport.PingCallback> pingCallbackCaptor = in clientKeepAlivePinger_pingFailure() 153 ArgumentCaptor.forClass(ClientTransport.PingCallback.class); in clientKeepAlivePinger_pingFailure() 155 ClientTransport.PingCallback pingCallback = pingCallbackCaptor.getValue(); in clientKeepAlivePinger_pingFailure() 240 verify(transport, times(0)).ping(isA(ClientTransport.PingCallback.class), isA(Executor.class)); in transportGoesIdle()
|
/external/libchrome/mojo/public/cpp/bindings/tests/ |
D | sync_method_unittest.cc | 128 void Ping(const PingCallback& callback) override { PingImpl(callback); } in Ping() 150 void Ping(const PingCallback& callback) override { PingImpl(callback); } in Ping() 178 void Ping(const PingCallback& callback) override { PingImpl(callback); } in Ping() 278 [this](const typename Interface::PingCallback& callback) { in SetUp() 629 impl.set_ping_handler([&ptr](const TestSync::PingCallback& callback) { in TYPED_TEST() 642 this->impl_->set_ping_handler([ptr](const TestSync::PingCallback& callback) { in SEQUENCED_TASK_RUNNER_TYPED_TEST() 659 impl.set_ping_handler([&impl](const TestSync::PingCallback& callback) { in TYPED_TEST() 674 [&impl](const TestSync::PingCallback& callback) { in SEQUENCED_TASK_RUNNER_TYPED_TEST()
|
D | bindings_perftest.cc | 37 void Ping(const PingCallback& callback) override; 43 void PingServiceImpl::Ping(const PingCallback& callback) { in Ping()
|
D | test_helpers_unittest.cc | 36 void Ping(const PingCallback& callback) override { in Ping()
|
D | binding_set_unittest.cc | 97 void Ping(const PingCallback& callback) override { in Ping() 350 void Ping(const PingCallback& callback) override { in Ping() 589 void Ping(const PingCallback& callback) override {} in Ping()
|
D | binding_unittest.cc | 304 void Ping(const PingCallback& callback) override { in Ping()
|
D | interface_ptr_unittest.cc | 714 void Ping(const PingCallback& callback) override { callback.Run(); } in Ping()
|
/external/grpc-grpc-java/netty/src/test/java/io/grpc/netty/ |
D | NettyClientHandlerTest.java | 62 import io.grpc.internal.ClientTransport.PingCallback; 674 private ChannelFuture sendPing(PingCallback callback) { in sendPing() 739 private static class PingCallbackImpl implements ClientTransport.PingCallback {
|
D | NettyClientTransportTest.java | 443 ClientTransport.PingCallback pingCallback = new ClientTransport.PingCallback() { in failingToConstructChannelShouldFailGracefully()
|
/external/grpc-grpc-java/cronet/src/main/java/io/grpc/cronet/ |
D | CronetClientTransport.java | 227 public void ping(final PingCallback callback, Executor executor) {
|
/external/grpc-grpc-java/testing/src/main/java/io/grpc/internal/testing/ |
D | AbstractTransportTest.java | 496 ClientTransport.PingCallback mockPingCallback = mock(ClientTransport.PingCallback.class); in ping() 518 ClientTransport.PingCallback mockPingCallback = mock(ClientTransport.PingCallback.class); in ping_duringShutdown() 538 ClientTransport.PingCallback mockPingCallback = mock(ClientTransport.PingCallback.class); in ping_afterTermination()
|
/external/grpc-grpc-java/core/src/main/java/io/grpc/inprocess/ |
D | InProcessTransport.java | 165 public synchronized void ping(final PingCallback callback, Executor executor) {
|