Home
last modified time | relevance | path

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

/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/sync/
DSyncCompletionWaiter.java71 if (isUniqueWorkPending(workManager, uniqueWorkName)) { in waitForSync()
113 public static boolean isUniqueWorkPending(WorkManager workManager, String uniqueWorkName) { in isUniqueWorkPending() method in SyncCompletionWaiter
/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/sync/
DSyncCompletionWaiterTest.java107 assertThat(SyncCompletionWaiter.isUniqueWorkPending(mMockWorkManager, workName)).isTrue(); in testUniqueWorkStatusForPendingWork()
122 assertThat(SyncCompletionWaiter.isUniqueWorkPending(mMockWorkManager, workName)).isFalse(); in testUniqueWorkStatusForCompletedWork()