Searched refs:workSpecIds (Results 1 – 9 of 9) sorted by relevance
119 List<String> workSpecIds = workSpecDao.getUnfinishedWorkWithTag(tag);120 for (String workSpecId : workSpecIds) {150 List<String> workSpecIds = workSpecDao.getUnfinishedWorkWithName(name);151 for (String workSpecId : workSpecIds) {177 List<String> workSpecIds = workSpecDao.getAllUnfinishedWork();178 for (String workSpecId : workSpecIds) {
118 public void onConstraintMet(@NonNull List<String> workSpecIds) { in onConstraintMet() argument120 for (String workSpecId : workSpecIds) { in onConstraintMet()132 public void onConstraintNotMet(@NonNull List<String> workSpecIds) { in onConstraintNotMet() argument134 mCallback.onAllConstraintsNotMet(workSpecIds); in onConstraintNotMet()
34 void onAllConstraintsMet(@NonNull List<String> workSpecIds); in onAllConstraintsMet() argument41 void onAllConstraintsNotMet(@NonNull List<String> workSpecIds); in onAllConstraintsNotMet() argument
54 public void onAllConstraintsMet(@NonNull List<String> workSpecIds) {55 mUnconstrainedWorkSpecIds = workSpecIds;59 public void onAllConstraintsNotMet(@NonNull List<String> workSpecIds) {60 mConstrainedWorkSpecIds = workSpecIds;
101 public synchronized void onAllConstraintsMet(@NonNull List<String> workSpecIds) { in onAllConstraintsMet() argument102 for (String workSpecId : workSpecIds) { in onAllConstraintsMet()109 public synchronized void onAllConstraintsNotMet(@NonNull List<String> workSpecIds) { in onAllConstraintsNotMet() argument110 for (String workSpecId : workSpecIds) { in onAllConstraintsNotMet()
477 List<String> workSpecIds = mDatabase.workNameDao().getWorkSpecIdsWithName(uniqueName); in testBeginUniqueWork_setsUniqueName() local478 assertThat(work.getStringId(), isIn(workSpecIds)); in testBeginUniqueWork_setsUniqueName()496 List<String> workSpecIds = mDatabase.workNameDao().getWorkSpecIdsWithName(uniqueName); in testEnqueueUniquePeriodicWork_setsUniqueName() local497 assertThat(periodicWork.getStringId(), isIn(workSpecIds)); in testEnqueueUniquePeriodicWork_setsUniqueName()509 List<String> workSpecIds = mDatabase.workNameDao().getWorkSpecIdsWithName(uniqueName); in testBeginUniqueWork_deletesOldWorkOnReplace() local510 assertThat(workSpecIds, containsInAnyOrder(originalWork.getStringId())); in testBeginUniqueWork_deletesOldWorkOnReplace()522 workSpecIds = mDatabase.workNameDao().getWorkSpecIdsWithName(uniqueName); in testBeginUniqueWork_deletesOldWorkOnReplace()524 workSpecIds, in testBeginUniqueWork_deletesOldWorkOnReplace()545 List<String> workSpecIds = mDatabase.workNameDao().getWorkSpecIdsWithName(uniqueName); in testEnqueueUniquePeriodicWork_deletesOldWorkOnReplace() local546 assertThat(workSpecIds, containsInAnyOrder(originalWork.getStringId())); in testEnqueueUniquePeriodicWork_deletesOldWorkOnReplace()[all …]
142 public void onAllConstraintsMet(@NonNull List<String> workSpecIds) { in onAllConstraintsMet() argument148 public void onAllConstraintsNotMet(@NonNull List<String> workSpecIds) { in onAllConstraintsNotMet() argument150 Log.d(TAG, String.format("Constraints changed for %s", workSpecIds)); in onAllConstraintsNotMet()
46 void onConstraintMet(@NonNull List<String> workSpecIds); in onConstraintMet() argument53 void onConstraintNotMet(@NonNull List<String> workSpecIds); in onConstraintNotMet() argument
462 LiveData<List<WorkStatus>> getStatusesById(@NonNull List<String> workSpecIds) {465 dao.getWorkStatusPojoLiveDataForIds(workSpecIds);469 List<WorkStatus> getStatusesByIdSync(@NonNull List<String> workSpecIds) {471 .getWorkStatusPojoForIds(workSpecIds);