Home
last modified time | relevance | path

Searched refs:transportInUse (Results 1 – 12 of 12) sorted by relevance

/external/grpc-grpc-java/netty/src/main/java/io/grpc/netty/
DClientTransportLifecycleManager.java27 private boolean transportInUse; field in ClientTransportLifecycleManager
57 if (inUse == transportInUse) { in notifyInUse()
60 transportInUse = inUse; in notifyInUse()
61 listener.transportInUse(inUse); in notifyInUse()
/external/grpc-grpc-java/testing/src/main/java/io/grpc/internal/testing/
DAbstractTransportTest.java302 verify(mockClientTransportListener, never()).transportInUse(anyBoolean()); in serverNotListening()
316 verify(mockClientTransportListener, never()).transportInUse(anyBoolean()); in clientStartStop()
336 verify(mockClientTransportListener, never()).transportInUse(anyBoolean()); in clientStartAndStopOnceConnected()
373 verify(mockClientTransportListener, timeout(TIMEOUT_MS)).transportInUse(true); in openStreamPreventsTermination()
403 verify(mockClientTransportListener, never()).transportInUse(false); in openStreamPreventsTermination()
409 verify(mockClientTransportListener, timeout(TIMEOUT_MS)).transportInUse(false); in openStreamPreventsTermination()
425 verify(mockClientTransportListener, timeout(TIMEOUT_MS)).transportInUse(true); in shutdownNowKillsClientStream()
436 verify(mockClientTransportListener, timeout(TIMEOUT_MS)).transportInUse(false); in shutdownNowKillsClientStream()
462 verify(mockClientTransportListener, timeout(TIMEOUT_MS)).transportInUse(true); in shutdownNowKillsServerStream()
473 verify(mockClientTransportListener, timeout(TIMEOUT_MS)).transportInUse(false); in shutdownNowKillsServerStream()
[all …]
/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/
DManagedClientTransport.java104 void transportInUse(boolean inUse); in transportInUse() method
DDelayedClientTransport.java105 listener.transportInUse(true); in start()
111 listener.transportInUse(false); in start()
DOobChannel.java132 public void transportInUse(boolean inUse) { in OobChannel()
DInternalSubchannel.java575 public void transportInUse(boolean inUse) { in transportInUse() method in InternalSubchannel.TransportListener
DManagedChannelImpl.java1490 public void transportInUse(final boolean inUse) { in transportInUse() method in ManagedChannelImpl.DelayedTransportListener
/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/
DInternalSubchannelTest.java830 t0.listener.transportInUse(true); in inUseState()
833 t0.listener.transportInUse(false); in inUseState()
836 t0.listener.transportInUse(true); in inUseState()
845 t1.listener.transportInUse(true); in inUseState()
849 t1.listener.transportInUse(false); in inUseState()
853 t0.listener.transportInUse(false); in inUseState()
868 t0.listener.transportInUse(true); in transportTerminateWithoutExitingInUse()
DManagedChannelImplIdlenessTest.java281 t0.listener.transportInUse(true); in realTransportsHoldsOffIdleness()
288 t0.listener.transportInUse(false); in realTransportsHoldsOffIdleness()
379 oobTransportInfo.listener.transportInUse(true); in oobTransportDoesNotAffectIdleness()
DDelayedClientTransportTest.java308 verify(transportListener).transportInUse(true); in reprocessSemantics()
403 verify(transportListener, never()).transportInUse(false); in reprocessSemantics()
407 verify(transportListener).transportInUse(false); in reprocessSemantics()
/external/grpc-grpc-java/core/src/main/java/io/grpc/inprocess/
DInProcessTransport.java292 clientTransportListener.transportInUse(false);
656 clientTransportListener.transportInUse(true);
/external/grpc-grpc-java/okhttp/src/main/java/io/grpc/okhttp/
DOkHttpClientTransport.java867 listener.transportInUse(false); in maybeClearInUse()
882 listener.transportInUse(true); in setInUse()