Home
last modified time | relevance | path

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

12

/frameworks/base/apct-tests/perftests/multiuser/src/android/multiuser/
DBenchmarkRunner.java34 private static final int RUNNING = 1; // The benchmark is running. field in BenchmarkRunner
49 mState = RUNNING; in keepRunning()
52 case RUNNING: in keepRunning()
88 if (mState != RUNNING) { in pauseTiming()
100 mState = RUNNING; in resumeTiming()
/frameworks/support/work/workmanager/src/main/java/androidx/work/impl/model/
DWorkTypeConverters.java25 import static androidx.work.State.RUNNING;
53 int RUNNING = 1; field
93 case RUNNING: in stateToInt()
94 return StateIds.RUNNING; in stateToInt()
126 case StateIds.RUNNING: in intToState()
127 return RUNNING; in intToState()
/frameworks/base/services/core/java/com/android/server/notification/
DRankingReconsideration.java29 private static final int RUNNING = 1; field in RankingReconsideration
53 mState = RUNNING; in run()
/frameworks/base/apct-tests/perftests/utils/src/android/perftests/utils/
DManualBenchmarkState.java69 private static final int RUNNING = 2; // The benchmark is running. field in ManualBenchmarkState
90 mState = RUNNING; in beginBenchmark()
116 case RUNNING: { in keepRunning()
DBenchmarkState.java54 private static final int RUNNING = 2; // The benchmark is running. field in BenchmarkState
130 mState = RUNNING; in beginBenchmark()
171 case RUNNING: in keepRunning()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DGraphRunner.java56 public static final int RUNNING = 4; field in GraphRunner.State
198 if (mState.check(State.RUNNING)) { in enterSubGraph()
249 if (mState.current() == State.RUNNING) { in onResume()
256 if (mState.addState(State.HALTED) && mState.check(State.RUNNING)) { in onHalt()
263 if (mState.current() == State.RUNNING) { in onRestart()
306 mState.setState(State.RUNNING); in onBegin()
326 if (mState.check(State.RUNNING)) { in onStop()
347 if (mState.current() == State.RUNNING) { in onStep()
/frameworks/base/core/java/android/os/
DSystemService.java37 RUNNING("running"), enumConstant
99 return State.RUNNING.equals(getState(service)); in isRunning()
DAsyncTask.java275 RUNNING, enumConstant
636 case RUNNING: in executeOnExecutor()
646 mStatus = Status.RUNNING; in executeOnExecutor()
/frameworks/base/services/core/java/com/android/server/connectivity/
DNat464Xlat.java70 RUNNING, // start() called, and the stacked iface is known to be up. enumConstant
118 return mState == State.RUNNING; in isRunning()
155 mState = State.RUNNING; in enterRunningState()
/frameworks/support/loader/src/main/java/androidx/loader/content/
DModernAsyncTask.java105 RUNNING, enumConstant
433 case RUNNING: in executeOnExecutor()
445 mStatus = Status.RUNNING; in executeOnExecutor()
/frameworks/support/work/workmanager/src/main/java/androidx/work/
DState.java32 RUNNING, enumConstant
/frameworks/support/work/workmanager/src/main/java/androidx/work/impl/
DWorkDatabase.java21 import static androidx.work.impl.model.WorkTypeConverters.StateIds.RUNNING;
65 + " WHERE state=" + RUNNING;
DWorkerWrapper.java22 import static androidx.work.State.RUNNING;
172 } else if (state == RUNNING) { in run()
201 if (status == RUNNING) { in notifyIncorrectStatus()
276 mWorkSpecDao.setState(RUNNING, mWorkSpecId); in trySetRunning()
/frameworks/av/cmds/screenrecord/
DOverlay.cpp84 assert(mState == RUNNING); in start()
113 mState = RUNNING; in threadLoop()
116 while (mState == RUNNING) { in threadLoop()
DOverlay.h113 enum { UNINITIALIZED, INIT, RUNNING, STOPPING, STOPPED } mState; enumerator
/frameworks/support/work/workmanager/src/androidTest/java/androidx/work/impl/
DWorkManagerImplTest.java28 import static androidx.work.State.RUNNING;
267 assertThat(workSpecDao.getState(work2.getStringId()), isOneOf(ENQUEUED, RUNNING)); in testEnqueue_insertWithCompletedDependencies_isNotStatusBlocked()
865 workSpecDao.setState(RUNNING, work0.getStringId()); in testGetStatusesById()
873 RUNNING, in testGetStatusesById()
879 workSpecDao.setState(RUNNING, work1.getStringId()); in testGetStatusesById()
887 RUNNING, in testGetStatusesById()
904 .setInitialState(RUNNING) in testGetStatusesByTagSync()
920 RUNNING, in testGetStatusesByTagSync()
955 .setInitialState(RUNNING) in testGetStatusesByTag()
982 RUNNING, in testGetStatusesByTag()
[all …]
DWorkerWrapperTest.java23 import static androidx.work.State.RUNNING;
158 .setInitialState(RUNNING) in testNotEnqueued()
236 assertThat(mWorkSpecDao.getState(work.getStringId()), is(RUNNING)); in testRunning()
245 .setInitialState(RUNNING) in testRunning_onlyWhenEnqueued()
/frameworks/support/work/workmanager/src/main/java/androidx/work/impl/utils/
DStopWorkRunnable.java51 if (workSpecDao.getState(mWorkSpecId) == State.RUNNING) { in run()
DEnqueueRunnable.java25 import static androidx.work.State.RUNNING;
222 if (idAndState.state == ENQUEUED || idAndState.state == RUNNING) { in enqueueWorkWithPrerequisites()
/frameworks/av/services/camera/libcameraservice/api1/client2/
DZslProcessor.h100 RUNNING, enumerator
DZslProcessor.cpp130 mState(RUNNING), in ZslProcessor()
206 if (mState != RUNNING) return; in onResultAvailable()
411 mState = RUNNING; in doNotifyInputReleasedLocked()
/frameworks/support/work/workmanager-firebase/src/androidTest/java/androidx/work/impl/background/firebase/
DFirebaseJobServiceTest.java81 assertThat(workSpecDao.getState(work.getStringId()), is(State.RUNNING)); in testOnStopJob_ResetsWorkStatus()
/frameworks/support/work/workmanager/src/androidTest/java/androidx/work/impl/background/systemjob/
DSystemJobServiceTest.java141 assertThat(workSpecDao.getState(work.getStringId()), is(State.RUNNING)); in testOnStopJob_ResetsWorkStatus()
/frameworks/av/camera/tests/
DCameraBinderTests.cpp150 RUNNING, enumerator
193 mLastStatus = RUNNING; in onCaptureStarted()
/frameworks/base/core/java/android/widget/
DSelectionActionModeHelper.java913 if (getStatus() == Status.RUNNING) { in onTimeOut()

12