Home
last modified time | relevance | path

Searched refs:uniqueWorkName (Results 1 – 2 of 2) sorted by relevance

/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/sync/
DSyncCompletionWaiter.java44 @NonNull String uniqueWorkName) { in waitForSync() argument
50 waitForSync(workManager, completableFuture, uniqueWorkName, /* retryCount */ 30); in waitForSync()
64 @NonNull String uniqueWorkName, in waitForSync() argument
71 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() argument
115 workManager.getWorkInfosForUniqueWork(uniqueWorkName); in isUniqueWorkPending()
/packages/modules/DeviceLock/DeviceLockController/tests/robolectric/src/com/android/devicelockcontroller/policy/
DProvisionHelperImplTest.java636 private void executeWork(String uniqueWorkName) throws Exception { in executeWork() argument
639 .getWorkInfosForUniqueWork(uniqueWorkName), Exception.class); in executeWork()
645 private void cancelWork(String uniqueWorkName) throws Exception { in cancelWork() argument
648 .getWorkInfosForUniqueWork(uniqueWorkName), Exception.class); in cancelWork()