Home
last modified time | relevance | path

Searched refs:isTerminated (Results 1 – 25 of 67) sorted by relevance

123

/external/grpc-grpc-java/testing/src/test/java/io/grpc/testing/
DGrpcServerRuleTest.java45 assertThat(grpcServerRule1.getServer().isTerminated()).isFalse(); in serverAndChannelAreStarted_withoutDirectExecutor()
48 assertThat(grpcServerRule1.getChannel().isTerminated()).isFalse(); in serverAndChannelAreStarted_withoutDirectExecutor()
95 assertThat(grpcServerRule2.getServer().isTerminated()).isFalse(); in serverAndChannelAreStarted_withDirectExecutor()
98 assertThat(grpcServerRule2.getChannel().isTerminated()).isFalse(); in serverAndChannelAreStarted_withDirectExecutor()
/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/
DForwardingManagedChannelTest.java67 public void isTerminated() { in isTerminated() method in ForwardingManagedChannelTest
68 when(mock.isTerminated()).thenReturn(true); in isTerminated()
69 assertSame(true, forward.isTerminated()); in isTerminated()
DServerImplTest.java222 assertFalse(server.isTerminated()); in startStopImmediate()
224 assertTrue(server.isTerminated()); in startStopImmediate()
238 assertTrue(server.isTerminated()); in stopImmediate()
259 assertFalse(server.isTerminated()); in startStopImmediateWithChildTransport()
264 assertTrue(server.isTerminated()); in startStopImmediateWithChildTransport()
288 assertFalse(server.isTerminated()); in startShutdownNowImmediateWithChildTransport()
293 assertTrue(server.isTerminated()); in startShutdownNowImmediateWithChildTransport()
318 assertFalse(server.isTerminated()); in shutdownNowAfterShutdown()
323 assertTrue(server.isTerminated()); in shutdownNowAfterShutdown()
355 assertFalse(server.isTerminated()); in shutdownNowAfterSlowShutdown()
[all …]
DManagedChannelImplTest.java324 assertTrue(channel.isTerminated()); in shutdownWithNoTransportsEverCreated()
485 assertFalse(channel.isTerminated()); in subtestCallsAndShutdown()
541 assertFalse(channel.isTerminated()); in subtestCallsAndShutdown()
544 assertTrue(channel.isTerminated()); in subtestCallsAndShutdown()
808 assertTrue(channel.isTerminated()); in nameResolvedAfterChannelShutdown()
1129 assertFalse(channel.isTerminated()); in subchannelsWhenChannelShutdownNow()
1131 assertTrue(channel.isTerminated()); in subchannelsWhenChannelShutdownNow()
1143 assertFalse(channel.isTerminated()); in subchannelsNoConnectionShutdown()
1145 assertTrue(channel.isTerminated()); in subchannelsNoConnectionShutdown()
1160 assertTrue(channel.isTerminated()); in subchannelsNoConnectionShutdownNow()
[all …]
/external/downloader/src/test/java/com/google/android/downloader/
DTestingExecutorService.java57 public boolean isTerminated() { in isTerminated() method in TestingExecutorService
58 return delegate.isTerminated(); in isTerminated()
/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/
DForwardingManagedChannel.java46 public boolean isTerminated() { in isTerminated() method in ForwardingManagedChannel
47 return delegate.isTerminated(); in isTerminated()
/external/guava/android/guava-testlib/test/com/google/common/util/concurrent/testing/
DTestingExecutorsTest.java57 assertFalse(executor.isTerminated()); in testNoOpScheduledExecutorShutdown()
60 assertTrue(executor.isTerminated()); in testNoOpScheduledExecutorShutdown()
/external/guava/guava-testlib/test/com/google/common/util/concurrent/testing/
DTestingExecutorsTest.java57 assertFalse(executor.isTerminated()); in testNoOpScheduledExecutorShutdown()
60 assertTrue(executor.isTerminated()); in testNoOpScheduledExecutorShutdown()
/external/grpc-grpc-java/benchmarks/src/jmh/java/io/grpc/benchmarks/
DTransportBenchmark.java164 if (!channel.isTerminated()) { in tearDown()
167 if (!server.isTerminated()) { in tearDown()
173 if (!groupToShutdown.isTerminated()) { in tearDown()
/external/guava/android/guava/src/com/google/common/util/concurrent/
DForwardingExecutorService.java83 public boolean isTerminated() { in isTerminated() method in ForwardingExecutorService
84 return delegate().isTerminated(); in isTerminated()
DWrappingExecutorService.java154 public final boolean isTerminated() {
155 return delegate.isTerminated();
DMoreExecutors.java291 public boolean isTerminated() { in isTerminated() method in MoreExecutors.DirectExecutorService
535 public final boolean isTerminated() { in isTerminated() method in MoreExecutors.ListeningDecorator
536 return delegate.isTerminated(); in isTerminated()
984 return service.isTerminated();
/external/guava/guava/src/com/google/common/util/concurrent/
DForwardingExecutorService.java83 public boolean isTerminated() { in isTerminated() method in ForwardingExecutorService
84 return delegate().isTerminated(); in isTerminated()
DWrappingExecutorService.java154 public final boolean isTerminated() {
155 return delegate.isTerminated();
DMoreExecutors.java352 public boolean isTerminated() { in isTerminated() method in MoreExecutors.DirectExecutorService
596 public final boolean isTerminated() { in isTerminated() method in MoreExecutors.ListeningDecorator
597 return delegate.isTerminated(); in isTerminated()
1089 return service.isTerminated();
/external/guava/android/guava-tests/test/com/google/common/util/concurrent/
DMoreExecutorsTest.java197 assertFalse(executor.isTerminated()); in testDirectExecutorServiceServiceTermination()
206 assertTrue(executor.isTerminated()); in testDirectExecutorServiceServiceTermination()
218 assertFalse(executor.isTerminated()); in testDirectExecutorServiceServiceTermination()
228 assertFalse(executor.isTerminated()); in testDirectExecutorServiceServiceTermination()
245 assertTrue(executor.isTerminated()); in testDirectExecutorServiceServiceTermination()
690 assertTrue(service.isTerminated()); in testShutdownAndAwaitTermination_immediateShutdown()
696 when(service.isTerminated()).thenReturn(true); in testShutdownAndAwaitTermination_immediateShutdownInternal()
707 when(service.isTerminated()).thenReturn(true); in testShutdownAndAwaitTermination_forcedShutDownInternal()
/external/guava/guava-tests/test/com/google/common/util/concurrent/
DMoreExecutorsTest.java197 assertFalse(executor.isTerminated()); in testDirectExecutorServiceServiceTermination()
206 assertTrue(executor.isTerminated()); in testDirectExecutorServiceServiceTermination()
218 assertFalse(executor.isTerminated()); in testDirectExecutorServiceServiceTermination()
228 assertFalse(executor.isTerminated()); in testDirectExecutorServiceServiceTermination()
245 assertTrue(executor.isTerminated()); in testDirectExecutorServiceServiceTermination()
690 assertTrue(service.isTerminated()); in testShutdownAndAwaitTermination_immediateShutdown()
696 when(service.isTerminated()).thenReturn(true); in testShutdownAndAwaitTermination_immediateShutdownInternal()
707 when(service.isTerminated()).thenReturn(true); in testShutdownAndAwaitTermination_forcedShutDownInternal()
DUninterruptiblesTest.java479 assertTrue(executor.isTerminated()); in testTryAwaitTerminationUninterruptiblyDuration_success()
489 assertFalse(executor.isTerminated()); in testTryAwaitTerminationUninterruptiblyDuration_failure()
499 assertTrue(executor.isTerminated()); in testTryAwaitTerminationUninterruptiblyLongTimeUnit_success()
509 assertFalse(executor.isTerminated()); in testTryAwaitTerminationUninterruptiblyLongTimeUnit_failure()
519 assertTrue(executor.isTerminated()); in testTryAwaitTerminationInfiniteTimeout()
/external/angle/src/compiler/translator/
DBuildSPIRV.h247 bool isTerminated = false; member
321 !mSpirvCurrentFunctionBlocks.back().isTerminated); in getSpirvCurrentFunctionBlock()
327 !mSpirvCurrentFunctionBlocks.back().isTerminated); in getSpirvCurrentFunctionBlockId()
333 return mSpirvCurrentFunctionBlocks.back().isTerminated; in isCurrentFunctionBlockTerminated()
338 mSpirvCurrentFunctionBlocks.back().isTerminated = true; in terminateCurrentFunctionBlock()
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/src/scheduling/
DCoroutineScheduler.kt299 val isTerminated: Boolean get() = _isTerminated.value in <lambda>() constant in kotlinx.coroutines.scheduling.CoroutineScheduler
466 if (isTerminated) return -1 in <lambda>()
672 while (!isTerminated && state != WorkerState.TERMINATED) { in <lambda>()
725 if (isTerminated || state == WorkerState.TERMINATED) break in <lambda>()
798 if (isTerminated) return in <lambda>()
/external/grpc-grpc-java/core/src/main/java/io/grpc/
DManagedChannel.java53 public abstract boolean isTerminated(); in isTerminated() method in ManagedChannel
DServer.java122 public abstract boolean isTerminated(); in isTerminated() method in Server
/external/guava/guava-testlib/src/com/google/common/util/concurrent/testing/
DSameThreadScheduledExecutorService.java68 public boolean isTerminated() { in isTerminated() method in SameThreadScheduledExecutorService
69 return delegate.isTerminated(); in isTerminated()
/external/guava/android/guava-testlib/src/com/google/common/util/concurrent/testing/
DSameThreadScheduledExecutorService.java68 public boolean isTerminated() { in isTerminated() method in SameThreadScheduledExecutorService
69 return delegate.isTerminated(); in isTerminated()
/external/grpc-grpc-java/android/src/main/java/io/grpc/android/
DAndroidChannelBuilder.java270 public boolean isTerminated() { in isTerminated() method in AndroidChannelBuilder.AndroidChannel
271 return delegate.isTerminated(); in isTerminated()

123