Home
last modified time | relevance | path

Searched refs:actualWorkInfo (Results 1 – 3 of 3) sorted by relevance

/packages/modules/DeviceLock/DeviceLockController/tests/robolectric/src/com/android/devicelockcontroller/schedule/
DDeviceLockControllerSchedulerImplTest.java259 WorkInfo actualWorkInfo = actualWorks.get(0); in scheduleInitialCheckInWork() local
260 NetworkRequest networkRequest = actualWorkInfo.getConstraints().getRequiredNetworkRequest(); in scheduleInitialCheckInWork()
265 assertThat(actualWorkInfo.getInitialDelayMillis()).isEqualTo(0); in scheduleInitialCheckInWork()
282 WorkInfo actualWorkInfo = actualWorks.get(0); in scheduleRetryCheckInWork() local
283 NetworkRequest networkRequest = actualWorkInfo.getConstraints().getRequiredNetworkRequest(); in scheduleRetryCheckInWork()
288 assertThat(actualWorkInfo.getInitialDelayMillis()).isEqualTo( in scheduleRetryCheckInWork()
320 WorkInfo actualWorkInfo = actualWorks.get(0); in rescheduleRetryCheckInWork() local
321 NetworkRequest networkRequest = actualWorkInfo.getConstraints().getRequiredNetworkRequest(); in rescheduleRetryCheckInWork()
328 assertThat(actualWorkInfo.getInitialDelayMillis()).isEqualTo(expectedDelay); in rescheduleRetryCheckInWork()
392 WorkInfo actualWorkInfo = actualWorks.get(0); in maybeScheduleInitialCheckIn_noNeedCheckIn_reschedule() local
[all …]
/packages/modules/DeviceLock/DeviceLockController/tests/robolectric/src/com/android/devicelockcontroller/provision/worker/
DDeviceCheckInHelperTest.java246 WorkInfo actualWorkInfo = actualWorks.get(0); in handleGetDeviceCheckInStatusResponse_readyForProvisioning_emptyFcmStartsWork() local
248 NetworkRequest networkRequest = actualWorkInfo.getConstraints().getRequiredNetworkRequest(); in handleGetDeviceCheckInStatusResponse_readyForProvisioning_emptyFcmStartsWork()
250 assertThat(actualWorkInfo.getInitialDelayMillis()).isEqualTo( in handleGetDeviceCheckInStatusResponse_readyForProvisioning_emptyFcmStartsWork()
290 WorkInfo actualWorkInfo = actualWorks.get(0); in handleGetDeviceCheckInStatusResponse_retryCheckIn_emptyFcmStartsWork() local
291 NetworkRequest networkRequest = actualWorkInfo.getConstraints().getRequiredNetworkRequest(); in handleGetDeviceCheckInStatusResponse_retryCheckIn_emptyFcmStartsWork()
293 assertThat(actualWorkInfo.getInitialDelayMillis()).isEqualTo( in handleGetDeviceCheckInStatusResponse_retryCheckIn_emptyFcmStartsWork()
/packages/modules/DeviceLock/DeviceLockController/tests/robolectric/src/com/android/devicelockcontroller/receivers/
DNextProvisionFailedStepReceiverTest.java159 WorkInfo actualWorkInfo = actualWorks.get(0); in verifyReportProvisionStateWorkScheduled() local
160 NetworkRequest networkRequest = actualWorkInfo.getConstraints().getRequiredNetworkRequest(); in verifyReportProvisionStateWorkScheduled()