Searched refs:uniqueWorkName (Results 1 – 2 of 2) sorted by relevance
44 @NonNull String uniqueWorkName) { in waitForSync() argument50 waitForSync(workManager, completableFuture, uniqueWorkName, /* retryCount */ 30); in waitForSync()64 @NonNull String uniqueWorkName, in waitForSync() argument71 if (isUniqueWorkPending(workManager, uniqueWorkName)) { in waitForSync()73 + " Unique work name: " + uniqueWorkName in waitForSync()78 + "Unblocking the query now for " + uniqueWorkName); in waitForSync()113 public static boolean isUniqueWorkPending(WorkManager workManager, String uniqueWorkName) { in isUniqueWorkPending() argument115 workManager.getWorkInfosForUniqueWork(uniqueWorkName); in isUniqueWorkPending()
636 private void executeWork(String uniqueWorkName) throws Exception { in executeWork() argument639 .getWorkInfosForUniqueWork(uniqueWorkName), Exception.class); in executeWork()645 private void cancelWork(String uniqueWorkName) throws Exception { in cancelWork() argument648 .getWorkInfosForUniqueWork(uniqueWorkName), Exception.class); in cancelWork()