Home
last modified time | relevance | path

Searched refs:stopAsync (Results 1 – 16 of 16) sorted by relevance

/external/guava/guava-tests/test/com/google/common/util/concurrent/
DAbstractServiceTest.java64 service.stopAsync(); in testNoOpServiceStartStop()
83 service.stopAsync().awaitTerminated(); in testNoOpServiceStartAndWaitStopAndWait()
93 service.stopAsync().awaitTerminated(); in testNoOpServiceStartAsyncAndAwaitStopAsyncAndAwait()
103 service.stopAsync(); in testNoOpServiceStopIdempotence()
104 service.stopAsync(); in testNoOpServiceStopIdempotence()
120 service.stopAsync().awaitTerminated(); in testNoOpServiceStopIdempotenceAfterWait()
121 service.stopAsync(); in testNoOpServiceStopIdempotenceAfterWait()
131 service.stopAsync().awaitTerminated(); in testNoOpServiceStopIdempotenceDoubleWait()
132 service.stopAsync().awaitTerminated(); in testNoOpServiceStopIdempotenceDoubleWait()
145 service.stopAsync().awaitTerminated(); in testNoOpServiceStartStopAndWaitUninterruptible()
[all …]
DAbstractExecutionThreadServiceTest.java73 service.stopAsync().awaitTerminated(); in testServiceStartStop()
86 service.stopAsync(); in testServiceStopIdempotence()
87 service.stopAsync(); in testServiceStopIdempotence()
88 service.stopAsync().awaitTerminated(); in testServiceStopIdempotence()
90 service.stopAsync().awaitTerminated(); in testServiceStopIdempotence()
112 service.stopAsync().awaitTerminated(); // no-op in testServiceExitingOnItsOwn()
258 service.stopAsync(); in testServiceThrowOnShutDown()
317 service.stopAsync(); in testStopWhileStarting_runNotCalled()
328 service.stopAsync().awaitTerminated(); in testStop_noStart()
339 service.stopAsync().awaitTerminated(); in testDefaultService()
DAbstractScheduledServiceTest.java63 service.stopAsync().awaitTerminated(); in testServiceStartStop()
108 service.stopAsync(); in testFailOnExceptionFromShutDown()
128 service.stopAsync(); in testRunOneIterationCalledMultipleTimes()
130 service.stopAsync().awaitTerminated(); in testRunOneIterationCalledMultipleTimes()
144 service.stopAsync(); in testExecutorOnlyCalledOnce()
146 service.stopAsync().awaitTerminated(); in testExecutorOnlyCalledOnce()
169 service.stopAsync(); in testDefaultExecutorIsShutdownWhenServiceIsStopped()
212 service.stopAsync(); in testSchedulerOnlyCalledOnce()
368 service.stopAsync(); in testCustomSchedulerServiceStop()
395 service.stopAsync(); in testBig()
[all …]
DServiceManagerTest.java166 manager.stopAsync().awaitStopped(); in testServiceStartStop()
194 manager.stopAsync().awaitStopped(); in testFailStart()
215 manager.stopAsync().awaitStopped(); in testFailRun()
233 manager.stopAsync().awaitStopped(); in testFailStop()
261 manager.stopAsync(); in testTimeouts()
316 manager.stopAsync(); in testFailStart_stopOthers()
351 manager.stopAsync().awaitStopped(); in testEmptyServiceManager()
414 manager.stopAsync().awaitStopped(); in testListenerDeadlock()
441 service.stopAsync(); in testPartiallyConstructedManager()
463 @Override public final Service stopAsync() { in testPartiallyConstructedManager_transitionAfterAddListenerBeforeStateIsReady()
[all …]
DAbstractIdleServiceTest.java53 service.stopAsync().awaitTerminated(); in testServiceStartStop()
82 service.stopAsync().awaitTerminated(); in testStop_failed()
122 service.stopAsync().awaitTerminated(); in testStop_withoutStart()
134 service.stopAsync().awaitTerminated(); in testStop_afterStart()
154 service.stopAsync().awaitTerminated(); in testStop_failed()
171 service.stopAsync().awaitTerminated(); in testServiceToString()
/external/guava/guava/src/com/google/common/util/concurrent/
DAbstractIdleService.java142 @Override public final Service stopAsync() {
143 delegate.stopAsync();
DAbstractExecutionThreadService.java188 @Override public final Service stopAsync() {
189 delegate.stopAsync();
DService.java87 Service stopAsync(); in stopAsync() method
DAbstractScheduledService.java356 @Override public final Service stopAsync() {
357 delegate.stopAsync();
DServiceManager.java325 public ServiceManager stopAsync() { in stopAsync() method in ServiceManager
327 service.stopAsync(); in stopAsync()
DAbstractService.java188 @Override public final Service stopAsync() {
/external/caliper/caliper/src/test/java/com/google/caliper/runner/
DServerSocketServiceTest.java54 service.stopAsync().awaitTerminated(); in stopService()
85 service.stopAsync().awaitTerminated(); in getConnectionStoppedService()
DStreamServiceTest.java87 service.stopAsync().awaitTerminated(); in stopService()
/external/caliper/caliper/src/main/java/com/google/caliper/runner/
DCaliperMain.java127 serviceManager.stopAsync().awaitStopped(10, TimeUnit.SECONDS); in exitlessMain()
DTrialRunLoop.java187 streamService.stopAsync(); in call()
DStreamService.java280 stopAsync(); in closeStream()