Home
last modified time | relevance | path

Searched refs:NoOpService (Results 1 – 3 of 3) sorted by relevance

/external/guava/guava-tests/test/com/google/common/util/concurrent/
DServiceManagerTest.java52 private static class NoOpService extends AbstractService { class in ServiceManagerTest
66 private static class NoOpDelayedService extends NoOpService {
92 private static class FailStartService extends NoOpService {
98 private static class FailRunService extends NoOpService {
105 private static class FailStopService extends NoOpService {
153 Service a = new NoOpService(); in testServiceStartStop()
154 Service b = new NoOpService(); in testServiceStartStop()
174 Service a = new NoOpService(); in testFailStart()
176 Service c = new NoOpService(); in testFailStart()
178 Service e = new NoOpService(); in testFailStart()
[all …]
DAbstractServiceTest.java52 NoOpService service = new NoOpService(); in testNoOpServiceStartStop()
78 NoOpService service = new NoOpService(); in testNoOpServiceStartAndWaitStopAndWait()
88 NoOpService service = new NoOpService(); in testNoOpServiceStartAsyncAndAwaitStopAsyncAndAwait()
98 NoOpService service = new NoOpService(); in testNoOpServiceStopIdempotence()
116 NoOpService service = new NoOpService(); in testNoOpServiceStopIdempotenceAfterWait()
126 NoOpService service = new NoOpService(); in testNoOpServiceStopIdempotenceDoubleWait()
138 NoOpService service = new NoOpService(); in testNoOpServiceStartStopAndWaitUninterruptible()
154 private static class NoOpService extends AbstractService { class in AbstractServiceTest
348 final NoOpService service = new NoOpService(); in testAwaitTerminated()
531 NoOpService service = new NoOpService(); in testStopUnstartedService()
[all …]
/external/guava/guava/src/com/google/common/util/concurrent/
DServiceManager.java200 copy = ImmutableList.<Service>of(new NoOpService()); in ServiceManager()
392 .add("services", Collections2.filter(services, not(instanceOf(NoOpService.class)))) in toString()
579 if (!(entry.getValue() instanceof NoOpService)) { in servicesByState()
598 if (!stopWatch.isRunning() && !(service instanceof NoOpService)) { in startupTimes()
653 if (!(service instanceof NoOpService)) { in transitionService()
738 if (!(service instanceof NoOpService)) { in starting()
761 if (!(service instanceof NoOpService)) { in terminated()
774 if (!(service instanceof NoOpService)) { in failed()
791 private static final class NoOpService extends AbstractService { class in ServiceManager