Searched refs:getFuture (Results 1 – 6 of 6) sorted by relevance
130 Result result = Utils.getFuture(mBackgroundDexoptJob.start()); in testStart()151 Utils.getFuture(future1); in testStartAlreadyRunning()162 Utils.getFuture(future1); in testStartAnother()164 Utils.getFuture(future2); in testStartAnother()173 Result result = Utils.getFuture(mBackgroundDexoptJob.start()); in testStartFatalError()188 Utils.getFuture(mBackgroundDexoptJob.start()); in testStartIgnoreDisabled()205 Utils.getFuture(future); in testCancel()
267 Utils.getFuture(future); in testSyncStart()
387 Utils.getFuture(future); in testDexoptCancelledDuringDex2oatInvocationsMultiThreaded()435 Utils.getFuture(future); in testDexoptCancelledDuringDex2oatInvocationsOnCurrentThread()
271 getFuture(CompletableFuture.runAsync(runnable, executor)); in executeAndWait()275 return getFuture(CompletableFuture.supplyAsync(supplier, executor)); in executeAndWait()278 public static <T> T getFuture(Future<T> future) { in getFuture() method in Utils
406 Utils.getFuture(runningJob); in handleBgDexoptJob()413 BackgroundDexoptJob.Result result = Utils.getFuture(future); in handleBgDexoptJob()801 Utils.getFuture(future); in handleRunPrDexoptJob()
179 futures.stream().map(Utils::getFuture).collect(Collectors.toList()); in dexoptPackages()