Searched refs:CANCELLED (Results 1 – 18 of 18) sorted by relevance
22 import static androidx.work.State.CANCELLED;57 int CANCELLED = 5; field59 String COMPLETED_STATES = "(" + SUCCEEDED + ", " + FAILED + ", " + CANCELLED + ")";105 case CANCELLED: in stateToInt()106 return StateIds.CANCELLED; in stateToInt()138 case StateIds.CANCELLED: in intToState()139 return CANCELLED; in intToState()
31 private static final int CANCELLED = 3; field in RankingReconsideration70 mState = CANCELLED; in cancel()77 return mState == CANCELLED; in isCancelled()
53 CANCELLED; enumConstant61 return (this == SUCCEEDED || this == FAILED || this == CANCELLED); in isFinished()
25 import static androidx.work.State.CANCELLED;291 .setInitialState(CANCELLED) in testEnqueue_insertWithCancelledDependencies_isStatusCancelled()297 assertThat(workSpecDao.getState(work1.getStringId()), is(CANCELLED)); in testEnqueue_insertWithCancelledDependencies_isStatusCancelled()301 assertThat(workSpecDao.getState(work2.getStringId()), is(CANCELLED)); in testEnqueue_insertWithCancelledDependencies_isStatusCancelled()1124 assertThat(workSpecDao.getState(work0.getStringId()), is(CANCELLED)); in testCancelWorkById()1125 assertThat(workSpecDao.getState(work1.getStringId()), is(not(CANCELLED))); in testCancelWorkById()1143 assertThat(workSpecDao.getState(work0.getStringId()), is(CANCELLED)); in testCancelWorkById_cancelsDependentWork()1144 assertThat(workSpecDao.getState(work1.getStringId()), is(CANCELLED)); in testCancelWorkById_cancelsDependentWork()1165 assertThat(workSpecDao.getState(work1.getStringId()), is(CANCELLED)); in testCancelWorkById_cancelsUnfinishedWorkOnly()1195 assertThat(workSpecDao.getState(work0.getStringId()), is(CANCELLED)); in testCancelAllWorkByTag()[all …]
20 import static androidx.work.State.CANCELLED;172 .setInitialState(CANCELLED) in testCancelled()180 assertThat(mWorkSpecDao.getState(work.getStringId()), is(CANCELLED)); in testCancelled()423 .setInitialState(CANCELLED) in testDependencies_failsUncancelledDependentsOnFailure()448 assertThat(mWorkSpecDao.getState(cancelledWork.getStringId()), is(CANCELLED)); in testDependencies_failsUncancelledDependentsOnFailure()
22 import static androidx.work.State.CANCELLED;183 } else if (prerequisiteState == CANCELLED) { in enqueueWorkWithPrerequisites()209 } else if (idAndState.state == CANCELLED) { in enqueueWorkWithPrerequisites()247 workSpec.state = CANCELLED; in enqueueWorkWithPrerequisites()
19 import static androidx.work.State.CANCELLED;77 workSpecDao.setState(CANCELLED, workSpecId); in recursivelyCancelWorkAndDependents()
33 CANCELLED, enumConstant
523 CANCELLED, /* The post dial string playback was cancelled enumConstant572 if (mPostDialState == PostDialState.CANCELLED in getRemainingPostDialString()
414 setPostDialState(PostDialState.CANCELLED); in cancelPostDial()861 if (mPostDialState == PostDialState.CANCELLED) { in processNextPostDialChar()
182 mState = State.CANCELLED; in cancel()334 mState = State.CANCELLED; in onSetComplete()
19 import static androidx.work.State.CANCELLED;316 if (mWorkSpecDao.getState(workSpecId) != CANCELLED) { in recursivelyFailWorkAndDependents()
79 CANCELLED = 2, enumerator222 TunerError cause = TunerError::CANCELLED; in tuneComplete_1_1()
421 setPostDialState(PostDialState.CANCELLED); in cancelPostDial()540 if (mPostDialState == PostDialState.CANCELLED) { in processNextPostDialChar()
536 mState = State.CANCELLED; in cancel()
643 mState = State.CANCELLED; in cancel()1314 mState = State.CANCELLED; in onSetComplete()
1496 assertEquals(Connection.PostDialState.CANCELLED, cn.getPostDialState());1728 assertEquals(MmiCode.State.CANCELLED, mmi.getState());1782 assertEquals(MmiCode.State.CANCELLED, mmi.getState());
META-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/ ...