Home
last modified time | relevance | path

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

12

/packages/apps/DeskClock/src/com/android/deskclock/data/
DStopwatch.kt38 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()
DTimer.kt57 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/
DTimerFragmentTest.java187 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/
DSemanticManager.cpp91 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()
DPixelStreamManager.cpp197 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/modules/Connectivity/service/src/com/android/server/connectivity/
DNat464Xlat.java82 RUNNING, // start() called, and the stacked iface is known to be up. enumConstant
158 return (mState == State.STARTING || mState == State.RUNNING); in isStarted()
172 return mState == State.RUNNING; in isRunning()
208 mState = State.RUNNING; in enterRunningState()
358 case RUNNING: in update()
/packages/services/Car/cpp/evs/manager/1.1/
DVirtualCamera.cpp54 if (mStreamState == RUNNING) { in shutdown()
315 mStreamState = RUNNING; in startVideoStream()
357 while (mStreamState == RUNNING) { in startVideoStream()
382 return mStreamState != RUNNING || in startVideoStream()
390 } else if (mStreamState == RUNNING) { in startVideoStream()
415 } else if (mStreamState != RUNNING) { in startVideoStream()
474 if (mStreamState == RUNNING) { in stopVideoStream()
DVirtualCamera.h70 bool isStreaming() { return mStreamState == RUNNING; } in isStreaming()
130 RUNNING, enumerator
/packages/apps/Camera2/src/com/android/camera/burst/
DBurstFacadeImpl.java48 RUNNING, enumConstant
131 BurstModuleState.RUNNING)) { in startBurst()
171 if (mBurstModuleState.compareAndSet(BurstModuleState.RUNNING, in stopBurst()
/packages/services/Car/cpp/computepipe/tests/runner/graph/
DGrpcGraphTest.cpp99 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/
DSidecarFragment.java137 @IntDef({State.INIT, State.RUNNING, State.SUCCESS, State.ERROR})
143 int RUNNING = 1; field
297 case SidecarFragment.State.RUNNING: in printState()
DAsyncTaskSidecar.java53 setState(State.RUNNING, Substate.UNUSED); in run()
/packages/services/Car/cpp/evs/manager/1.0/
DVirtualCamera.h54 bool isStreaming() { return mStreamState == RUNNING; } in isStreaming()
76 RUNNING, enumerator
DVirtualCamera.cpp141 mStreamState = RUNNING; in startVideoStream()
189 if (mStreamState == RUNNING) { in stopVideoStream()
/packages/services/Car/cpp/computepipe/runner/client_interface/
DDebuggerImpl.cpp108 if (mGraphState != GraphState::RUNNING) { in startPipeProfiling()
170 if (mGraphState == GraphState::RUNNING || mGraphState == GraphState::RESET) { in releaseDebugger()
197 mGraphState = GraphState::RUNNING; in handleExecutionPhase()
DAidlClientImpl.cpp51 case RUNNING: in ToAidlState()
52 return PipeState::RUNNING; in ToAidlState()
/packages/services/Car/cpp/computepipe/runner/graph/
DGrpcGraph.cpp215 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()
DLocalPrebuiltGraph.cpp127 mGraphState.store(PrebuiltGraphState::RUNNING); in handleExecutionPhase()
134 if (mGraphState.load() != PrebuiltGraphState::RUNNING) { in handleStopWithFlushPhase()
149 if (mGraphState.load() != PrebuiltGraphState::RUNNING) { in handleStopImmediatePhase()
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/
DStopwatchFragment.kt224 Stopwatch.State.RUNNING -> doAddLap() in <lambda>()
275 Stopwatch.State.RUNNING -> { in <lambda>()
328 if (priorState == Stopwatch.State.RUNNING) { in <lambda>()
/packages/services/Car/cpp/computepipe/aidl/aidl_api/android.automotive.computepipe.runner/1/android/automotive/computepipe/runner/
DPipeState.aidl23 RUNNING = 2, enumConstant
/packages/services/Car/cpp/computepipe/aidl/aidl_api/android.automotive.computepipe.runner/current/android/automotive/computepipe/runner/
DPipeState.aidl23 RUNNING = 2, enumConstant
/packages/services/Car/cpp/computepipe/aidl/android/automotive/computepipe/runner/
DPipeState.aidl35 RUNNING, enumConstant
/packages/services/Car/cpp/computepipe/types/
DGraphState.h25 RUNNING, enumerator
/packages/apps/DocumentsUI/src/com/android/documentsui/
DTimeoutTask.java51 if (getStatus() == AsyncTask.Status.RUNNING) { in prepare()
/packages/apps/Settings/src/com/android/settings/network/
DSwitchToEuiccSubscriptionSidecar.java51 setState(State.RUNNING, Substate.UNUSED); in run()

12