Searched refs:mFuture (Results 1 – 6 of 6) sorted by relevance
35 private volatile CompletableFuture<IBinder> mFuture = new CompletableFuture<>(); field in FutureConnection42 return mConverter.apply(mFuture.get(timeoutMs, TimeUnit.MILLISECONDS)); in get()47 return mConverter.apply(mFuture.getNow(null)); in getCurrent()52 mFuture.complete(service); in onServiceConnected()58 mFuture = new CompletableFuture<>(); in onServiceDisconnected()
30 private volatile CompletableFuture<IBinder> mFuture = new CompletableFuture<>(); field in FutureServiceConnection33 return mFuture.get(timeoutMs, TimeUnit.MILLISECONDS); in get()38 mFuture.complete(service); in onServiceConnected()44 mFuture = new CompletableFuture<>(); in onServiceDisconnected()
35 private final CompletableFuture<Pair<Integer, Bundle>> mFuture = new CompletableFuture<>(); field in BlockingResultReceiver43 mFuture.complete(new Pair<>(code, data)); in onReceiveResult()48 return mFuture.get(timeoutMs, TimeUnit.MILLISECONDS).second; in getData()53 return mFuture.get(timeoutMs, TimeUnit.MILLISECONDS).first; in getCode()
42 private final SimpleAccountManagerFuture<V> mFuture = new SimpleAccountManagerFuture<>(); field in AccountManagerFutureWrapper83 return mFuture; in getFuture()88 mFuture.setResult(result); in onResult()93 mFuture.setException(throwable); in onException()
607 private CompletableFuture<Boolean> mFuture = new CompletableFuture<>(); field in VisualVoicemailServiceTest.SmsBroadcastReceiver633 mFuture.complete(true); in onReceive()638 mFuture.get(timeoutMillis, TimeUnit.MILLISECONDS); in assertReceived()646 mFuture.get(timeoutMillis, TimeUnit.MILLISECONDS); in assertNotReceived()661 public CompletableFuture<Boolean> mFuture = new CompletableFuture<>(); field in VisualVoicemailServiceTest.SentSmsObserver672 mFuture.get(EVENT_NOT_RECEIVED_TIMEOUT_MILLIS, TimeUnit.MILLISECONDS); in assertNotChanged()694 mFuture.complete(true); in onChange()
489 private final CompletableFuture<Integer> mFuture; field in FutureReceiver493 mFuture = future; in FutureReceiver()498 mFuture.complete(resultCode); in onReceiveResult()