/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
D | MoreExecutorsTest.java | 223 assertFalse(executor.awaitTermination(20, TimeUnit.MILLISECONDS)); in testSameThreadExecutorServiceTermination() 227 assertTrue(executor.awaitTermination(1, TimeUnit.SECONDS)); in testSameThreadExecutorServiceTermination() 228 assertTrue(executor.awaitTermination(0, TimeUnit.SECONDS)); in testSameThreadExecutorServiceTermination() 520 shutdownFirst.verify(service).awaitTermination(2, TimeUnit.SECONDS); in testAddDelayedShutdownHook_success() 527 when(service.awaitTermination(2, TimeUnit.SECONDS)).thenThrow(new InterruptedException()); in testAddDelayedShutdownHook_interrupted() 640 when(service.awaitTermination(HALF_SECOND_NANOS, NANOSECONDS)).thenReturn(true); in testShutdownAndAwaitTermination_immediateShutdownInternal() 644 verify(service).awaitTermination(HALF_SECOND_NANOS, NANOSECONDS); in testShutdownAndAwaitTermination_immediateShutdownInternal() 649 when(service.awaitTermination(HALF_SECOND_NANOS, NANOSECONDS)) in testShutdownAndAwaitTermination_forcedShutDownInternal() 654 verify(service, times(2)).awaitTermination(HALF_SECOND_NANOS, NANOSECONDS); in testShutdownAndAwaitTermination_forcedShutDownInternal() 660 when(service.awaitTermination(HALF_SECOND_NANOS, NANOSECONDS)) in testShutdownAndAwaitTermination_nonTerminationInternal() [all …]
|
D | AtomicDoubleArrayTest.java | 212 awaitTermination(t); in testCompareAndSetInMultipleThreads() 326 awaitTermination(t1); in testCountingInMultipleThreads() 327 awaitTermination(t2); in testCountingInMultipleThreads()
|
D | JSR166TestCase.java | 510 exec.awaitTermination(2 * LONG_DELAY_MS, MILLISECONDS)); in joinPool() 776 void awaitTermination(Thread t, long timeoutMillis) { in awaitTermination() method in JSR166TestCase 794 void awaitTermination(Thread t) { in awaitTermination() method in JSR166TestCase 795 awaitTermination(t, LONG_DELAY_MS); in awaitTermination()
|
D | AbstractListeningExecutorServiceTest.java | 108 public boolean awaitTermination(long timeout, TimeUnit unit) { in awaitTermination() method in AbstractListeningExecutorServiceTest.TestListeningExecutorService
|
D | WrappingExecutorServiceTest.java | 53 assertFalse(testExecutor.awaitTermination(10, TimeUnit.MILLISECONDS)); in testDelegations() 210 public boolean awaitTermination(long timeout, TimeUnit unit) { in awaitTermination() method in WrappingExecutorServiceTest.MockExecutor
|
D | AbstractScheduledServiceTest.java | 180 assertTrue(service.executor().awaitTermination(100, TimeUnit.MILLISECONDS)); in testDefaultExecutorIsShutdownWhenServiceIsStopped() 216 assertTrue(service.executor().awaitTermination(100, TimeUnit.MILLISECONDS)); in testDefaultExecutorIsShutdownWhenServiceFails()
|
D | WrappingScheduledExecutorServiceTest.java | 164 public boolean awaitTermination(long timeout, TimeUnit unit) { in awaitTermination() method in WrappingScheduledExecutorServiceTest.MockExecutor
|
D | AtomicDoubleTest.java | 128 awaitTermination(t); in testCompareAndSetInMultipleThreads()
|
/external/guava/guava/src/com/google/common/util/concurrent/ |
D | ForwardingExecutorService.java | 48 public boolean awaitTermination(long timeout, TimeUnit unit) in awaitTermination() method in ForwardingExecutorService 50 return delegate().awaitTermination(timeout, unit); in awaitTermination()
|
D | MoreExecutors.java | 205 service.awaitTermination(terminationTimeout, timeUnit); in addDelayedShutdownHook() 341 public boolean awaitTermination(long timeout, TimeUnit unit) in awaitTermination() method in MoreExecutors.SameThreadExecutorService 457 public boolean awaitTermination(long timeout, TimeUnit unit) in awaitTermination() method in MoreExecutors.ListeningDecorator 459 return delegate.awaitTermination(timeout, unit); in awaitTermination() 881 if (!service.awaitTermination(halfTimeoutNanos, TimeUnit.NANOSECONDS)) { 885 service.awaitTermination(halfTimeoutNanos, TimeUnit.NANOSECONDS);
|
D | WrappingExecutorService.java | 162 public final boolean awaitTermination(long timeout, TimeUnit unit) 164 return delegate.awaitTermination(timeout, unit);
|
/external/guava/guava-testlib/src/com/google/common/util/concurrent/testing/ |
D | AbstractListenableFutureTest.java | 200 exec.awaitTermination(100, TimeUnit.MILLISECONDS); in testListenersNotifiedOnError() 244 exec.awaitTermination(500, TimeUnit.MILLISECONDS); in testAllListenersCompleteSuccessfully()
|
D | SameThreadScheduledExecutorService.java | 74 public boolean awaitTermination(long timeout, TimeUnit unit) in awaitTermination() method in SameThreadScheduledExecutorService 77 return delegate.awaitTermination(timeout, unit); in awaitTermination()
|
D | TestingExecutors.java | 124 @Override public boolean awaitTermination(long timeout, TimeUnit unit) { in awaitTermination() method in TestingExecutors.NoOpScheduledExecutorService
|
/external/guava/guava-bootstrap/src/java/util/concurrent/ |
D | ExecutorService.java | 25 boolean awaitTermination(long timeout, TimeUnit unit) in awaitTermination() method
|
/external/jmdns/src/javax/jmdns/impl/ |
D | JmmDNSImpl.java | 106 executor.awaitTermination(DNSConstants.CLOSE_TIMEOUT, TimeUnit.MILLISECONDS); in close() 215 executor.awaitTermination(timeout, TimeUnit.MILLISECONDS); in getServiceInfos() 418 executor.awaitTermination(timeout, TimeUnit.MILLISECONDS); in list()
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/util/ |
D | RobolectricBackgroundExecutorService.java | 37 public boolean awaitTermination(long l, TimeUnit timeUnit) throws InterruptedException { in awaitTermination() method in RobolectricBackgroundExecutorService
|
/external/jetty/src/java/org/eclipse/jetty/util/thread/ |
D | ExecutorThreadPool.java | 174 _executor.awaitTermination(Long.MAX_VALUE, TimeUnit.MILLISECONDS);
|
/external/junit/src/org/junit/internal/runners/ |
D | MethodRoadie.java | 69 boolean terminated= service.awaitTermination(timeout, in runWithTimeout()
|
/external/owasp/sanitizer/src/tests/org/owasp/html/ |
D | HtmlSanitizerFuzzerTest.java | 142 executor.awaitTermination(runCount * 4, TimeUnit.SECONDS); in testFuzzHtmlParser()
|
/external/vogar/src/vogar/tasks/ |
D | TaskQueue.java | 79 runners.awaitTermination(FOREVER, TimeUnit.SECONDS); in runTasks()
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/ |
D | SocksProxy.java | 91 if (!executor.awaitTermination(5, TimeUnit.SECONDS)) { in shutdown()
|
D | DispatcherTest.java | 168 @Override public boolean awaitTermination(long timeout, TimeUnit unit) in awaitTermination() method in DispatcherTest.RecordingExecutor
|
/external/guava/guava-tests/test/com/google/common/collect/ |
D | QueuesTest.java | 68 threadPool.awaitTermination(1, TimeUnit.SECONDS)); in tearDown()
|
/external/guava/guava-tests/test/com/google/common/cache/ |
D | CacheBuilderTest.java | 580 threadPool.awaitTermination(300, TimeUnit.SECONDS); in testRemovalNotification_get_basher()
|