Home
last modified time | relevance | path

Searched refs:workInfos (Results 1 – 4 of 4) sorted by relevance

/packages/modules/DeviceLock/DeviceLockController/tests/robolectric/src/com/android/devicelockcontroller/policy/
DFinalizationControllerImplTest.java90 List<WorkInfo> workInfos = Futures.getChecked(workInfosFuture, Exception.class); in notifyRestrictionsCleared_startsReportingWork() local
91 assertThat(workInfos).isNotEmpty(); in notifyRestrictionsCleared_startsReportingWork()
109 List<WorkInfo> workInfos = Futures.getChecked(workInfosFuture, Exception.class); in finalizeNotEnrolledDevice_doesNotStartReportingWork() local
110 assertThat(workInfos).isEmpty(); in finalizeNotEnrolledDevice_doesNotStartReportingWork()
152 List<WorkInfo> workInfos = Futures.getChecked(workInfosFuture, Exception.class); in unreportedStateInitializedFromDisk_reportsWork() local
153 assertThat(workInfos).isNotEmpty(); in unreportedStateInitializedFromDisk_reportsWork()
DDevicePolicyControllerImplTest.java1119 List<WorkInfo> workInfos = Futures.getChecked(workInfosFuture, Exception.class); in assertLockTaskModeStarted() local
1120 assertThat(workInfos).isNotEmpty(); in assertLockTaskModeStarted()
1126 List<WorkInfo> workInfos = Futures.getChecked(workInfosFuture, Exception.class); in assertLockTaskModeNotStarted() local
1127 assertThat(workInfos).isEmpty(); in assertLockTaskModeNotStarted()
1133 List<WorkInfo> workInfos = Futures.getChecked(workInfosFuture, Exception.class); in assertReportSetupFailedWorkStarted() local
1134 assertThat(workInfos).isNotEmpty(); in assertReportSetupFailedWorkStarted()
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/sync/
DSyncCompletionWaiter.java117 List<WorkInfo> workInfos = future.get(); in isUniqueWorkPending() local
118 for (WorkInfo workInfo : workInfos) { in isUniqueWorkPending()
/packages/modules/DeviceLock/DeviceLockController/tests/robolectric/src/com/android/devicelockcontroller/activities/
DProgressFragmentTest.java226 List<WorkInfo> workInfos = workManager.getWorkInfosForUniqueWork( in onCreateView_viewsAndListenersShouldBeCorrectlySet() local
228 assertThat(workInfos.size()).isEqualTo(1); in onCreateView_viewsAndListenersShouldBeCorrectlySet()