Searched refs:future (Results 1 - 19 of 19) sorted by relevance

/frameworks/base/core/java/android/accounts/
H A DAccountManagerCallback.java19 void run(AccountManagerFuture<V> future); argument
H A DGrantCredentialsPermissionActivity.java95 public void run(AccountManagerFuture<String> future) {
97 final String authTokenLabel = future.getResult();
H A DAccountManager.java137 * future from the method; no callback need be supplied.
480 * @return a future containing the label string
1423 final AccountManagerFuture<Bundle> future) {
1427 callback.run(future);
1756 public void run(AccountManagerFuture<Account[]> future) {
1759 accounts = future.getResult();
1846 public void run(AccountManagerFuture<Bundle> future) { argument
1848 final Bundle result = future.getResult();
1422 postToHandler(Handler handler, final AccountManagerCallback<Bundle> callback, final AccountManagerFuture<Bundle> future) argument
/frameworks/base/core/tests/coretests/src/android/animation/
H A DAutoCancelTest.java59 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 DViewPropertyAnimatorTest.java67 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 DEventsTest.java68 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 DRealMediaPlayerTest.java40 FutureTask<MediaPlayer> future = new FutureTask<MediaPlayer>(callable);
41 getInstrumentation().runOnMainSync(future);
42 return DynamicProxy.dynamicProxy(MediaPlayerProxy.class, future.get(1, TimeUnit.SECONDS));
/frameworks/base/services/tests/servicestests/src/com/android/server/
H A DNetworkPolicyManagerServiceTest.java314 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/base/libs/usb/
H A DAndroid.mk25 LOCAL_MODULE:= com.android.future.usb.accessory
/frameworks/volley/src/com/android/volley/toolbox/
H A DAndroidAuthenticator.java73 AccountManagerFuture<Bundle> future = accountManager.getAuthToken(mAccount,
77 result = future.getResult();
82 if (future.isDone() && !future.isCancelled()) {
/frameworks/base/libs/hwui/thread/
H A DTask.h52 const sp<Future<T> >& future() const { function in class:android::uirenderer::Task
/frameworks/base/libs/usb/src/com/android/future/usb/
H A DUsbAccessory.java17 package com.android.future.usb;
H A DUsbManager.java18 package com.android.future.usb;
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
H A DKeyguardAccountView.java274 public void run(AccountManagerFuture<Bundle> future) {
277 final Bundle result = future.getResult();
H A DKeyguardPatternView.java327 public void run(AccountManagerFuture<Bundle> future) { argument
329 Bundle result = future.getResult();
/frameworks/base/libs/hwui/
H A DPathCache.h300 delete future()->get();
/frameworks/base/services/java/com/android/server/
H A DDropBoxManagerService.java652 // >10sec in the future (due to clock skew), drag them back to avoid
656 EntryFile[] future = null;
658 future = tail.toArray(new EntryFile[tail.size()]);
666 if (future != null) {
667 for (EntryFile late : future) {
/frameworks/native/libs/input/
H A DInputTransport.cpp54 // far into the future. This time is further bounded by 50% of the last time delta.
714 History future; local
717 // Interpolate between current sample and future sample.
718 // So current->eventTime <= sampleTime <= future.eventTime.
719 future.initializeFrom(next);
720 other = &future;
721 nsecs_t delta = future.eventTime - current->eventTime;
730 // Extrapolate future sample using current sample and past sample.
743 ALOGD("Sample time is too far in the future, adjusting prediction "
/frameworks/base/core/java/android/view/
H A DViewDebug.java1016 FutureTask<Object> future = new FutureTask<Object>(callable);
1023 handler.post(future);
1026 return future.get(CAPTURE_TIMEOUT, java.util.concurrent.TimeUnit.MILLISECONDS);

Completed in 8771 milliseconds