Searched refs:isUniqueWorkPending (Results 1 – 2 of 2) sorted by relevance
71 if (isUniqueWorkPending(workManager, uniqueWorkName)) { in waitForSync()113 public static boolean isUniqueWorkPending(WorkManager workManager, String uniqueWorkName) { in isUniqueWorkPending() method in SyncCompletionWaiter
107 assertThat(SyncCompletionWaiter.isUniqueWorkPending(mMockWorkManager, workName)).isTrue(); in testUniqueWorkStatusForPendingWork()122 assertThat(SyncCompletionWaiter.isUniqueWorkPending(mMockWorkManager, workName)).isFalse(); in testUniqueWorkStatusForCompletedWork()