Home
last modified time | relevance | path

Searched refs:notifyWhenStateChanged (Results 1 – 8 of 8) sorted by relevance

/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/
DConnectivityStateManagerTest.java61 state.notifyWhenStateChanged(new Runnable() { in registerCallbackBeforeStateChanged()
83 state.notifyWhenStateChanged(new Runnable() { in registerCallbackAfterStateChanged()
100 state.notifyWhenStateChanged(new Runnable() { in callbackOnlyCalledOnTransition()
121 state.notifyWhenStateChanged(callback, executor.getScheduledExecutorService(), IDLE); in callbacksAreOneShot()
135 state.notifyWhenStateChanged( in callbacksAreOneShot()
151 state.notifyWhenStateChanged(new Runnable() { in multipleCallbacks()
158 state.notifyWhenStateChanged(new Runnable() { in multipleCallbacks()
165 state.notifyWhenStateChanged(new Runnable() { in multipleCallbacks()
199 state.notifyWhenStateChanged(newRecursiveCallback(executor), executor, state.getState()); in newRecursiveCallback()
206 state.notifyWhenStateChanged(newRecursiveCallback(executor.getScheduledExecutorService()),
[all …]
DForwardingManagedChannelTest.java110 public void notifyWhenStateChanged() { in notifyWhenStateChanged() method in ForwardingManagedChannelTest
115 forward.notifyWhenStateChanged(ConnectivityState.READY, callback); in notifyWhenStateChanged()
116 verify(mock).notifyWhenStateChanged(same(ConnectivityState.READY), same(callback)); in notifyWhenStateChanged()
DManagedChannelImplTest.java1605 public void notifyWhenStateChanged() { in notifyWhenStateChanged() method in ManagedChannelImplTest
1619 channel.notifyWhenStateChanged(IDLE, onStateChanged); in notifyWhenStateChanged()
1631 channel.notifyWhenStateChanged(IDLE, onStateChanged); in notifyWhenStateChanged()
1651 channel.notifyWhenStateChanged(IDLE, onStateChanged); in channelStateWhenChannelShutdown()
1661 channel.notifyWhenStateChanged(SHUTDOWN, onStateChanged); in channelStateWhenChannelShutdown()
2031 channel.notifyWhenStateChanged(IDLE, onStateChanged); in updateBalancingStateWithShutdownShouldBeIgnored()
/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/
DForwardingManagedChannel.java77 public void notifyWhenStateChanged(ConnectivityState source, Runnable callback) { in notifyWhenStateChanged() method in ForwardingManagedChannel
78 delegate.notifyWhenStateChanged(source, callback); in notifyWhenStateChanged()
DConnectivityStateManager.java45 void notifyWhenStateChanged(Runnable callback, Executor executor, ConnectivityState source) { in notifyWhenStateChanged() method in ConnectivityStateManager
DManagedChannelImpl.java874 public void notifyWhenStateChanged(final ConnectivityState source, final Runnable callback) { in notifyWhenStateChanged() method in ManagedChannelImpl
879 channelStateManager.notifyWhenStateChanged(callback, executor, source); in notifyWhenStateChanged()
/external/grpc-grpc-java/core/src/main/java/io/grpc/
DManagedChannel.java109 public void notifyWhenStateChanged(ConnectivityState source, Runnable callback) { in notifyWhenStateChanged() method in ManagedChannel
/external/grpc-grpc-java/android/src/main/java/io/grpc/android/
DAndroidChannelBuilder.java302 public void notifyWhenStateChanged(ConnectivityState source, Runnable callback) { in notifyWhenStateChanged() method in AndroidChannelBuilder.AndroidChannel
303 delegate.notifyWhenStateChanged(source, callback); in notifyWhenStateChanged()