578579580581582583584585586587588
BlockingExecutor executor = getExecutor(work); if (startTimeout == WorkManager.INDEFINITE) { executor.executeBlocking(wrapper); } else { executor.executeBlocking(wrapper, startTimeout, TimeUnit.MILLISECONDS); }
582583584585586587588589590591592
{ executor.executeBlocking(wrapper); } else { executor.executeBlocking(wrapper, startTimeout, TimeUnit.MILLISECONDS); } } catch (ExecutionTimedOutException etoe) { exception = new WorkRejectedException(etoe);
354355356357358359360361362363364
358359360361362363364365366367368
{ executor.executeBlocking(wrapper); } else { executor.executeBlocking(wrapper, startTimeout, TimeUnit.MILLISECONDS); } completedLatch.await(); } catch (ExecutionTimedOutException etoe)
467468469470471472473474475476477
471472473474475476477478479480481
{ executor.executeBlocking(wrapper); } else { executor.executeBlocking(wrapper, startTimeout, TimeUnit.MILLISECONDS); } startedLatch.await(); return System.currentTimeMillis() - started;
277278279280281282283284285286287
281282283284285286287288289290291