Home
last modified time | relevance | path

Searched refs:hasCompletedAllPrerequisites (Results 1 – 4 of 4) sorted by relevance

/frameworks/support/work/workmanager/src/main/java/androidx/work/impl/utils/
DEnqueueRunnable.java164 boolean hasCompletedAllPrerequisites = true; in enqueueWorkWithPrerequisites()
180 hasCompletedAllPrerequisites &= (prerequisiteState == SUCCEEDED); in enqueueWorkWithPrerequisites()
206 hasCompletedAllPrerequisites &= (idAndState.state == SUCCEEDED); in enqueueWorkWithPrerequisites()
243 if (hasPrerequisite && !hasCompletedAllPrerequisites) { in enqueueWorkWithPrerequisites()
/frameworks/support/work/workmanager/src/main/java/androidx/work/impl/model/
DDependencyDao.java49 boolean hasCompletedAllPrerequisites(String id); in hasCompletedAllPrerequisites() method
/frameworks/support/work/workmanager/src/main/java/androidx/work/impl/
DWorkerWrapper.java362 if (mDependencyDao.hasCompletedAllPrerequisites(dependentWorkId)) { in setSucceededAndNotify()
/frameworks/support/work/workmanager/src/androidTest/java/androidx/work/impl/
DWorkerWrapperTest.java276 assertThat(mDependencyDao.hasCompletedAllPrerequisites(work.getStringId()), is(false)); in testDependencies()
287 assertThat(mDependencyDao.hasCompletedAllPrerequisites(work.getStringId()), is(true)); in testDependencies()