HomeSort by relevance Sort by last modified time
    Searched refs:RUNNING (Results 1 - 25 of 66) sorted by null

1 2 3

  /external/guava/guava/src/com/google/common/util/concurrent/
Service.java 31 * <li>{@link State#RUNNING} -&gt;</li>
36 * If the service fails while starting, running or stopping, its state will be
59 * State#RUNNING}, {@link State#STOPPING} or {@link State#TERMINATED}. If
80 * Returns {@code true} if this service is {@linkplain State#RUNNING running}.
91 * State#RUNNING running}, this initiates service shutdown and returns
133 * A service in this state is transitioning to {@link #RUNNING}.
140 RUNNING,
AbstractService.java 113 } else if (state == State.RUNNING) {
140 * State#STARTING} to {@link State#RUNNING}.
155 state = State.RUNNING;
159 startup.set(State.RUNNING);
172 * State#STOPPING} nor {@link State#RUNNING}.
177 if (state != State.STOPPING && state != State.RUNNING) {
194 * is running. Invoke this method when a service has failed critically or
208 } else if (state == State.RUNNING) {
209 shutdown.setException(new Exception("Service failed while running", cause));
221 return state() == State.RUNNING;
    [all...]
AbstractFuture.java 49 * failure in changing the future's state. Valid states are running,
209 * RUNNING to COMPLETING, that thread will then set the result of the
220 static final int RUNNING = 0;
341 * from {@link #RUNNING}. If the state is not in the RUNNING state we
351 boolean doCompletion = compareAndSetState(RUNNING, COMPLETING);
  /libcore/luni/src/main/java/java/util/concurrent/
FutureTask.java 38 * Creates a <tt>FutureTask</tt> that will, upon running, execute the
51 * Creates a <tt>FutureTask</tt> that will, upon running, execute the
165 /** State value representing that task is running */
166 private static final int RUNNING = 1;
180 * The thread running task. When nulled after set/cancel, this
298 if (!compareAndSetState(READY, RUNNING))
302 if (getState() == RUNNING) { // recheck after setting thread
317 if (!compareAndSetState(READY, RUNNING))
321 if (getState() == RUNNING)
324 return compareAndSetState(RUNNING, READY)
    [all...]
  /external/oprofile/libop/
op_interface.h 44 RUNNING = 2
  /external/guava/guava-tests/test/com/google/common/util/concurrent/
AbstractExecutionThreadServiceTest.java 63 assertEquals(Service.State.RUNNING, service.state());
80 assertEquals(Service.State.RUNNING, service.state());
82 assertEquals(Service.State.RUNNING, service.state());
93 assertEquals(Service.State.RUNNING, service.start().get());
94 assertEquals(Service.State.RUNNING, service.startAndWait());
104 service.expectedShutdownState = Service.State.RUNNING;
108 assertEquals(Service.State.RUNNING, service.state());
141 assertEquals(State.RUNNING, state());
250 assertEquals(Service.State.RUNNING, service.state());
AbstractServiceTest.java 43 assertFalse(service.running);
46 assertEquals(Service.State.RUNNING, service.state());
48 assertTrue(service.running);
53 assertFalse(service.running);
60 assertEquals(Service.State.RUNNING, service.state());
71 assertEquals(Service.State.RUNNING, service.state());
83 assertEquals(Service.State.RUNNING, service.state());
95 assertEquals(Service.State.RUNNING, service.state());
109 assertEquals(Service.State.RUNNING, service.state());
121 boolean running = false field in class:AbstractServiceTest.NoOpService
    [all...]
AbstractIdleServiceTest.java 57 assertEquals(Service.State.RUNNING, service.state());
70 assertEquals("NullService [" + Service.State.RUNNING + "]", service.toString());
  /external/chromium/chrome/browser/sync/glue/
data_type_controller.h 35 RUNNING, // The controller is running and the data type is
frontend_data_type_controller_unittest.cc 154 EXPECT_EQ(DataTypeController::RUNNING, frontend_dtc_->state());
169 EXPECT_EQ(DataTypeController::RUNNING, frontend_dtc_->state());
221 EXPECT_EQ(DataTypeController::RUNNING, frontend_dtc_->state());
238 EXPECT_EQ(DataTypeController::RUNNING, frontend_dtc_->state());
frontend_data_type_controller.cc 67 DCHECK_EQ(state_, RUNNING);
101 state_ = RUNNING;
bookmark_data_type_controller_unittest.cc 107 EXPECT_EQ(DataTypeController::RUNNING, bookmark_dtc_->state());
124 EXPECT_EQ(DataTypeController::RUNNING, bookmark_dtc_->state());
204 EXPECT_EQ(DataTypeController::RUNNING, bookmark_dtc_->state());
extension_data_type_controller_unittest.cc 93 EXPECT_EQ(DataTypeController::RUNNING, extension_dtc_->state());
151 EXPECT_EQ(DataTypeController::RUNNING, extension_dtc_->state());
preference_data_type_controller_unittest.cc 94 EXPECT_EQ(DataTypeController::RUNNING, preference_dtc_->state());
152 EXPECT_EQ(DataTypeController::RUNNING, preference_dtc_->state());
theme_data_type_controller_unittest.cc 92 EXPECT_EQ(DataTypeController::RUNNING, theme_dtc_->state());
150 EXPECT_EQ(DataTypeController::RUNNING, theme_dtc_->state());
  /development/samples/Snake/src/com/example/android/snake/
SnakeView.java 43 * Current mode of application: READY to run, RUNNING, or you have already
50 public static final int RUNNING = 2;
268 setMode(RUNNING);
278 setMode(RUNNING);
324 * Updates the current mode of the application (RUNNING or PAUSED or the like)
333 if (newMode == RUNNING & oldMode != RUNNING) {
393 * Handles the basic update loop, checking to see if we are in the running
397 if (mMode == RUNNING) {
  /external/chromium/base/synchronization/
condition_variable.h 149 // Note that RUNNING is an unlikely number to have in RAM by accident.
151 enum RunState { SHUTDOWN = 0, RUNNING = 64213 };
condition_variable_win.cc 17 run_state_(RUNNING),
57 if (RUNNING != run_state_) return; // Destruction in progress.
  /external/oprofile/module/
oprofile.c 33 * against user that try to change through /proc/sys/dev/oprofile/ * running
133 * fully running !
137 if (state == RUNNING)
143 if (state == RUNNING)
191 /* ignore note if we're not up and running fully */
192 if (state != RUNNING)
324 case RUNNING:
527 state = RUNNING;
542 if (state == RUNNING) {
708 if (state != RUNNING)
    [all...]
  /external/valgrind/main/memcheck/tests/
long_namespace_xml.stderr.exp 27 <state>RUNNING</state>
  /frameworks/base/core/java/android/os/
AsyncTask.java 42 * running for long periods of time, it is highly recommended you use the various APIs
258 * Indicates that the task is running.
260 RUNNING,
528 * {@link AsyncTask.Status#RUNNING} or {@link AsyncTask.Status#FINISHED}.
566 * {@link AsyncTask.Status#RUNNING} or {@link AsyncTask.Status#FINISHED}.
574 case RUNNING:
576 + " the task is already running.");
584 mStatus = Status.RUNNING;
609 * still running. Each call to this method will trigger the execution of
  /frameworks/support/v4/java/android/support/v4/content/
ModernAsyncTask.java 95 * Indicates that the task is running.
97 RUNNING,
367 * {@link android.os.AsyncTask.Status#RUNNING} or
401 * {@link android.os.AsyncTask.Status#RUNNING}
408 case RUNNING:
410 + " the task is already running.");
418 mStatus = Status.RUNNING;
439 * still running. Each call to this method will trigger the execution of
  /frameworks/base/core/java/android/animation/
ValueAnimator.java 33 * This class provides a simple timing engine for running animations
63 static final int RUNNING = 1; // Playing normally
127 * STOPPED, RUNNING, SEEKED.
489 * actions based on that time. If the animation is already running, then setCurrentPlayTime()
497 if (mPlayingState != RUNNING) {
654 * @return the number of milliseconds to delay running the animation
705 * property being animated. This value is only sensible while the animation is running. The main
    [all...]
  /external/valgrind/main/exp-sgcheck/tests/
hsg.stderr.exp 28 <state>RUNNING</state>
  /cts/tests/tests/os/src/android/os/cts/
AsyncTaskTest.java 139 assertEquals(AsyncTask.Status.RUNNING, mAsyncTask.getStatus());

Completed in 240 milliseconds

1 2 3