Home
last modified time | relevance | path

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

12

/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.java325 assertTrue(channel.isTerminated()); in shutdownWithNoTransportsEverCreated()
486 assertFalse(channel.isTerminated()); in subtestCallsAndShutdown()
542 assertFalse(channel.isTerminated()); in subtestCallsAndShutdown()
545 assertTrue(channel.isTerminated()); in subtestCallsAndShutdown()
809 assertTrue(channel.isTerminated()); in nameResolvedAfterChannelShutdown()
1130 assertFalse(channel.isTerminated()); in subchannelsWhenChannelShutdownNow()
1132 assertTrue(channel.isTerminated()); in subchannelsWhenChannelShutdownNow()
1144 assertFalse(channel.isTerminated()); in subchannelsNoConnectionShutdown()
1146 assertTrue(channel.isTerminated()); in subchannelsNoConnectionShutdown()
1161 assertTrue(channel.isTerminated()); in subchannelsNoConnectionShutdownNow()
[all …]
DManagedChannelOrphanWrapperTest.java117 public boolean isTerminated() { in isTerminated() method in ManagedChannelOrphanWrapperTest.TestManagedChannel
/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/guava-tests/test/com/google/common/util/concurrent/
DMoreExecutorsTest.java189 assertFalse(executor.isTerminated()); in testDirectExecutorServiceServiceTermination()
198 assertTrue(executor.isTerminated()); in testDirectExecutorServiceServiceTermination()
209 assertFalse(executor.isTerminated()); in testDirectExecutorServiceServiceTermination()
219 assertFalse(executor.isTerminated()); in testDirectExecutorServiceServiceTermination()
236 assertTrue(executor.isTerminated()); in testDirectExecutorServiceServiceTermination()
635 assertTrue(service.isTerminated()); in testShutdownAndAwaitTermination_immediateShutdown()
641 when(service.isTerminated()).thenReturn(true); in testShutdownAndAwaitTermination_immediateShutdownInternal()
651 when(service.isTerminated()).thenReturn(true); in testShutdownAndAwaitTermination_forcedShutDownInternal()
DAbstractListeningExecutorServiceTest.java103 public boolean isTerminated() { in isTerminated() method in AbstractListeningExecutorServiceTest.TestListeningExecutorService
DWrappingExecutorServiceTest.java52 assertFalse(testExecutor.isTerminated()); in testDelegations()
255 public boolean isTerminated() { in isTerminated() method in WrappingExecutorServiceTest.MockExecutor
/external/guava/guava/src/com/google/common/util/concurrent/
DMoreExecutors.java333 public boolean isTerminated() { in isTerminated() method in MoreExecutors.DirectExecutorService
349 if (isTerminated()) { in awaitTermination()
388 if (isTerminated()) { in endTask()
534 public boolean isTerminated() { in isTerminated() method in MoreExecutors.ListeningDecorator
535 return delegate.isTerminated(); in isTerminated()
960 return service.isTerminated();
DForwardingExecutorService.java85 public boolean isTerminated() { in isTerminated() method in ForwardingExecutorService
86 return delegate().isTerminated(); in isTerminated()
DWrappingExecutorService.java157 public final boolean isTerminated() {
158 return delegate.isTerminated();
/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/guava-testlib/test/com/google/common/util/concurrent/testing/
DTestingExecutorsTest.java58 assertFalse(executor.isTerminated()); in testNoOpScheduledExecutorShutdown()
61 assertTrue(executor.isTerminated()); in testNoOpScheduledExecutorShutdown()
/external/guava/guava-testlib/src/com/google/common/util/concurrent/testing/
DSameThreadScheduledExecutorService.java69 public boolean isTerminated() { in isTerminated() method in SameThreadScheduledExecutorService
70 return delegate.isTerminated(); in isTerminated()
DTestingExecutors.java120 @Override public boolean isTerminated() { in isTerminated() method in TestingExecutors.NoOpScheduledExecutorService
/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/icu/icu4c/source/common/
Dunistr.cpp220 UnicodeString::UnicodeString(UBool isTerminated, in UnicodeString() argument
229 (textLength == -1 && !isTerminated) || in UnicodeString()
230 (textLength >= 0 && isTerminated && text[textLength] != 0) in UnicodeString()
239 isTerminated ? textLength + 1 : textLength); in UnicodeString()
1258 UnicodeString::setTo(UBool isTerminated, in setTo() argument
1276 (textLength == -1 && !isTerminated) || in setTo()
1277 (textLength >= 0 && isTerminated && text[textLength] != 0) in setTo()
1290 setArray((UChar *)text, textLength, isTerminated ? textLength + 1 : textLength); in setTo()
/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()
/external/guava/guava-bootstrap/src/java/util/concurrent/
DExecutorService.java23 boolean isTerminated(); in isTerminated() method
/external/ims/rcs/rcsservice/src/com/android/service/ims/presence/
DPresenceSubscriber.java520 boolean isTerminated = false; in updatePresences()
524 isTerminated = true; in updatePresences()
528 if(isTerminated){ in updatePresences()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/android/util/concurrent/
DRoboExecutorService.java74 public boolean isTerminated() { in isTerminated() method in RoboExecutorService
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/android/util/concurrent/
DRoboExecutorServiceTest.java87 assertThat(executorService.isTerminated()).isFalse(); in byDefault_IsNotTerminated()
/external/owasp/sanitizer/src/tests/org/owasp/html/
DHtmlSanitizerFuzzerTest.java143 assertTrue("seed=" + seed, executor.isTerminated()); in testFuzzHtmlParser()

12