Home
last modified time | relevance | path

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

1234

/frameworks/base/services/tests/servicestests/src/com/android/server/
DNetworkPolicyManagerServiceTest.java327 Future<Void> future; in testScreenChangesRules() local
332 future = expectRulesChanged(UID_A, RULE_ALLOW_ALL); in testScreenChangesRules()
335 future.get(); in testScreenChangesRules()
343 future = expectRulesChanged(UID_A, RULE_ALLOW_ALL); in testScreenChangesRules()
347 future.get(); in testScreenChangesRules()
355 future = expectRulesChanged(UID_A, RULE_REJECT_METERED); in testScreenChangesRules()
358 future.get(); in testScreenChangesRules()
365 future = expectRulesChanged(UID_A, RULE_ALLOW_ALL); in testScreenChangesRules()
368 future.get(); in testScreenChangesRules()
373 Future<Void> future; in testPolicyNone() local
[all …]
/frameworks/support/volley/src/com/android/volley/toolbox/
DAndroidAuthenticator.java59 AccountManagerFuture<Bundle> future = accountManager.getAuthToken(mAccount, in getAuthToken() local
63 result = future.getResult(); in getAuthToken()
68 if (future.isDone() && !future.isCancelled()) { in getAuthToken()
/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/base/core/tests/coretests/src/android/animation/
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()
DEventsTest.java64 public Canceler(Animator anim, FutureWaiter future) { in Canceler() argument
66 mFuture = future; in Canceler()
92 public Ender(Animator anim, FutureWaiter future) { in Ender() argument
94 mFuture = future; in Ender()
114 public FutureReleaseListener(FutureWaiter future) { in FutureReleaseListener() argument
115 mFuture = future; in FutureReleaseListener()
123 public FutureReleaseListener(FutureWaiter future, long timeout) { in FutureReleaseListener() argument
124 mFuture = future; in FutureReleaseListener()
/frameworks/base/core/java/android/accounts/
DAccountManagerCallback.java19 void run(AccountManagerFuture<V> future); in run() argument
DGrantCredentialsPermissionActivity.java95 public void run(AccountManagerFuture<String> future) { in onCreate()
97 final String authTokenLabel = future.getResult(); in onCreate()
DAccountManager.java1309 final AccountManagerFuture<Bundle> future) {
1313 callback.run(future);
1642 public void run(AccountManagerFuture<Account[]> future) {
1645 accounts = future.getResult();
1729 public void run(AccountManagerFuture<Bundle> future) {
1731 final Bundle result = future.getResult();
/frameworks/base/libs/usb/
DAndroid.mk25 LOCAL_MODULE:= com.android.future.usb.accessory
/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/policy/src/com/android/internal/policy/impl/
DAccountUnlockScreen.java282 public void run(AccountManagerFuture<Bundle> future) { in asyncCheckPassword()
285 final Bundle result = future.getResult(); in asyncCheckPassword()
DLockPatternKeyguardView.java499 public void run(AccountManagerFuture<Bundle> future) { in run() argument
501 Bundle result = future.getResult(); in run()
/frameworks/base/services/java/com/android/server/
DDropBoxManagerService.java648 EntryFile[] future = null; in createEntry() local
650 future = tail.toArray(new EntryFile[tail.size()]); in createEntry()
658 if (future != null) { in createEntry()
659 for (EntryFile late : future) { in createEntry()
DEventLogTags.logtags137 # [31-14] Reserved for future use
/frameworks/base/libs/androidfw/
DInputTransport.cpp705 History future; in resampleTouchState() local
710 future.initializeFrom(next); in resampleTouchState()
711 other = &future; in resampleTouchState()
712 nsecs_t delta = future.eventTime - current->eventTime; in resampleTouchState()
/frameworks/ex/common/java/com/android/common/
DGoogleLogTags.logtags32 # [31- 9] Reserved for future use
/frameworks/base/docs/html/training/efficient-downloads/
Dredundant_redundant.jd87 <p>Uncached responses get stored in the response cache for for future requests.</p>
/frameworks/base/docs/html/guide/practices/
Dcompatibility.jd141 future versions, new feature IDs will be added as well.</p>
193 from changes made to future versions of Android. If the Android platform
237 remain in control of their apps, today and in the future. With the information
/frameworks/base/docs/html/guide/topics/connectivity/usb/
Daccessory.jd72 <li><code>com.android.future.usb</code>: To support USB accessory mode in Android 2.3.4, the
175 <code>com.android.future.usb.accessory</code> for the library.</li>
216 &lt;uses-library android:name="com.android.future.usb.accessory" /&gt;
322 one time, but the API is designed to support multiple accessories in the future.</p>
/frameworks/base/docs/html/tools/adk/
Daoa2.jd102 additional audio modes may be added in the future.</p>
159 * value parameter. This ID will be used for future commands for
/frameworks/base/docs/html/tools/help/
Dbmgr.jd47 onBackup()} implementation at some time in the future. However, instead of calling {@link
56 perform a backup operation at some time in the future (via your {@link
/frameworks/base/docs/html/training/backward-compatible-ui/
Dabstracting.jd47 …d-compatibility and makes it easier to drop the abstraction layer in the future when it is no long…
/frameworks/base/docs/html/training/managing-audio/
Daudio-focus.jd53 plan to play audio for the foreseeable future (for example, when playing music).</p>
/frameworks/compile/mclinker/utils/gtest/
DREADME307 future, if we decide to improve the speed of loading the library (see
310 shared library. Otherwise a future release of Google Test may break

1234