/frameworks/base/core/java/android/accounts/ |
H A D | AccountManagerCallback.java | 19 void run(AccountManagerFuture<V> future); argument
|
H A D | GrantCredentialsPermissionActivity.java | 93 public void run(AccountManagerFuture<String> future) { 95 final String authTokenLabel = future.getResult();
|
H A D | AccountManager.java | 137 * future from the method; no callback need be supplied. 526 * @return a future containing the label string 1716 final AccountManagerFuture<Bundle> future) { 1720 callback.run(future); 2054 public void run(AccountManagerFuture<Account[]> future) { 2057 accounts = future.getResult(); 2144 public void run(AccountManagerFuture<Bundle> future) { argument 2146 final Bundle result = future.getResult(); 1715 postToHandler(Handler handler, final AccountManagerCallback<Bundle> callback, final AccountManagerFuture<Bundle> future) argument
|
/frameworks/base/core/tests/coretests/src/android/animation/ |
H A D | AutoCancelTest.java | 59 private void setupAnimators(long startDelay, boolean startLater, final FutureWaiter future) argument 82 future.set(false); 96 future.set(false); 103 // Release future if not done already via failures during start 104 future.release(); 125 final FutureWaiter future = new FutureWaiter(); 130 setupAnimators(0, false, future); 132 future.setException(e); 136 assertTrue(future.get(FUTURE_TIMEOUT, TimeUnit.MILLISECONDS)); 141 final FutureWaiter future [all...] |
H A D | ViewPropertyAnimatorTest.java | 67 public Canceler(ViewPropertyAnimator anim, FutureWaiter future) { argument 69 mFuture = future; 96 public FutureReleaseListener(FutureWaiter future) { argument 97 mFuture = future; 102 * @param future 105 public FutureReleaseListener(FutureWaiter future, long timeout) { argument 106 mFuture = future;
|
H A D | EventsTest.java | 68 public Canceler(Animator anim, FutureWaiter future) { argument 70 mFuture = future; 96 public Ender(Animator anim, FutureWaiter future) { argument 98 mFuture = future; 117 public Pauser(Animator anim, FutureWaiter future) { argument 119 mFuture = future; 138 public Resumer(Animator anim, FutureWaiter future) { argument 140 mFuture = future; 160 public FutureReleaseListener(FutureWaiter future) { argument 161 mFuture = future; 169 FutureReleaseListener(FutureWaiter future, long timeout) argument [all...] |
/frameworks/ex/variablespeed/tests/src/com/android/ex/variablespeed/ |
H A D | RealMediaPlayerTest.java | 40 FutureTask<MediaPlayer> future = new FutureTask<MediaPlayer>(callable); 41 getInstrumentation().runOnMainSync(future); 42 return DynamicProxy.dynamicProxy(MediaPlayerProxy.class, future.get(1, TimeUnit.SECONDS));
|
/frameworks/base/libs/usb/ |
H A D | Android.mk | 25 LOCAL_MODULE:= com.android.future.usb.accessory
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
H A D | NetworkPolicyManagerServiceTest.java | 314 Future<Void> future; 318 future = expectRulesChanged(UID_A, RULE_ALLOW_ALL); 321 future.get(); 327 future = expectRulesChanged(UID_A, RULE_ALLOW_ALL); 330 future.get(); 337 future = expectRulesChanged(UID_A, RULE_REJECT_METERED); 340 future.get(); 347 future = expectRulesChanged(UID_A, RULE_ALLOW_ALL); 350 future.get(); 355 Future<Void> future; [all...] |
/frameworks/volley/src/com/android/volley/toolbox/ |
H A D | AndroidAuthenticator.java | 75 AccountManagerFuture<Bundle> future = accountManager.getAuthToken(mAccount, 79 result = future.getResult(); 84 if (future.isDone() && !future.isCancelled()) {
|
/frameworks/base/libs/hwui/thread/ |
H A D | Task.h | 50 const sp<Future<T> >& future() const { function in class:android::uirenderer::Task
|
/frameworks/base/libs/usb/src/com/android/future/usb/ |
H A D | UsbAccessory.java | 17 package com.android.future.usb;
|
H A D | UsbManager.java | 18 package com.android.future.usb;
|
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
H A D | KeyguardAccountView.java | 273 public void run(AccountManagerFuture<Bundle> future) { 276 final Bundle result = future.getResult();
|
/frameworks/base/libs/hwui/ |
H A D | PathCache.h | 279 delete future()->get();
|
/frameworks/base/services/core/java/com/android/server/ |
H A D | DropBoxManagerService.java | 657 // >10sec in the future (due to clock skew), drag them back to avoid 661 EntryFile[] future = null; 663 future = tail.toArray(new EntryFile[tail.size()]); 671 if (future != null) { 672 for (EntryFile late : future) {
|
/frameworks/native/libs/input/ |
H A D | InputTransport.cpp | 55 // far into the future. This time is further bounded by 50% of the last time delta. 715 History future; local 718 // Interpolate between current sample and future sample. 719 // So current->eventTime <= sampleTime <= future.eventTime. 720 future.initializeFrom(next); 721 other = &future; 722 nsecs_t delta = future.eventTime - current->eventTime; 731 // Extrapolate future sample using current sample and past sample. 744 ALOGD("Sample time is too far in the future, adjusting prediction "
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | DrawableContainer.java | 621 * This class was made public to enable testing, and its visibility may change in a future 813 // Prepare future drawable if necessary. 828 // No need to call createAllFutures, since future drawables will 866 final ConstantStateFuture future = mDrawableFutures.get(i); 867 if (future != null && future.canApplyTheme()) { 877 // No need to call createAllFutures, since future drawables will 1114 * Obtains and prepares the Drawable represented by this future. 1116 * @param state the container into which this future will be placed 1137 * Whether the constant state wrapped by this future ca [all...] |
/frameworks/base/core/java/android/view/ |
H A D | ViewDebug.java | 1118 FutureTask<Object> future = new FutureTask<Object>(callable); 1125 handler.post(future); 1128 return future.get(CAPTURE_TIMEOUT, java.util.concurrent.TimeUnit.MILLISECONDS);
|