Searched refs:SettableFuture (Results 1 – 12 of 12) sorted by relevance
269 private static class SettableFuture<T> extends FutureTask<T> { class in ErrorLoggingService271 public SettableFuture() { in SettableFuture() method in ErrorLoggingService.SettableFuture281 public SettableFuture(Callable<T> callable) { in SettableFuture() method in ErrorLoggingService.SettableFuture285 public SettableFuture(Runnable runnable, T result) { in SettableFuture() method in ErrorLoggingService.SettableFuture339 private final LinkedBlockingQueue<SettableFuture<List<LogEvent>>> mFuturesQueue =350 List<SettableFuture<List<LogEvent>>> logFutures = new ArrayList<>(); in cancelAll()352 for (SettableFuture<List<LogEvent>> i : logFutures) { in cancelAll()362 public void cancel(SettableFuture<List<LogEvent>> report) { in cancel()372 public void addFuture(SettableFuture<List<LogEvent>> report) { in addFuture()383 SettableFuture<List<LogEvent>> task = mFuturesQueue.poll(); in handleMessage()[all …]
22 import com.google.common.util.concurrent.SettableFuture;61 final SettableFuture<T> future = SettableFuture.create(); in onMainThread()116 final SettableFuture<Void> exceptionPropagatingFuture = SettableFuture.create(); in onMainThreadSync()
48 import com.google.common.util.concurrent.SettableFuture;487 final SettableFuture<String> future = SettableFuture.create();567 final SettableFuture<Void> future = SettableFuture.create();
28 import com.google.common.util.concurrent.SettableFuture;71 final SettableFuture<WebViewRenderProcess> future = SettableFuture.create();88 final SettableFuture<Boolean> future = SettableFuture.create();
27 import com.google.common.util.concurrent.SettableFuture;63 private SettableFuture<Void> mIsBlocked;67 mIsBlocked = SettableFuture.create(); in JSBlocker()120 final SettableFuture<Void> rendererUnblocked = SettableFuture.create(); in testWebViewRenderProcessClientOnExecutor()
30 import com.google.common.util.concurrent.SettableFuture;289 final SettableFuture<Boolean> messageHandlerThreadFuture = SettableFuture.create(); in testWebMessageHandler()325 final SettableFuture<Boolean> messageMainLooperFuture = SettableFuture.create(); in testWebMessageDefaultHandler()
88 import com.google.common.util.concurrent.SettableFuture;837 final SettableFuture<Void> onCreateWindowFuture = SettableFuture.create(); in testJavascriptInterfaceForClientPopup()1333 private final SettableFuture<Integer> mFuture;1341 mFuture = SettableFuture.create(); in WaitForFindResultsListener()1462 private SettableFuture<Integer> mFuture; in testDocumentHasImages()1465 mFuture = SettableFuture.create(); in testDocumentHasImages()1787 public SettableFuture<Void> mImageLoaded = SettableFuture.create(); in testRequestImageRef()2110 final SettableFuture<Void> downloadStartFuture = SettableFuture.create(); in testSetDownloadListener()2210 final SettableFuture<Void> future = SettableFuture.create(); in testSetWebChromeClient()2351 final SettableFuture<Void> result = SettableFuture.create(); in testPrinting()[all …]
37 import com.google.common.util.concurrent.SettableFuture;226 final SettableFuture<Void> onJsBeforeUnloadFuture = SettableFuture.create(); in testOnJsBeforeUnloadIsCalled()
43 import com.google.common.util.concurrent.SettableFuture;778 final SettableFuture<String> pageCommitVisibleFuture = SettableFuture.create(); in testOnPageCommitVisibleCalled()
49 import com.google.common.util.concurrent.SettableFuture;492 final SettableFuture<Void> createWindowFuture = SettableFuture.create(); in testAccessJavaScriptCanOpenWindowsAutomatically()
45 import com.google.common.util.concurrent.SettableFuture;311 final SettableFuture<Void> future = SettableFuture.create(); in capture()
219 … final SettableFuture<Intent> downloadCompleteIntentFuture = new SettableFuture<Intent>(); in downloadUsingDownloadManager()279 private static class SettableFuture<T> implements Future<T> { class in NetworkSecurityPolicyTestBase