/frameworks/base/libs/hwui/thread/ |
Task.h | 37 Task(): mFuture(new Future<T>()) { } 41 return mFuture->get(); 45 mFuture->produce(result); 50 return mFuture; 54 sp<Future<T> > mFuture;
|
/frameworks/base/core/tests/coretests/src/android/animation/ |
ViewPropertyAnimatorTest.java | 54 protected FutureWaiter mFuture; // Mechanism for waiting for the UI test to complete 66 FutureWaiter mFuture; 69 mFuture = future; 76 mFuture.setException(new RuntimeException(e)); 94 FutureWaiter mFuture; 97 mFuture = future; 106 mFuture = future; 111 mFuture.release(); 122 mFuture.release(); 183 mFuture = new FutureWaiter() [all...] |
EventsTest.java | 55 protected FutureWaiter mFuture; // Mechanism for waiting for the UI test to complete 67 FutureWaiter mFuture; 70 mFuture = future; 77 mFuture.setException(new RuntimeException(e)); 95 FutureWaiter mFuture; 98 mFuture = future; 105 mFuture.setException(new RuntimeException(e)); 116 FutureWaiter mFuture; 119 mFuture = future; 126 mFuture.setException(new RuntimeException(e)) [all...] |
AnimatorSetEventsTest.java | 58 mFutureListener = new FutureReleaseListener(mFuture); 67 handler.postDelayed(new Canceler(animSet, mFuture), ANIM_DURATION + 250); 69 mFuture.setException(new RuntimeException(e)); 73 mFuture.get(getTimeout(), TimeUnit.MILLISECONDS);
|
/external/volley/src/test/java/com/android/volley/toolbox/ |
AndroidAuthenticatorTest.java | 42 private AccountManagerFuture<Bundle> mFuture; 48 mFuture = mock(AccountManagerFuture.class); 55 when(mAccountManager.getAuthToken(mAccount, "cooltype", false, null, null)).thenReturn(mFuture); 56 when(mFuture.getResult()).thenThrow(new AuthenticatorException("sadness!")); 65 when(mAccountManager.getAuthToken(mAccount, "cooltype", false, null, null)).thenReturn(mFuture); 66 when(mFuture.getResult()).thenReturn(bundle); 67 when(mFuture.isDone()).thenReturn(true); 68 when(mFuture.isCancelled()).thenReturn(false); 75 when(mAccountManager.getAuthToken(mAccount, "cooltype", false, null, null)).thenReturn(mFuture); 76 when(mFuture.getResult()).thenReturn(bundle) [all...] |
/packages/apps/Camera2/src/com/android/camera/device/ |
SingleDeviceRequest.java | 34 private final SettableFuture<TDevice> mFuture; 40 mFuture = SettableFuture.create(); 48 return mFuture; 63 return mFuture.set(device); 75 mFuture.setException(throwable); 83 mFuture.cancel(true /* mayInterruptIfRunning */);
|
/packages/apps/Contacts/src/com/android/contacts/util/concurrent/ |
ListenableFutureLoader.java | 47 private ListenableFuture<D> mFuture; 83 if (mFuture == null) { 93 mFuture = loadData(); 94 Futures.addCallback(mFuture, new FutureCallback<D>() { 118 if (mFuture != null) { 119 mFuture.cancel(false); 120 mFuture = null; 126 mFuture = null;
|
/packages/apps/Dialer/java/com/android/voicemail/impl/sync/ |
VvmNetworkRequest.java | 95 private final CompletableFuture<NetworkWrapper> mFuture = new CompletableFuture<>(); 105 return mFuture; 111 mFuture.complete(new NetworkWrapper(network, this)); 117 mFuture.complete(null);
|
/frameworks/base/core/java/android/os/ |
SynchronousResultReceiver.java | 45 private final CompletableFuture<Result> mFuture = new CompletableFuture<>(); 64 mFuture.complete(new Result(resultCode, resultData)); 81 return mFuture.get(timeoutMillis, TimeUnit.MILLISECONDS);
|
AsyncTask.java | 228 private final FutureTask<Result> mFuture; 345 mFuture = new FutureTask<Result>(mWorker) { 527 return mFuture.cancel(mayInterruptIfRunning); 542 return mFuture.get(); 562 return mFuture.get(timeout, unit); 651 exec.execute(mFuture);
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/ |
TestPredicate.java | 37 private final CompletableFuture<T> mFuture = new CompletableFuture<>(); 46 mFuture.complete(t); 68 return mFuture.get(timeout, unit);
|
/packages/apps/Dialer/java/com/android/voicemail/impl/sms/ |
StatusSmsFetcher.java | 61 private CompletableFuture<Bundle> mFuture = new CompletableFuture<>(); 84 return mFuture.get(STATUS_SMS_TIMEOUT_MILLIS, TimeUnit.MILLISECONDS); 109 mFuture.cancel(true); 121 mFuture.complete(sms.getFields()); 142 mFuture.complete(translatedBundle);
|
/developers/build/prebuilts/gradle/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/util/ |
AsyncTask.java | 240 private final FutureTask<Result> mFuture; 317 mFuture = new FutureTask<Result>(mWorker) { 493 return mFuture.cancel(mayInterruptIfRunning); 508 return mFuture.get(); 528 return mFuture.get(timeout, unit); 615 exec.execute(mFuture);
|
/developers/samples/android/ui/graphics/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/util/ |
AsyncTask.java | 240 private final FutureTask<Result> mFuture; 317 mFuture = new FutureTask<Result>(mWorker) { 493 return mFuture.cancel(mayInterruptIfRunning); 508 return mFuture.get(); 528 return mFuture.get(timeout, unit); 615 exec.execute(mFuture);
|
/development/samples/browseable/DisplayingBitmaps/src/com.example.android.displayingbitmaps/util/ |
AsyncTask.java | 240 private final FutureTask<Result> mFuture; 317 mFuture = new FutureTask<Result>(mWorker) { 493 return mFuture.cancel(mayInterruptIfRunning); 508 return mFuture.get(); 528 return mFuture.get(timeout, unit); 615 exec.execute(mFuture);
|
/frameworks/support/core-utils/java/android/support/v4/content/ |
ModernAsyncTask.java | 85 private final FutureTask<Result> mFuture; 150 mFuture = new FutureTask<Result>(mWorker) { 330 return mFuture.cancel(mayInterruptIfRunning); 345 return mFuture.get(); 365 return mFuture.get(timeout, unit); 449 exec.execute(mFuture);
|
/cts/tests/tests/telephony/src/android/telephony/cts/ |
VisualVoicemailServiceTest.java | 574 private CompletableFuture<Boolean> mFuture = new CompletableFuture<>(); 600 mFuture.complete(true); 605 mFuture.get(timeoutMillis, TimeUnit.MILLISECONDS); 613 mFuture.get(timeoutMillis, TimeUnit.MILLISECONDS); 628 public CompletableFuture<Boolean> mFuture = new CompletableFuture<>(); 639 mFuture.get(EVENT_NOT_RECEIVED_TIMEOUT_MILLIS, TimeUnit.MILLISECONDS); 661 mFuture.complete(true);
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
DownloadCache.java | 143 task.mFuture = mApplication.getThreadPool().submit(task, task); 262 private Future<File> mFuture; 273 mFuture.cancel();
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
PhotoDataAdapter.java | 854 private Future<BitmapRegionDecoder> mFuture; 862 mFuture = future; 869 updateFullImage(mPath, mFuture); 876 private Future<ScreenNail> mFuture; 884 mFuture = future; 891 updateScreenNail(mPath, mFuture); [all...] |
/frameworks/base/core/java/android/accounts/ |
AccountManager.java | [all...] |
/development/samples/training/multiscreen/newsreader/libs/ |
android-support-v4.jar | |
/development/samples/training/basic/ActivityLifecycle/libs/ |
android-support-v13.jar | |
/development/samples/training/basic/FragmentBasics/libs/ |
android-support-v4.jar | |
/development/samples/training/location-aware/libs/ |
android-support-v4.jar | |
/sdk/testapps/jarCheckTests1/app/libs/ |
android-support-v4.jar | |