Home
last modified time | relevance | path

Searched refs:SettableFuture (Results 1 – 12 of 12) sorted by relevance

/cts/tests/camera/src/android/hardware/multiprocess/camera/cts/
DErrorLoggingService.java269 private static class SettableFuture<T> extends FutureTask<T> { class in ErrorLoggingService
271 public SettableFuture() { in SettableFuture() method in ErrorLoggingService.SettableFuture
281 public SettableFuture(Callable<T> callable) { in SettableFuture() method in ErrorLoggingService.SettableFuture
285 public SettableFuture(Runnable runnable, T result) { in SettableFuture() method in ErrorLoggingService.SettableFuture
339 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 …]
/cts/libs/deviceutillegacy/src/android/webkit/cts/
DWebkitUtils.java22 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()
DWebViewOnUiThread.java48 import com.google.common.util.concurrent.SettableFuture;
487 final SettableFuture<String> future = SettableFuture.create();
567 final SettableFuture<Void> future = SettableFuture.create();
/cts/tests/tests/webkit/src/android/webkit/cts/
DWebViewRenderProcessTest.java28 import com.google.common.util.concurrent.SettableFuture;
71 final SettableFuture<WebViewRenderProcess> future = SettableFuture.create();
88 final SettableFuture<Boolean> future = SettableFuture.create();
DWebViewRenderProcessClientTest.java27 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()
DPostMessageTest.java30 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()
DWebViewTest.java88 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 …]
DWebChromeClientTest.java37 import com.google.common.util.concurrent.SettableFuture;
226 final SettableFuture<Void> onJsBeforeUnloadFuture = SettableFuture.create(); in testOnJsBeforeUnloadIsCalled()
DWebViewClientTest.java43 import com.google.common.util.concurrent.SettableFuture;
778 final SettableFuture<String> pageCommitVisibleFuture = SettableFuture.create(); in testOnPageCommitVisibleCalled()
DWebSettingsTest.java49 import com.google.common.util.concurrent.SettableFuture;
492 final SettableFuture<Void> createWindowFuture = SettableFuture.create(); in testAccessJavaScriptCanOpenWindowsAutomatically()
/cts/tests/tests/text/src/android/text/cts/
DEmojiTest.java45 import com.google.common.util.concurrent.SettableFuture;
311 final SettableFuture<Void> future = SettableFuture.create(); in capture()
/cts/tests/tests/netsecpolicy/src/android/security/
DNetworkSecurityPolicyTestBase.java219 … final SettableFuture<Intent> downloadCompleteIntentFuture = new SettableFuture<Intent>(); in downloadUsingDownloadManager()
279 private static class SettableFuture<T> implements Future<T> { class in NetworkSecurityPolicyTestBase