379380381382383384385386387388389
BlockingExecutor executor = getExecutor(work); if (startTimeout == WorkManager.INDEFINITE) { executor.executeBlocking(wrapper); } else { executor.executeBlocking(wrapper, startTimeout, TimeUnit.MILLISECONDS); }
383384385386387388389390391392393
{ executor.executeBlocking(wrapper); } else { executor.executeBlocking(wrapper, startTimeout, TimeUnit.MILLISECONDS); } startedLatch.await(); return System.currentTimeMillis() - started;
481482483484485486487488489490491
485486487488489490491492493494495
{ executor.executeBlocking(wrapper); } else { executor.executeBlocking(wrapper, startTimeout, TimeUnit.MILLISECONDS); } } catch (ExecutionTimedOutException etoe) { exception = new WorkRejectedException(etoe);
353354355356357358359360361362363
357358359360361362363364365366367
{ executor.executeBlocking(wrapper); } else { executor.executeBlocking(wrapper, startTimeout, TimeUnit.MILLISECONDS); } completedLatch.await(); } catch (ExecutionTimedOutException etoe)
466467468469470471472473474475476
470471472473474475476477478479480
577578579580581582583584585586587
581582583584585586587588589590591