Home
last modified time | relevance | path

Searched refs:RUNNING (Results 1 – 25 of 48) sorted by relevance

12

/external/guava/guava/src/com/google/common/util/concurrent/
DAbstractService.java24 import static com.google.common.util.concurrent.Service.State.RUNNING;
73 stoppingCallback(RUNNING);
78 terminatedCallback(RUNNING);
111 return state().compareTo(RUNNING) <= 0;
117 return state().compareTo(RUNNING) >= 0;
154 startup.set(RUNNING);
176 case RUNNING:
268 case RUNNING:
270 stopping(RUNNING);
314 checkCurrentState(RUNNING);
[all …]
DServiceManager.java27 import static com.google.common.util.concurrent.Service.State.RUNNING;
451 return states.count(RUNNING) == numberOfServices
647 if (to.compareTo(RUNNING) >= 0 && stopwatch.isRunning()) { in transitionService()
661 if (states.count(RUNNING) == numberOfServices) { in transitionService()
706 if (states.count(RUNNING) != numberOfServices) { in checkHealthy()
709 Multimaps.filterKeys(servicesByState, not(equalTo(RUNNING)))); in checkHealthy()
743 state.transitionService(service, STARTING, RUNNING); in running()
DAbstractFuture.java229 static final int RUNNING = 0; field in AbstractFuture.Sync
372 boolean doCompletion = compareAndSetState(RUNNING, COMPLETING); in complete()
DService.java277 RUNNING { enumConstant
/external/guava/guava-tests/test/com/google/common/util/concurrent/
DAbstractServiceTest.java59 assertEquals(State.RUNNING, service.state()); in testNoOpServiceStartStop()
70 State.RUNNING, in testNoOpServiceStartStop()
80 assertEquals(State.RUNNING, service.state()); in testNoOpServiceStartAndWaitStopAndWait()
90 assertEquals(State.RUNNING, service.state()); in testNoOpServiceStartAsyncAndAwaitStopAsyncAndAwait()
100 assertEquals(State.RUNNING, service.state()); in testNoOpServiceStopIdempotence()
108 State.RUNNING, in testNoOpServiceStopIdempotence()
128 assertEquals(State.RUNNING, service.state()); in testNoOpServiceStopIdempotenceDoubleWait()
142 assertEquals(State.RUNNING, service.state()); in testNoOpServiceStartStopAndWaitUninterruptible()
179 assertEquals(State.RUNNING, service.state()); in testManualServiceStartStop()
193 State.RUNNING, in testManualServiceStartStop()
[all …]
DServiceTest.java21 import static com.google.common.util.concurrent.Service.State.RUNNING;
39 assertLessThan(STARTING, RUNNING); in testStateOrdering()
43 assertLessThan(RUNNING, STOPPING); in testStateOrdering()
44 assertLessThan(RUNNING, FAILED); in testStateOrdering()
DAbstractExecutionThreadServiceTest.java69 assertEquals(Service.State.RUNNING, service.state()); in testServiceStartStop()
99 service.expectedShutdownState = Service.State.RUNNING; in testServiceExitingOnItsOwn()
103 assertEquals(Service.State.RUNNING, service.state()); in testServiceExitingOnItsOwn()
136 assertEquals(State.RUNNING, state()); in run()
256 assertEquals(Service.State.RUNNING, service.state()); in testServiceThrowOnShutDown()
DAbstractIdleServiceTest.java51 assertEquals(Service.State.RUNNING, service.state()); in testServiceStartStop()
95 assertEquals(Service.State.RUNNING, service.state()); in testStart()
DServiceManagerTest.java130 assertState(manager, Service.State.RUNNING, a, b); in testServiceStartStop()
158 assertState(manager, Service.State.RUNNING, a, c, e); in testFailStart()
296 assertEquals(service.toString(), service.isRunning(), state == Service.State.RUNNING); in assertState()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ThreadReference/
DStatusTest.java83 if (threadStatus != JDWPConstants.ThreadStatus.RUNNING) { in testStatus002()
140 if (threadStatus != JDWPConstants.ThreadStatus.RUNNING) { in testStatus001()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/framework/jdwp/
DJDWPConstants.java42 public static final byte RUNNING = 1; field in JDWPConstants.ThreadStatus
61 case RUNNING: in getName()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/Events/
DBreakpoint002Test.java169 checkThreadState(eventThreadID, JDWPConstants.ThreadStatus.RUNNING, in testBreakpointIn()
DMethodEntryTest.java75 checkThreadState(eventThreadID, JDWPConstants.ThreadStatus.RUNNING, in testMethodEntry()
DMethodExitTest.java75 checkThreadState(eventThreadID, JDWPConstants.ThreadStatus.RUNNING, in testMethodExit()
DBreakpointTest.java79 checkThreadState(eventThreadID, JDWPConstants.ThreadStatus.RUNNING, in testSetBreakpointEvent()
DFieldAccessTest.java83 checkThreadState(eventThreadID, JDWPConstants.ThreadStatus.RUNNING, in testFieldAccessEvent()
DFieldModificationTest.java83 checkThreadState(eventThreadID, JDWPConstants.ThreadStatus.RUNNING, in testFieldModifyEvent()
DBreakpointOnCatchTest.java91 checkThreadState(eventThreadID, JDWPConstants.ThreadStatus.RUNNING, in testBreakpointOnCatch()
DExceptionBaseTest.java58 checkThreadState(eventThreadID, JDWPConstants.ThreadStatus.RUNNING, in receiveAndCheckExceptionEvent()
DCombinedExceptionEventsTest.java156 checkThreadState(eventThreadID, JDWPConstants.ThreadStatus.RUNNING, in runCombinedExceptionEventsTest()
/external/glide/library/src/main/java/com/bumptech/glide/request/
DGenericRequest.java44 RUNNING, enumConstant
332 return status == Status.RUNNING || status == Status.WAITING_FOR_SIZE; in isRunning()
404 status = Status.RUNNING; in onSizeReady()
/external/jetty/src/java/org/eclipse/jetty/server/handler/
DHotSwapHandler.java141 throw new IllegalStateException(RUNNING); in setServer()
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowAsyncTask.java77 status = AsyncTask.Status.RUNNING; in execute()
/external/jetty/src/java/org/eclipse/jetty/util/component/
DAbstractLifeCycle.java39 public static final String RUNNING="RUNNING"; field in AbstractLifeCycle
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
DAsyncTaskTest.java118 assertThat(asyncTask.getStatus(), is(AsyncTask.Status.RUNNING)); in shouldGetStatusForAsyncTask()

12