Home
last modified time | relevance | path

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

/packages/apps/Contacts/src/com/android/contacts/util/concurrent/
DListenableFutureLoader.java47 private ListenableFuture<D> mFuture; field in ListenableFutureLoader
83 if (mFuture == null) { in onStartLoading()
93 mFuture = loadData(); in onForceLoad()
94 Futures.addCallback(mFuture, new FutureCallback<D>() { in onForceLoad()
118 if (mFuture != null) { in onStopLoading()
119 mFuture.cancel(false); in onStopLoading()
120 mFuture = null; in onStopLoading()
126 mFuture = null; in onReset()
/packages/apps/Camera2/src/com/android/camera/device/
DSingleDeviceRequest.java34 private final SettableFuture<TDevice> mFuture; field in SingleDeviceRequest
40 mFuture = SettableFuture.create(); in SingleDeviceRequest()
48 return mFuture; in getFuture()
63 return mFuture.set(device); in set()
75 mFuture.setException(throwable); in closeWithException()
83 mFuture.cancel(true /* mayInterruptIfRunning */); in close()
/packages/apps/Dialer/java/com/android/voicemail/impl/sms/
DStatusSmsFetcher.java61 private CompletableFuture<Bundle> mFuture = new CompletableFuture<>(); field in StatusSmsFetcher
84 return mFuture.get(STATUS_SMS_TIMEOUT_MILLIS, TimeUnit.MILLISECONDS); in get()
109 mFuture.cancel(true); in onReceive()
121 mFuture.complete(sms.getFields()); in onReceive()
142 mFuture.complete(translatedBundle); in onReceive()
/packages/apps/Dialer/java/com/android/voicemail/impl/sync/
DVvmNetworkRequest.java95 private final CompletableFuture<NetworkWrapper> mFuture = new CompletableFuture<>(); field in VvmNetworkRequest.FutureNetworkRequestCallback
105 return mFuture; in getFuture()
111 mFuture.complete(new NetworkWrapper(network, this)); in onAvailable()
117 mFuture.complete(null); in onFailed()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/
DTestPredicate.java37 private final CompletableFuture<T> mFuture = new CompletableFuture<>(); field in TestPredicate
46 mFuture.complete(t); in test()
68 return mFuture.get(timeout, unit); in waitForCall()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DPhotoDataAdapter.java854 private Future<BitmapRegionDecoder> mFuture; field in PhotoDataAdapter.FullImageListener
862 mFuture = future; in onFutureDone()
869 updateFullImage(mPath, mFuture); in run()
876 private Future<ScreenNail> mFuture; field in PhotoDataAdapter.ScreenNailListener
884 mFuture = future; in onFutureDone()
891 updateScreenNail(mPath, mFuture); in run()
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DDownloadCache.java143 task.mFuture = mApplication.getThreadPool().submit(task, task); in download()
262 private Future<File> mFuture; field in DownloadCache.DownloadTask
273 mFuture.cancel(); in removeProxy()