/packages/apps/DeskClock/src/com/android/deskclock/data/ |
D | Stopwatch.kt | 38 RESET, RUNNING, PAUSED 48 get() = state == State.RUNNING 55 if (state != State.RUNNING) { 71 return if (state == State.RUNNING) { in start() 74 Stopwatch(State.RUNNING, Utils.now(), Utils.wallClock(), totalTime) in start() 82 return if (state != State.RUNNING) { in pause() 100 if (state != State.RUNNING) { in reset() 117 if (state != State.RUNNING) { in updateAfterTimeSet()
|
D | Timer.kt | 57 RUNNING(1), PAUSED(2), EXPIRED(3), RESET(4), MISSED(5); in <lambda>() 78 get() = state == State.RUNNING in <lambda>() 111 check(!(state != State.RUNNING && state != State.EXPIRED && state != State.MISSED)) { in <lambda>() 122 check(!(state != State.RUNNING && state != State.EXPIRED && state != State.MISSED)) { in <lambda>() 140 return if (state == State.RUNNING || state == State.EXPIRED || state == State.MISSED) { in <lambda>() 143 Timer(id, State.RUNNING, length, totalLength, in <lambda>() 292 state = State.RUNNING in <lambda>() 361 listOf(State.MISSED, State.EXPIRED, State.RUNNING, State.PAUSED, State.RESET) in <lambda>()
|
/packages/apps/DeskClock/tests/src/com/android/deskclock/timer/ |
D | TimerFragmentTest.java | 187 assertStateEquals(Timer.State.RUNNING, 0); in timeClick_startsTimer() 200 assertStateEquals(Timer.State.RUNNING, 1); in timeClick_startsSecondTimer() 213 assertStateEquals(Timer.State.RUNNING, 0); in timeClick_pausesTimer() 228 assertStateEquals(Timer.State.RUNNING, 1); in timeClick_pausesSecondTimer() 244 assertStateEquals(Timer.State.RUNNING, 0); in timeClick_restartsTimer() 248 assertStateEquals(Timer.State.RUNNING, 0); in timeClick_restartsTimer() 261 assertStateEquals(Timer.State.RUNNING, 1); in timeClick_restartsSecondTimer() 267 assertStateEquals(Timer.State.RUNNING, 1); in timeClick_restartsSecondTimer() 277 assertStateEquals(Timer.State.RUNNING, 0); in fabClick_startsTimer() 288 assertStateEquals(Timer.State.RUNNING, 1); in fabClick_startsSecondTimer() [all …]
|
/packages/services/Car/cpp/computepipe/runner/stream_manager/ |
D | SemanticManager.cpp | 91 mState = RUNNING; in handleExecutionPhase() 98 if (mState == RUNNING && e.isAborted()) { in handleExecutionPhase() 103 if (mState == RUNNING) { in handleExecutionPhase() 115 if (mState == RUNNING && (e.isAborted() || e.isTransitionComplete())) { in handleStopWithFlushPhase() 119 if (mState == RUNNING && e.isPhaseEntry()) { in handleStopWithFlushPhase() 132 mState = RUNNING; in handleStopWithFlushPhase() 149 if (mState != RUNNING) { in queuePacket()
|
D | PixelStreamManager.cpp | 197 if (mState != RUNNING) { in queuePacket() 253 mState = RUNNING; in handleExecutionPhase() 260 if (mState == RUNNING && e.isAborted()) { in handleExecutionPhase() 265 if (mState == RUNNING) { in handleExecutionPhase() 281 if (mState == RUNNING && (e.isAborted() || e.isTransitionComplete())) { in handleStopImmediatePhase() 285 if (mState == RUNNING && e.isPhaseEntry()) { in handleStopImmediatePhase() 301 mState = RUNNING; in handleStopImmediatePhase()
|
/packages/services/Car/cpp/evs/manager/aidl/src/ |
D | VirtualCamera.cpp | 426 mStreamState = RUNNING; in startVideoStream() 479 if (mStreamState != RUNNING) { in startVideoStream() 510 return mStreamState != RUNNING || mSourceCameras.empty(); in startVideoStream() 520 if (mStreamState != RUNNING || !mStream) { in startVideoStream() 582 return mStreamState != RUNNING || !mFramesUsed.empty(); in startVideoStream() 585 if (mStreamState != RUNNING) { in startVideoStream() 632 if (mStreamState != RUNNING) { in stopVideoStream() 706 if (mStreamState != RUNNING) { in shutdown() 832 if (mStreamState != RUNNING) { in notify()
|
/packages/apps/Camera2/src/com/android/camera/burst/ |
D | BurstFacadeImpl.java | 48 RUNNING, enumConstant 131 BurstModuleState.RUNNING)) { in startBurst() 171 if (mBurstModuleState.compareAndSet(BurstModuleState.RUNNING, in stopBurst()
|
/packages/services/Car/cpp/computepipe/tests/runner/graph/ |
D | GrpcGraphTest.cpp | 99 EXPECT_EQ(mGrpcGraph->GetGraphState(), PrebuiltGraphState::RUNNING); in TEST_F() 123 EXPECT_EQ(mGrpcGraph->GetGraphState(), PrebuiltGraphState::RUNNING); in TEST_F() 142 EXPECT_EQ(mGrpcGraph->GetGraphState(), PrebuiltGraphState::RUNNING); in TEST_F()
|
/packages/apps/Settings/src/com/android/settings/ |
D | SidecarFragment.java | 137 @IntDef({State.INIT, State.RUNNING, State.SUCCESS, State.ERROR}) 143 int RUNNING = 1; field 297 case SidecarFragment.State.RUNNING: in printState()
|
/packages/services/Car/cpp/evs/manager/1.0/ |
D | VirtualCamera.h | 51 bool isStreaming() { return mStreamState == RUNNING; } in isStreaming() 73 RUNNING, enumerator
|
D | VirtualCamera.cpp | 134 mStreamState = RUNNING; in startVideoStream() 180 if (mStreamState == RUNNING) { in stopVideoStream()
|
D | HalCamera.cpp | 124 if (mStreamState == RUNNING) { in clientStreamStarting() 132 mStreamState = RUNNING; in clientStreamStarting()
|
/packages/modules/Connectivity/service/src/com/android/server/connectivity/ |
D | Nat464Xlat.java | 89 RUNNING, // start() called, and the stacked iface is known to be up. enumConstant 177 return (mState == State.STARTING || mState == State.RUNNING); in isStarted() 191 return mState == State.RUNNING; in isRunning() 235 mState = State.RUNNING; in enterRunningState() 394 case RUNNING: in update()
|
/packages/services/Car/cpp/evs/manager/1.1/ |
D | VirtualCamera.cpp | 66 if (mStreamState == RUNNING) { in shutdown() 340 mStreamState = RUNNING; in startVideoStream() 391 while (mStreamState == RUNNING) { in startVideoStream() 415 return mStreamState != RUNNING || in startVideoStream() 422 } else if (mStreamState == RUNNING) { in startVideoStream() 451 } else if (mStreamState != RUNNING) { in startVideoStream() 508 if (mStreamState == RUNNING) { in stopVideoStream()
|
D | VirtualCamera.h | 44 bool isStreaming() { return mStreamState == RUNNING; } in isStreaming() 117 RUNNING, enumerator
|
/packages/services/Car/cpp/computepipe/runner/client_interface/ |
D | DebuggerImpl.cpp | 108 if (mGraphState != GraphState::RUNNING) { in startPipeProfiling() 170 if (mGraphState == GraphState::RUNNING || mGraphState == GraphState::RESET) { in releaseDebugger() 197 mGraphState = GraphState::RUNNING; in handleExecutionPhase()
|
/packages/services/Car/cpp/evs/manager/aidl/include/ |
D | VirtualCamera.h | 84 return mStreamState == RUNNING; in isStreaming() 109 RUNNING, enumerator
|
/packages/services/Car/cpp/computepipe/runner/graph/ |
D | GrpcGraph.cpp | 215 mGraphState = PrebuiltGraphState::RUNNING; in handleExecutionPhase() 224 if (mGraphState != PrebuiltGraphState::RUNNING) { in handleStopWithFlushPhase() 267 if (mGraphState != PrebuiltGraphState::RUNNING) { in handleStopImmediatePhase() 355 if (mGraphState != PrebuiltGraphState::RUNNING) { in StartGraphProfiling()
|
D | LocalPrebuiltGraph.cpp | 127 mGraphState.store(PrebuiltGraphState::RUNNING); in handleExecutionPhase() 134 if (mGraphState.load() != PrebuiltGraphState::RUNNING) { in handleStopWithFlushPhase() 149 if (mGraphState.load() != PrebuiltGraphState::RUNNING) { in handleStopImmediatePhase()
|
/packages/services/Car/cpp/computepipe/aidl/aidl_api/android.automotive.computepipe.runner/current/android/automotive/computepipe/runner/ |
D | PipeState.aidl | 23 RUNNING = 2, enumConstant
|
/packages/services/Car/cpp/computepipe/aidl/aidl_api/android.automotive.computepipe.runner/1/android/automotive/computepipe/runner/ |
D | PipeState.aidl | 23 RUNNING = 2, enumConstant
|
/packages/services/Car/cpp/computepipe/aidl/android/automotive/computepipe/runner/ |
D | PipeState.aidl | 35 RUNNING, enumConstant
|
/packages/services/Car/cpp/computepipe/types/ |
D | GraphState.h | 25 RUNNING, enumerator
|
/packages/modules/Bluetooth/system/test/fake/ |
D | fake_thread.cc | 31 return is_running_ == State::RUNNING; in is_running()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ |
D | TimeoutTask.java | 51 if (getStatus() == AsyncTask.Status.RUNNING) { in prepare()
|