Searched refs:future (Results 1 - 18 of 18) 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.java134 * future from the method; no callback need be supplied.
439 * @return a future containing the label string
1331 final AccountManagerFuture<Bundle> future) {
1335 callback.run(future);
1664 public void run(AccountManagerFuture<Account[]> future) {
1667 accounts = future.getResult();
1751 public void run(AccountManagerFuture<Bundle> future) { argument
1753 final Bundle result = future.getResult();
1330 postToHandler(Handler handler, final AccountManagerCallback<Bundle> callback, final AccountManagerFuture<Bundle> future) argument
/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/support/volley/src/com/android/volley/toolbox/
H A DAndroidAuthenticator.java59 AccountManagerFuture<Bundle> future = accountManager.getAuthToken(mAccount,
63 result = future.getResult();
68 if (future.isDone() && !future.isCancelled()) {
/frameworks/base/core/tests/coretests/src/android/animation/
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.java64 public Canceler(Animator anim, FutureWaiter future) { argument
66 mFuture = future;
92 public Ender(Animator anim, FutureWaiter future) { argument
94 mFuture = future;
114 public FutureReleaseListener(FutureWaiter future) { argument
115 mFuture = future;
120 * @param future
123 public FutureReleaseListener(FutureWaiter future, long timeout) { argument
124 mFuture = future;
/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/policy/src/com/android/internal/policy/impl/keyguard/
H A DKeyguardAccountView.java275 public void run(AccountManagerFuture<Bundle> future) {
278 final Bundle result = future.getResult();
H A DKeyguardPatternView.java326 public void run(AccountManagerFuture<Bundle> future) { argument
328 Bundle result = future.getResult();
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard_obsolete/
H A DAccountUnlockScreen.java282 public void run(AccountManagerFuture<Bundle> future) {
285 final Bundle result = future.getResult();
H A DLockPatternKeyguardView.java492 public void run(AccountManagerFuture<Bundle> future) { argument
494 Bundle result = future.getResult();
/frameworks/base/core/java/android/view/
H A DKeyCharacterMap.java658 * In the future, the function may also take into account global keyboard
/frameworks/base/libs/androidfw/
H A DInputTransport.cpp53 // far into the future. This time is further bounded by 50% of the last time delta.
705 History future; local
708 // Interpolate between current sample and future sample.
709 // So current->eventTime <= sampleTime <= future.eventTime.
710 future.initializeFrom(next);
711 other = &future;
712 nsecs_t delta = future.eventTime - current->eventTime;
721 // Extrapolate future sample using current sample and past sample.
734 ALOGD("Sample time is too far in the future, adjusting prediction "
/frameworks/base/services/java/com/android/server/
H A DDropBoxManagerService.java646 // >10sec in the future (due to clock skew), drag them back to avoid
650 EntryFile[] future = null;
652 future = tail.toArray(new EntryFile[tail.size()]);
660 if (future != null) {
661 for (EntryFile late : future) {

Completed in 6850 milliseconds