Home
last modified time | relevance | path

Searched refs:mFuture (Results 1 – 2 of 2) sorted by relevance

/cts/tests/tests/telephony/current/src/android/telephony/cts/
DVisualVoicemailServiceTest.java603 private CompletableFuture<Boolean> mFuture = new CompletableFuture<>(); field in VisualVoicemailServiceTest.SmsBroadcastReceiver
629 mFuture.complete(true); in onReceive()
634 mFuture.get(timeoutMillis, TimeUnit.MILLISECONDS); in assertReceived()
642 mFuture.get(timeoutMillis, TimeUnit.MILLISECONDS); in assertNotReceived()
657 public CompletableFuture<Boolean> mFuture = new CompletableFuture<>(); field in VisualVoicemailServiceTest.SentSmsObserver
668 mFuture.get(EVENT_NOT_RECEIVED_TIMEOUT_MILLIS, TimeUnit.MILLISECONDS); in assertNotChanged()
690 mFuture.complete(true); in onChange()
/cts/tests/tests/webkit/src/android/webkit/cts/
DWebViewTest.java1329 private final SettableFuture<Integer> mFuture; field in WebViewTest.WaitForFindResultsListener
1337 mFuture = SettableFuture.create(); in WaitForFindResultsListener()
1345 return mFuture; in future()
1355 mFuture.setException(t); in onFindResultReceived()
1363 mFuture.set(numberOfMatches); in onFindResultReceived()
1458 private SettableFuture<Integer> mFuture; in testDocumentHasImages() field in WebViewTest.DocumentHasImageCheckHandler
1461 mFuture = SettableFuture.create(); in testDocumentHasImages()
1465 mFuture.set(msg.arg1); in testDocumentHasImages()
1468 return mFuture; in testDocumentHasImages()