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

1 2

  /frameworks/base/libs/hwui/thread/
Future.h 28 class Future: public LightRefBase<Future<T> > {
30 Future(Condition::WakeUpType type = Condition::WAKE_UP_ONE): mBarrier(type), mResult() { }
31 ~Future() { }
34 * Returns the result of this future, blocking if
  /external/chromium_org/chrome/common/extensions/docs/server2/
future.py 9 class Future(object):
appengine_url_fetcher.py 8 from future import Future
39 """Fetches a file asynchronously, and returns a Future with the result.
45 return Future(delegate=_AsyncFetchDelegate(rpc))
cache_chain_object_store.py 5 from future import Future
9 '''A Future for GetMulti.
13 - |object_store_futures| a list of (object store, future) pairs, where future
32 # Don't realise the Future value of an object store that we don't need to;
92 return Future(value=cached_items)
95 return Future(delegate=_GetMultiFuture(
empty_dir_file_system.py 6 from future import Future
18 return Future(value=result)
fake_url_fetcher.py 7 from future import Future
42 return Future(value=self.Fetch(url))
object_store.py 5 from future import Future
19 '''Gets a |Future| with the value of |key| in the object store, or None
22 return Future(delegate=_SingleGetFuture(self.GetMulti([key]), key))
25 '''Gets a |Future| with values mapped to |keys| from the object store, with
test_patcher.py 5 from future import Future
32 return Future(value=dict((path, self._patch_data[path])
caching_file_system.py 6 from future import Future
108 return Future(value=results)
110 return Future(delegate=_AsyncUncachedFuture(
persistent_object_store.py 7 from future import Future
18 return dict((key, future.get_result().GetValue())
19 for key, future in self._futures.iteritems()
20 if future.get_result() is not None)
36 [future.wait() for future in futures]
39 return Future(delegate=_AsyncGetFuture(self, keys))
49 [future.wait() for future in futures
    [all...]
test_object_store.py 5 from future import Future
12 is a special case; it is only incremented once the future has had Get called.
33 return Future(delegate=FutureImpl())
caching_rietveld_patcher.py 7 from future import Future
111 return Future(value=cached_value)
caching_rietveld_patcher_test.py 11 from future import Future
future_test.py 9 from future import Future
13 self.assertRaises(ValueError, Future)
16 future = Future(value=42)
17 self.assertEqual(42, future.Get())
18 self.assertEqual(42, future.Get())
30 future = Future(delegate=delegate())
31 self.assertEqual(42, future.Get()
    [all...]
local_file_system.py 10 from future import Future
83 return Future(value=result)
mock_file_system.py 6 from future import Future
49 return Future(value=result)
patched_file_system.py 8 from future import Future
55 return Future(delegate=_AsyncFetchFuture(
patched_file_system_test.py 10 from future import Future
rietveld_patcher.py 10 from future import Future
171 return Future(delegate=_AsyncFetchFuture(self._base_path,
test_file_system.py 6 from future import Future
45 return Future(delegate=Delegate())
caching_file_system_test.py 12 from future import Future
subversion_file_system.py 14 from future import Future
101 # A list of tuples of the form (path, Future).
116 for path, future in self._fetches:
118 result = future.Get()
160 return Future(delegate=_AsyncFetchFuture(paths,
subversion_file_system_test.py 13 from future import Future
  /libcore/luni/src/main/java/java/util/concurrent/
Future.java 10 * A {@code Future} represents the result of an asynchronous
19 * If you would like to use a {@code Future} for the sake
21 * declare types of the form {@code Future<?>} and
34 * Future<String> future
41 * displayText(future.get()); // use future
46 * The {@link FutureTask} class is an implementation of {@code Future} that
50 * FutureTask<String> future =
55 * executor.execute(future);}</pre
    [all...]
  /packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/util/
Future.java 19 // This Future differs from the java.util.concurrent.Future in these aspects:
23 // ignore that flag. Regardless whether the Future is cancelled, a return
25 // null if it finds the Future is cancelled.
29 public interface Future<T> {

Completed in 1722 milliseconds

1 2