Searched refs:executionFuture (Results 1 – 6 of 6) sorted by relevance
120 ListenableFuture<ExecutionResult> executionFuture = mRunningFuturesMap.get(jobId); in onStartJob() local124 if (executionFuture != null) { in onStartJob()125 executionFuture.cancel(/* mayInterruptIfRunning= */ true); in onStartJob()127 executionFuture = worker.getExecutionFuture(this, convertJobParameters(params)); in onStartJob()128 mRunningFuturesMap.put(jobId, executionFuture); in onStartJob()134 executionFuture, jobId, jobName, params, worker.getBackoffPolicy()); in onStartJob()154 ListenableFuture<ExecutionResult> executionFuture = mRunningFuturesMap.get(jobId); in onStopJob() local155 if (executionFuture != null) { in onStopJob()156 executionFuture.cancel(/* mayInterruptIfRunning= */ true); in onStopJob()240 ListenableFuture<ExecutionResult> executionFuture, in onJobPostExecution() argument[all …]
83 ListenableFuture<ExecutionResult> executionFuture = in testGetExecutionFuture() local86 assertThat(executionFuture.get()).isEqualTo(SUCCESS); in testGetExecutionFuture()
85 ListenableFuture<ExecutionResult> executionFuture = in testGetExecutionFuture() local89 .that(executionFuture.get()) in testGetExecutionFuture()
113 ListenableFuture<ExecutionResult> executionFuture = in testGetExecutionFuture() local117 .that(executionFuture.get()) in testGetExecutionFuture()
101 ListenableFuture<ExecutionResult> executionFuture = in testGetExecutionFuture() local105 .that(executionFuture.get()) in testGetExecutionFuture()
157 ListenableFuture<ExecutionResult> executionFuture = in testGetExecutionFuture() local161 .that(executionFuture.get()) in testGetExecutionFuture()