Home
last modified time | relevance | path

Searched refs:future (Results 1 – 25 of 86) sorted by relevance

1234

/frameworks/base/core/tests/coretests/src/android/animation/
DAutoCancelTest.java59 private void setupAnimators(long startDelay, boolean startLater, final FutureWaiter future) in setupAnimators() argument
82 future.set(false); in setupAnimators()
96 future.set(false); in setupAnimators()
104 future.release(); in setupAnimators()
125 final FutureWaiter future = new FutureWaiter(); in testAutoCancel() local
130 setupAnimators(0, false, future); in testAutoCancel()
132 future.setException(e); in testAutoCancel()
136 assertTrue(future.get(FUTURE_TIMEOUT, TimeUnit.MILLISECONDS)); in testAutoCancel()
141 final FutureWaiter future = new FutureWaiter(); in testAutoCancelDelayed() local
146 setupAnimators(START_DELAY, false, future); in testAutoCancelDelayed()
[all …]
DEventsTest.java68 public Canceler(Animator anim, FutureWaiter future) { in Canceler() argument
70 mFuture = future; in Canceler()
96 public Ender(Animator anim, FutureWaiter future) { in Ender() argument
98 mFuture = future; in Ender()
117 public Pauser(Animator anim, FutureWaiter future) { in Pauser() argument
119 mFuture = future; in Pauser()
138 public Resumer(Animator anim, FutureWaiter future) { in Resumer() argument
140 mFuture = future; in Resumer()
160 public FutureReleaseListener(FutureWaiter future) { in FutureReleaseListener() argument
161 mFuture = future; in FutureReleaseListener()
[all …]
DViewPropertyAnimatorTest.java67 public Canceler(ViewPropertyAnimator anim, FutureWaiter future) { in Canceler() argument
69 mFuture = future; in Canceler()
96 public FutureReleaseListener(FutureWaiter future) { in FutureReleaseListener() argument
97 mFuture = future; in FutureReleaseListener()
105 public FutureReleaseListener(FutureWaiter future, long timeout) { in FutureReleaseListener() argument
106 mFuture = future; in FutureReleaseListener()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DNetworkPolicyManagerServiceTest.java314 Future<Void> future; in testScreenChangesRules() local
318 future = expectRulesChanged(UID_A, RULE_ALLOW_ALL); in testScreenChangesRules()
321 future.get(); in testScreenChangesRules()
327 future = expectRulesChanged(UID_A, RULE_ALLOW_ALL); in testScreenChangesRules()
330 future.get(); in testScreenChangesRules()
337 future = expectRulesChanged(UID_A, RULE_REJECT_METERED); in testScreenChangesRules()
340 future.get(); in testScreenChangesRules()
347 future = expectRulesChanged(UID_A, RULE_ALLOW_ALL); in testScreenChangesRules()
350 future.get(); in testScreenChangesRules()
355 Future<Void> future; in testPolicyNone() local
[all …]
/frameworks/ex/variablespeed/tests/src/com/android/ex/variablespeed/
DRealMediaPlayerTest.java40 FutureTask<MediaPlayer> future = new FutureTask<MediaPlayer>(callable); in createTestMediaPlayer() local
41 getInstrumentation().runOnMainSync(future); in createTestMediaPlayer()
42 return DynamicProxy.dynamicProxy(MediaPlayerProxy.class, future.get(1, TimeUnit.SECONDS)); in createTestMediaPlayer()
/frameworks/volley/src/com/android/volley/toolbox/
DAndroidAuthenticator.java75 AccountManagerFuture<Bundle> future = accountManager.getAuthToken(mAccount, in getAuthToken() local
79 result = future.getResult(); in getAuthToken()
84 if (future.isDone() && !future.isCancelled()) { in getAuthToken()
/frameworks/base/core/java/android/accounts/
DAccountManagerCallback.java19 void run(AccountManagerFuture<V> future); in run() argument
DGrantCredentialsPermissionActivity.java93 public void run(AccountManagerFuture<String> future) { in onCreate()
95 final String authTokenLabel = future.getResult(); in onCreate()
DAccountManager.java1581 final AccountManagerFuture<Bundle> future) {
1585 callback.run(future);
1919 public void run(AccountManagerFuture<Account[]> future) {
1922 accounts = future.getResult();
2009 public void run(AccountManagerFuture<Bundle> future) {
2011 final Bundle result = future.getResult();
/frameworks/base/libs/usb/
DAndroid.mk25 LOCAL_MODULE:= com.android.future.usb.accessory
/frameworks/base/libs/hwui/thread/
DTask.h50 const sp<Future<T> >& future() const { in future() function
/frameworks/compile/mclinker/lib/Support/Windows/
DSystem.inc47 /// srandom - set the initial seed value for future calls to random().
/frameworks/base/libs/usb/src/com/android/future/usb/
DUsbAccessory.java17 package com.android.future.usb;
DUsbManager.java18 package com.android.future.usb;
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
DKeyguardAccountView.java273 public void run(AccountManagerFuture<Bundle> future) { in asyncCheckPassword()
276 final Bundle result = future.getResult(); in asyncCheckPassword()
/frameworks/base/docs/html/design/auto/
Dindex.jd30 <p>The future design guidelines provide templates that define the user interaction model for all ap…
/frameworks/compile/mclinker/lib/Support/Unix/
DSystem.inc77 /// srandom - set the initial seed value for future calls to random().
/frameworks/base/docs/html/distribute/googleplay/edu/
Dcontact.jd8 States, and to a broader international audience in the future. </p>
/frameworks/base/services/core/java/com/android/server/
DDropBoxManagerService.java656 EntryFile[] future = null; in createEntry() local
658 future = tail.toArray(new EntryFile[tail.size()]); in createEntry()
666 if (future != null) { in createEntry()
667 for (EntryFile late : future) { in createEntry()
/frameworks/native/opengl/specs/
DEGL_ANDROID_image_native_buffer.txt102 future Android releases. The minimum requirements for a given Android
/frameworks/base/graphics/java/android/graphics/drawable/
DDrawableContainer.java819 final ConstantStateFuture future = mDrawableFutures.get(i); in canApplyTheme() local
820 if (future != null && future.canApplyTheme()) { in canApplyTheme()
/frameworks/native/libs/input/
DInputTransport.cpp715 History future; in resampleTouchState() local
720 future.initializeFrom(next); in resampleTouchState()
721 other = &future; in resampleTouchState()
722 nsecs_t delta = future.eventTime - current->eventTime; in resampleTouchState()
/frameworks/base/libs/hwui/
DPathCache.h279 delete future()->get(); in ~PathTask()
/frameworks/ex/common/java/com/android/common/
DGoogleLogTags.logtags32 # [31- 9] Reserved for future use
/frameworks/base/docs/html/sdk/installing/
Dmigrate.jd58 variants and other advanced features in the future,

1234