/packages/apps/DeskClock/src/com/android/deskclock/data/ |
Stopwatch.java | 23 import static com.android.deskclock.data.Stopwatch.State.RUNNING; 30 public enum State { RESET, RUNNING, PAUSED } 40 /** Elapsed time in ms the stopwatch was last started; {@link #UNUSED} if not running. */ 46 /** Elapsed time in ms this stopwatch has accumulated while running. */ 61 public boolean isRunning() { return mState == RUNNING; } 67 if (mState != RUNNING) { 86 * @return a copy of this stopwatch that is running 89 if (mState == RUNNING) { 93 return new Stopwatch(RUNNING, now(), wallClock(), getTotalTime()); 100 if (mState != RUNNING) { [all...] |
Timer.java | 34 import static com.android.deskclock.data.Timer.State.RUNNING; 42 RUNNING(1), PAUSED(2), EXPIRED(3), RESET(4), MISSED(5); 93 /** The time at which the timer was last started; {@link #UNUSED} when not running. */ 128 public boolean isRunning() { return mState == RUNNING; } 160 if (mState != RUNNING && mState != EXPIRED && mState != MISSED) { 171 if (mState != RUNNING && mState != EXPIRED && mState != MISSED) { 191 * @return a copy of this timer that is running, expired or missed 194 if (mState == RUNNING || mState == EXPIRED || mState == MISSED) { 198 return new Timer(mId, RUNNING, mLength, mTotalLength, now(), wallClock(), mRemainingTime, 347 state = RUNNING; [all...] |
/developers/build/prebuilts/gradle/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/util/ |
AsyncTask.java | 62 * running for long periods of time, it is highly recommended you use the various APIs 284 * Indicates that the task is running. 286 RUNNING, 554 * {@link AsyncTask.Status#RUNNING} or {@link AsyncTask.Status#FINISHED}. 592 * {@link AsyncTask.Status#RUNNING} or {@link AsyncTask.Status#FINISHED}. 600 case RUNNING: 602 + " the task is already running."); 610 mStatus = Status.RUNNING; 635 * still running. Each call to this method will trigger the execution of
|
/developers/samples/android/ui/graphics/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/util/ |
AsyncTask.java | 62 * running for long periods of time, it is highly recommended you use the various APIs 284 * Indicates that the task is running. 286 RUNNING, 554 * {@link AsyncTask.Status#RUNNING} or {@link AsyncTask.Status#FINISHED}. 592 * {@link AsyncTask.Status#RUNNING} or {@link AsyncTask.Status#FINISHED}. 600 case RUNNING: 602 + " the task is already running."); 610 mStatus = Status.RUNNING; 635 * still running. Each call to this method will trigger the execution of
|
/development/samples/browseable/DisplayingBitmaps/src/com.example.android.displayingbitmaps/util/ |
AsyncTask.java | 62 * running for long periods of time, it is highly recommended you use the various APIs 284 * Indicates that the task is running. 286 RUNNING, 554 * {@link AsyncTask.Status#RUNNING} or {@link AsyncTask.Status#FINISHED}. 592 * {@link AsyncTask.Status#RUNNING} or {@link AsyncTask.Status#FINISHED}. 600 case RUNNING: 602 + " the task is already running."); 610 mStatus = Status.RUNNING; 635 * still running. Each call to this method will trigger the execution of
|
/external/python/cpython3/Lib/concurrent/futures/ |
_base.py | 18 RUNNING = 'RUNNING' 27 RUNNING, 35 RUNNING: "running", 325 cannot be cancelled if it is running or has already completed. 328 if self._state in [RUNNING, FINISHED]: 345 def running(self): member in class:Future 348 return self._state == RUNNING 444 """Mark the future as running or process any cancel notifications [all...] |
/external/python/futures/concurrent/futures/ |
_base.py | 20 RUNNING = 'RUNNING' 29 RUNNING, 37 RUNNING: "running", 375 cannot be cancelled if it is running or has already completed. 378 if self._state in [RUNNING, FINISHED]: 395 def running(self): member in class:Future 398 return self._state == RUNNING 520 """Mark the future as running or process any cancel notifications [all...] |
/external/testng/src/main/java/org/testng/internal/ |
DynamicGraph.java | 31 READY, RUNNING, FINISHED 114 case RUNNING: m_nodesRunning.add(node); break; 139 case RUNNING: return m_nodesRunning.size(); 156 result.append("\n Running:" + m_nodesRunning); 181 String RUNNING = "[style=filled color=green]"; 191 color = freeNodes.contains(n) ? FREE : RUNNING;
|
/external/walt/android/WALT/app/src/main/java/org/chromium/latency/walt/ |
Utils.java | 181 RUNNING,
|
/frameworks/base/apct-tests/perftests/utils/src/android/perftests/utils/ |
BenchmarkState.java | 54 private static final int RUNNING = 2; // The benchmark is running. 90 // This method can be called only when the timer is running. 105 "Unable to resume the benchmark. The benchmark is already running."); 130 mState = RUNNING; 171 case RUNNING:
|
/frameworks/base/core/java/android/os/ |
AsyncTask.java | 45 * running for long periods of time, it is highly recommended you use the various APIs 273 * Indicates that the task is running. 275 RUNNING, 588 * {@link AsyncTask.Status#RUNNING} or {@link AsyncTask.Status#FINISHED}. 627 * {@link AsyncTask.Status#RUNNING} or {@link AsyncTask.Status#FINISHED}. 636 case RUNNING: 638 + " the task is already running."); 646 mStatus = Status.RUNNING; 672 * still running. Each call to this method will trigger the execution of
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
Nat464Xlat.java | 56 // The network states in which running clatd is supported. 64 // The network we're running on, and its type. 70 RUNNING, // start() called, and the stacked iface is known to be up. 101 * A true result corresponds to internal states STARTING and RUNNING. 118 return mState == State.RUNNING; 151 * Enter running state just after getting confirmation that the stacked interface is up, and 155 mState = State.RUNNING; 229 * has no idea that 464xlat is running on top of it. 239 Slog.d(TAG, "clatd running, updating NAI for " + mIface); 277 * Adds stacked link on base link and transitions to RUNNING state [all...] |
/frameworks/support/loader/src/main/java/androidx/loader/content/ |
ModernAsyncTask.java | 103 * Indicates that the task is running. 105 RUNNING, 392 * {@link android.os.AsyncTask.Status#RUNNING} or 426 * {@link android.os.AsyncTask.Status#RUNNING} 433 case RUNNING: 435 + " the task is already running."); 445 mStatus = Status.RUNNING; 466 * still running. Each call to this method will trigger the execution of
|
/frameworks/support/work/workmanager/src/main/java/androidx/work/impl/model/ |
WorkTypeConverters.java | 25 import static androidx.work.State.RUNNING; 53 int RUNNING = 1; 93 case RUNNING: 94 return StateIds.RUNNING; 126 case StateIds.RUNNING: 127 return RUNNING;
|
/hardware/google/av/media/sfplugin/ |
CCodec.h | 116 RUNNING, 119 STARTING, // ALLOCATED -> RUNNING 120 STOPPING, // RUNNING -> ALLOCATED 121 FLUSHING, // RUNNING -> FLUSHED 122 RESUMING, // FLUSHED -> RUNNING
|
/packages/apps/Camera2/src/com/android/camera/burst/ |
BurstFacadeImpl.java | 48 RUNNING, 79 Log.e(TAG, "Exception while running the burst" + error); 111 * running. 131 BurstModuleState.RUNNING)) { 171 if (mBurstModuleState.compareAndSet(BurstModuleState.RUNNING,
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/offscreen/ |
ProjectionOffscreenActivity.java | 71 private enum TestStatus { PASSED, FAILED, RUNNING }; 72 protected TestStatus mTestStatus = TestStatus.RUNNING; 81 Log.e(TAG, "Error running onKeyEvent", e); 105 mStatusView.setText("Running test..."); 208 && mTestStatus == TestStatus.RUNNING 222 if (mTestStatus == TestStatus.RUNNING) {
|
/external/v4l2_codec2/include/ |
C2VDAComponent.h | 108 // The component is stopped. State will change to RUNNING when start() is called by 111 // The component is running, State will change to LOADED when stop() or reset() is called by 113 RUNNING,
|
/development/samples/Snake/src/com/example/android/snake/ |
SnakeView.java | 40 * Current mode of application: READY to run, RUNNING, or you have already lost. static final 46 public static final int RUNNING = 2; 268 setMode(RUNNING); 277 setMode(RUNNING); 324 * Updates the current mode of the application (RUNNING or PAUSED or the like) as well as sets 333 if (newMode == RUNNING && oldMode != RUNNING) { 367 * @return the Game state as Running, Ready, Paused, Lose 407 * Handles the basic update loop, checking to see if we are in the running state, determining if 411 if (mMode == RUNNING) { [all...] |
/external/glide/library/src/main/java/com/bumptech/glide/request/ |
GenericRequest.java | 41 /** Created but not yet running. */ 44 RUNNING, 332 return status == Status.RUNNING || status == Status.WAITING_FOR_SIZE; 404 status = Status.RUNNING;
|
/external/libchrome/base/ |
tracked_objects.h | 518 UNINITIALIZED, // Pristine, link-time state before running. [all...] |
/frameworks/av/camera/tests/ |
CameraBinderTests.cpp | 150 RUNNING, 193 mLastStatus = RUNNING;
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/vr/ |
VrListenerVerifierActivity.java | 63 RUNNING, 128 if (currentTestStatus == Status.RUNNING) { 130 // was running most likely due to a configuration change 136 // has finished running most likely due to a configuration change 214 persistentTestStatusHandler.setStatusOfTest(mCurrentIdx, Status.RUNNING); 235 // destroyed while this test was running 366 InteractiveTestCase.this.setStatus(Status.RUNNING); 385 case RUNNING:
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/framework/jdwp/ |
JDWPConstants.java | 42 public static final byte RUNNING = 1; 61 case RUNNING: 62 return "RUNNING";
|
/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
ServiceManagerTest.java | 161 assertState(manager, Service.State.RUNNING, a, b); 189 assertState(manager, Service.State.RUNNING, a, c, e); 327 assertEquals(service.toString(), service.isRunning(), state == Service.State.RUNNING); 385 // ensure that the thread running the failure callbacks is not the main thread.
|