HomeSort by relevance Sort by last modified time
    Searched defs:future (Results 1 - 25 of 29) sorted by null

1 2

  /frameworks/ex/variablespeed/tests/src/com/android/ex/variablespeed/
RealMediaPlayerTest.java 40 FutureTask<MediaPlayer> future = new FutureTask<MediaPlayer>(callable); local
41 getInstrumentation().runOnMainSync(future);
42 return DynamicProxy.dynamicProxy(MediaPlayerProxy.class, future.get(1, TimeUnit.SECONDS));
  /packages/apps/Email/tests/src/com/android/email/
AccountTestCase.java 85 AccountManagerFuture<Boolean> future = local
88 future.getResult();
  /external/chromium/chrome/browser/safe_browsing/
protocol_manager_unittest.cc 115 Time future = now + TimeDelta::FromMinutes(1); local
116 EXPECT_TRUE(pm.next_gethash_time_ >= future - margin &&
117 pm.next_gethash_time_ <= future + margin);
safe_browsing_store_unittest.cc 263 const base::Time future = now + base::TimeDelta::FromDays(3*365); local
266 EXPECT_GT(static_cast<int32>(future.ToTimeT()), 0)
  /external/guava/src/com/google/common/util/concurrent/
SimpleTimeLimiter.java 33 import java.util.concurrent.Future;
120 Future<T> future = executor.submit(callable); local
124 return future.get(timeoutDuration, timeoutUnit);
126 future.cancel(true);
130 Future<T> uninterruptible = Futures.makeUninterruptible(future);
136 future.cancel(true);
  /frameworks/base/libs/usb/src/com/android/future/usb/
UsbAccessory.java 17 package com.android.future.usb;
UsbManager.java 18 package com.android.future.usb;
  /packages/apps/Exchange/tests/src/com/android/exchange/
CalendarSyncEnablerTest.java 251 AccountManagerFuture<Boolean> future = local
254 future.getResult();
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/
OutputStreamTesterTest.java 43 import java.util.concurrent.Future;
116 private Future<byte[]> future; field in class:OutputStreamTesterTest.PipedOutputStreamSinkTester
123 future = executor.submit(new Callable<byte[]>() {
140 return future.get();
WriterTesterTest.java 42 import java.util.concurrent.Future;
105 private Future<char[]> future; field in class:WriterTesterTest.PipedWriterCharSinkTester
112 future = executor.submit(new Callable<char[]>() {
129 return future.get();
  /prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/linux/
cramfs_fs.h 59 __u32 future; /* reserved for future use */ member in struct:cramfs_super
81 * changed to test super.future instead.
  /libcore/luni/src/test/java/libcore/java/util/concurrent/
CopyOnWriteArrayListTest.java 29 import java.util.concurrent.Future;
180 Future<?> future = executor.submit(new Runnable() { local
199 future.get(); // this will throw the above exception
  /packages/apps/Gallery2/src/com/android/gallery3d/data/
MediaSet.java 20 import com.android.gallery3d.util.Future;
212 * Requests sync on this MediaSet. It returns a Future object that can be used by the caller
214 * defined in this class and can be obtained by Future.get().
218 * The default implementation here returns a Future stub that does nothing and returns
221 public Future<Integer> requestSync(SyncListener listener) {
225 private static final Future<Integer> FUTURE_STUB = new Future<Integer>() {
248 protected Future<Integer> requestSyncOnEmptySets(MediaSet[] sets, SyncListener listener) {
249 MultiSetSyncFuture future = new MultiSetSyncFuture(listener); local
250 future.requestSyncOnEmptySets(sets)
272 Future<Integer> future = set.requestSync(this); local
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/ui/
AlbumSetSlidingWindow.java 30 import com.android.gallery3d.util.Future;
333 private Future<Bitmap> mFuture;
430 public void onFutureDone(Future<Bitmap> future) {
435 Future<Bitmap> future = mFuture; local
437 updateImage(future.get(), future.isCancelled());
AlbumSlidingWindow.java 28 import com.android.gallery3d.util.Future;
280 private Future<Bitmap> mFuture;
395 public void onFutureDone(Future<Bitmap> bitmap) {
400 Future<Bitmap> future = mFuture; local
402 Bitmap bitmap = future.get();
403 boolean isCancelled = future.isCancelled();
  /external/chromium/base/
message_pump_glib_unittest.cc 72 base::Time future = last_time + base::TimeDelta::FromMilliseconds(delay_ms); local
73 EventInjector::Event event = { future, task };
  /packages/apps/Gallery2/src/com/android/gallery3d/util/
JobLimiter.java 41 private static class JobWrapper<T> implements Future<T>, Job<T> {
44 private Future<T> mDelegate;
53 public synchronized void setFuture(Future<T> future) {
55 mDelegate = future;
136 public synchronized <T> Future<T> submit(Job<T> job, FutureListener<T> listener) {
137 JobWrapper<T> future = new JobWrapper<T>(Utils.checkNotNull(job), listener); local
138 mJobs.addLast(future);
140 return future;
143 public <T> Future<T> submit(Job<T> job)
    [all...]
  /frameworks/base/services/tests/servicestests/src/com/android/server/
NetworkPolicyManagerServiceTest.java 87 import java.util.concurrent.Future;
245 final Future<Intent> backgroundChanged = mServiceContext.nextBroadcastIntent(
287 Future<Void> future; local
291 future = expectRulesChanged(UID_A, RULE_ALLOW_ALL);
294 future.get();
300 future = expectRulesChanged(UID_A, RULE_ALLOW_ALL);
303 future.get();
310 future = expectRulesChanged(UID_A, RULE_REJECT_METERED);
313 future.get()
328 Future<Void> future; local
358 Future<Void> future; local
389 Future<Void> future; local
497 Future<Void> future; local
543 Future<Void> future; local
569 Future<Void> future; local
766 final FutureAnswer future = new FutureAnswer(); local
773 final FutureAnswer future = new FutureAnswer(); local
    [all...]
  /external/bluetooth/bluez/tools/
hciattach_ti.c 82 uint8_t future[24]; member in struct:bts_header
  /external/skia/src/animator/
SkAnimateActive.cpp 432 SkMSec future = fAnimators[index]->fStart + state.fStartTime; local
433 if (future > fMaker.fEnableTime)
434 fMaker.notifyInvalTime(future);
439 debugOut.appendS32(future - fMaker.fDebugTimeBase);
  /frameworks/base/core/tests/utillib/src/coretestutils/http/
MockWebServer.java 39 import java.util.concurrent.Future;
63 private final Queue<Future<?>> futures = new LinkedList<Future<?>>();
185 Future<?> future = executor.submit(callable); local
186 futures.add(future);
197 Future<?> future = futures.remove(); local
199 future.get(0, TimeUnit.SECONDS);
201 futures.add(future); // still runnin
    [all...]
  /packages/providers/DownloadProvider/tests/src/tests/http/
MockWebServer.java 41 import java.util.concurrent.Future;
62 private final Queue<Future<?>> futures = new LinkedList<Future<?>>();
179 Future<?> future = executor.submit(callable); local
180 futures.add(future);
191 Future<?> future = futures.remove(); local
193 future.get(0, TimeUnit.SECONDS);
195 futures.add(future); // still runnin
    [all...]
  /sdk/ddms/libs/ddmlib/src/com/android/ddmlib/
HandleThread.java 222 int future; local
224 future = data.getInt();
  /frameworks/base/services/java/com/android/server/
DropBoxManagerService.java 626 // >10sec in the future (due to clock skew), drag them back to avoid
630 EntryFile[] future = null; local
632 future = tail.toArray(new EntryFile[tail.size()]);
640 if (future != null) {
641 for (EntryFile late : future) {
  /sdk/emulator/qtools/
trace_reader.cpp 74 inline BBReader::Future *BBReader::AllocFuture()
76 Future *future = free_; local
78 return future;
81 inline void BBReader::FreeFuture(Future *future)
83 future->next = free_;
84 free_ = future;
87 inline void BBReader::InsertFuture(Future *future)
197 Future *future = head_; local
222 Future *future = AllocFuture(); local
245 Future *future = head_; local
    [all...]

Completed in 644 milliseconds

1 2