/packages/modules/DeviceLock/DeviceLockController/tests/robolectric/src/com/android/devicelockcontroller/provision/worker/ |
D | DeviceCheckInWorkerTest.java | 127 final Result result = Futures.getUnchecked(mWorker.startWork()); in checkIn_allInfoAvailable_checkInResponseSuccessfulAndHandleable_successAndLogged() 146 final Result result = Futures.getUnchecked(mWorker.startWork()); in checkIn_allInfoAvailable_checkInResponseSuccessfulNotHandleable_retryAndLogged() 165 final Result result = Futures.getUnchecked(mWorker.startWork()); in checkIn_allInfoAvailable_checkInResponseHasRecoverableError_retryAndLogCheckIn() 184 final Result result = Futures.getUnchecked(mWorker.startWork()); in checkIn_allInfoAvailable_checkInResponseHasNonRecoverableError_failAndLogCheckIn() 206 Futures.getUnchecked(mWorker.startWork()); in checkIn_carrierInfoUnavailable_shouldAtLeastSendCheckInRequest() 223 Futures.getUnchecked(mWorker.startWork()); in checkIn_deviceIdsUnavailable_shouldNotSendCheckInRequest() 245 final Result result = Futures.getUnchecked(mWorker.startWork()); in checkIn_fcmTokenUnavailable_responseSuccessfulAndLogged()
|
D | ReportDeviceProvisionStateWorkerTest.java | 138 assertThat(Futures.getUnchecked(mWorker.startWork())).isEqualTo(Result.retry()); in doWork_responseHasRecoverableError_returnRetryAndNotLogged() 147 assertThat(Futures.getUnchecked(mWorker.startWork())).isEqualTo(Result.failure()); in doWork_responseHasFatalError_returnFailureAndNotLogged() 159 assertThat(Futures.getUnchecked(mWorker.startWork())).isEqualTo(Result.success()); in doWork_responseIsSuccessful_globalParametersSetAndEventLogged() 177 assertThat(Futures.getUnchecked(mWorker.startWork())).isEqualTo(Result.success()); in doWork_mandatory_doesNotSendNotificationOrScheduleAlarm() 197 assertThat(Futures.getUnchecked(mWorker.startWork())).isEqualTo(Result.success()); in doWork_deferred_retryState_schedulesAlarm() 213 assertThat(Futures.getUnchecked(mWorker.startWork())).isEqualTo(Result.success()); in doWork_deferred_dismissibleUiState_schedulesAlarmAndSendsNotification() 243 assertThat(Futures.getUnchecked(mWorker.startWork())).isEqualTo(Result.success()); in doWork_deferred_persistentUiState_schedulesAlarmAndSendsOngoingNotification() 273 assertThat(Futures.getUnchecked(mWorker.startWork())).isEqualTo(Result.success()); in doWork_deferred_factoryResetState_schedulesResetDeviceAlarm()
|
D | SetupWizardCompletionTimeoutWorkerTest.java | 92 assertThat(Futures.getUnchecked(mWorker.startWork())) in doWork_suwComplete_doesNotStartFlow() 107 assertThat(Futures.getUnchecked(mWorker.startWork())) in doWork_suwNotComplete_notUnprovisioned_doesNotStartFlow() 125 assertThat(Futures.getUnchecked(mWorker.startWork())) in doWork_suwNotComplete_unprovisioned_provisionNotReady_doesNotStartFlow() 145 assertThat(Futures.getUnchecked(mWorker.startWork())) in doWork_suwNotComplete_unprovisioned_provisionReady_startsFlow()
|
D | ReportDeviceLockProgramCompleteWorkerTest.java | 94 assertThat(Futures.getUnchecked(mWorker.startWork())).isEqualTo(Result.success()); in doWork_responseIsSuccessful_returnSuccess() 102 assertThat(Futures.getUnchecked(mWorker.startWork())).isEqualTo(Result.retry()); in doWork_responseHasRecoverableError_returnRetry() 110 assertThat(Futures.getUnchecked(mWorker.startWork())).isEqualTo(Result.failure()); in doWork_responseHasFatalError_returnFailure()
|
D | IsDeviceInApprovedCountryWorkerTest.java | 98 Result actual = Futures.getUnchecked(mWorker.startWork()); in doWork_responseIsSuccessful_isInApprovedCountry_correctResultAndLog() 113 Result actual = Futures.getUnchecked(mWorker.startWork()); in doWork_responseIsSuccessful_isNotInApprovedCountry_correctResultAndLog() 127 Result actual = Futures.getUnchecked(mWorker.startWork()); in doWork_responseIsNotSuccessful_failureResultAndLog()
|
D | PauseProvisioningWorkerTest.java | 95 assertThat(Futures.getUnchecked(mWorker.startWork())).isEqualTo(Result.success()); in doWork_responseIsSuccessful_resultSuccessAndLogged() 104 assertThat(Futures.getUnchecked(mWorker.startWork())).isEqualTo(Result.failure()); in doWork_responseIsNotSuccessful_resultFailure()
|
D | GetFcmTokenWorkerTest.java | 105 final Result result = Futures.getUnchecked(mWorker.startWork()); in startWork_returnsExpectedResult()
|
/packages/modules/DeviceLock/DeviceLockController/tests/robolectric/src/com/android/devicelockcontroller/policy/ |
D | StartLockTaskModeWorkerTest.java | 135 final Result result = mBgExecutor.submit(() -> mWorker.startWork().get()).get(); in doWork_launchesActivityInLockedTaskMode() 160 final Result result = mBgExecutor.submit(() -> mWorker.startWork().get()).get(); in doWork_hitsException_failsAndEnforcesCriticalFailure() 174 final Result result = mBgExecutor.submit(() -> mWorker.startWork().get()).get(); in doWork_alreadyLockedDoesNothing() 190 final Result result = mBgExecutor.submit(() -> mWorker.startWork().get()).get(); in doWork_failsWhenNoLaunchIntent() 204 final Result result = mBgExecutor.submit(() -> mWorker.startWork().get()).get(); in doWork_failsLaunchIntentNotPermitted()
|
D | FinalizationControllerImplTest.java | 287 public ListenableFuture<Result> startWork() { in startWork() method in FinalizationControllerImplTest.TestWorker
|
D | ProvisionHelperImplTest.java | 725 public ListenableFuture<Result> startWork() { in createWorker()
|
/packages/modules/DeviceLock/DeviceLockController/src/com/android/devicelockcontroller/provision/worker/ |
D | GetFcmTokenWorker.java | 63 public ListenableFuture<Result> startWork() { in startWork() method in GetFcmTokenWorker
|
D | IsDeviceInApprovedCountryWorker.java | 63 public ListenableFuture<Result> startWork() { in startWork() method in IsDeviceInApprovedCountryWorker
|
D | ReportDeviceLockProgramCompleteWorker.java | 95 public ListenableFuture<Result> startWork() { in startWork() method in ReportDeviceLockProgramCompleteWorker
|
D | SetupWizardCompletionTimeoutWorker.java | 71 public ListenableFuture<Result> startWork() { in startWork() method in SetupWizardCompletionTimeoutWorker
|
D | DeviceCheckInWorker.java | 76 public ListenableFuture<Result> startWork() { in startWork() method in DeviceCheckInWorker
|
D | PauseProvisioningWorker.java | 124 public ListenableFuture<Result> startWork() { in startWork() method in PauseProvisioningWorker
|
D | ReportDeviceProvisionStateWorker.java | 166 public ListenableFuture<Result> startWork() { in startWork() method in ReportDeviceProvisionStateWorker
|
/packages/modules/AdServices/shared/libraries/device-side/java/com/android/adservices/shared/testing/common/ |
D | BlockingCallableWrapper.java | 70 public void startWork() { in startWork() method in BlockingCallableWrapper
|
/packages/modules/DeviceLock/DeviceLockController/tests/robolectric/src/com/android/devicelockcontroller/ |
D | TestDeviceLockControllerApplication.java | 181 public ListenableFuture<Result> startWork() { in startWork() method in TestDeviceLockControllerApplication.PlayInstallPackageWorker
|
/packages/modules/DeviceLock/DeviceLockController/src/com/android/devicelockcontroller/policy/ |
D | StartLockTaskModeWorker.java | 87 public ListenableFuture<Result> startWork() { in startWork() method in StartLockTaskModeWorker
|
/packages/modules/AdServices/shared/tests/device-side/java/com/android/adservices/shared/testing/common/ |
D | BlockingCallableWrapperTest.java | 111 toTest.startWork(); in testCommandExecutionStartsWhenTriggered()
|
/packages/modules/HealthFitness/testapps/toolbox/src/com/android/healthconnect/testapps/toolbox/ |
D | ToolboxProxy.kt | 168 override fun startWork(): ListenableFuture<Result> = in startWork() method
|
/packages/modules/DeviceLock/DeviceLockController/tests/robolectric/src/com/android/devicelockcontroller/activities/ |
D | ProgressFragmentTest.java | 259 public ListenableFuture<Result> startWork() { in getWorkerFactory()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/shell/ |
D | ShellCommandServiceImplTest.java | 284 waitingCommand.startWork(); in testRunShellCommand_offloadsWorkToExecutor()
|