Searched refs:Future (Results 51 - 75 of 109) sorted by relevance

12345

/external/chromium_org/chrome/common/extensions/docs/server2/
H A Dreference_resolver_test.py9 from future import Future namespace
268 return Future(value=Namespace(self._apis[name], 'fake/path.json'))
H A Drender_refresher.py11 from future import Future namespace
97 return Future(callback=lambda: False)
H A Dwhats_new_data_source.py11 from future import Future namespace
87 return Future(callback=resolve)
H A Dcaching_file_system.py9 from future import All, Future namespace
61 return Future(callback=lambda: make_stat_info(dir_stat))
90 # been cached in which case their Future will already have been constructed
106 stat_future = Future(value=stat_value)
126 return Future(value=up_to_date_data)
H A Dchroot_file_system.py9 from future import Future namespace
H A Dsubversion_file_system.py15 from future import Future namespace
137 # A list of tuples of the form (path, Future).
165 return Future(callback=resolve)
168 return Future(value=())
202 return Future(callback=resolve)
H A Dfeatures_bundle.py12 from future import All, Future namespace
217 [Future(value=features_json)] + json_path_futures)
255 return Future(value={})
313 return Future(value=features)
329 futures.append(Future(value={'resolved': dependency_features}))
H A Dcaching_rietveld_patcher.py7 from future import Future namespace
104 return Future(value=cached_value)
H A Dgitiles_file_system_test.py12 from future import Future namespace
76 return Future(callback=resolve)
H A Dpatched_file_system.py8 from future import Future namespace
24 return Future(callback=raise_file_not_found)
H A Drefresh_servlet.py15 from future import Future namespace
100 assert isinstance(refresh_future, Future), (
101 '%s.Refresh() did not return a Future' % class_name)
H A Djsc_view_test.py19 from future import Future namespace
35 return Future(value='motemplate %s' % key)
40 return Future(value={
92 return Future(value=GetEventByNameFromEvents(events))
H A Dsamples_data_source.py10 from future import All, Future namespace
H A Dsidenav_data_source.py12 from future import Future namespace
H A Dapi_list_data_source.py6 from future import Future namespace
/external/chromium_org/components/devtools_bridge/test/android/javatests/src/org/chromium/components/devtools_bridge/
H A DTestUtils.java15 import java.util.concurrent.Future;
24 // Future<String> for obtainings response.
25 public static Future<String> asyncRequest(final String socketName, final String request) {
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/
H A DResourceRunner.java14 import java.util.concurrent.Future;
36 private volatile Future<?> future;
/external/guava/guava-testlib/src/com/google/common/testing/
H A DGcFinalization.java27 import java.util.concurrent.Future;
110 * Waits until the given future {@linkplain Future#isDone is done}, invoking the garbage
115 public static void awaitDone(Future<?> future) {
141 String.format("Future not done within %d second timeout", timeoutSeconds));
/external/conscrypt/src/test/java/org/conscrypt/
H A DNativeCryptoTest.java50 import java.util.concurrent.Future;
935 public static Future<TestSSLHandshakeCallbacks> handshake(final ServerSocket listener,
939 Future<TestSSLHandshakeCallbacks> future = executor.submit(
1018 Future<TestSSLHandshakeCallbacks> client = handshake(listener, 0, true, cHooks, null, null);
1019 Future<TestSSLHandshakeCallbacks> server = handshake(listener, 0, false, sHooks, null, null);
1058 Future<TestSSLHandshakeCallbacks> client = handshake(listener, 0, true, cHooks, null, null);
1059 Future<TestSSLHandshakeCallbacks> server = handshake(listener, 0, false, sHooks, null, null);
1109 Future<TestSSLHandshakeCallbacks> client = handshake(listener, 0, true, cHooks, null,
1111 Future<TestSSLHandshakeCallbacks> server = handshake(listener, 0, false, sHooks, null,
1174 Future<TestSSLHandshakeCallback
[all...]
/external/guava/guava-tests/test/com/google/common/util/concurrent/
H A DJdkFutureAdaptersTest.java35 import java.util.concurrent.Future;
68 // #addListener() will run the listener immediately because the Future is
107 * A Future that doesn't implement ListenableFuture, useful for testing
118 @Override protected Future<V> delegate() {
128 implements Future<V> {
211 tester.setDefault(Future.class, immediateFuture(DATA1));
/external/guava/guava/src/com/google/common/util/concurrent/
H A DSimpleTimeLimiter.java35 import java.util.concurrent.Future;
126 Future<T> future = executor.submit(callable);
/external/junit/src/org/junit/internal/runners/
H A DMethodRoadie.java9 import java.util.concurrent.Future;
66 Future<Object> result= service.submit(callable);
/external/chromium_org/third_party/WebKit/Source/devtools/scripts/compiler-runner/src/org/chromium/devtools/compiler/
H A DRunner.java23 import java.util.concurrent.Future;
107 List<Future<CompilerRunner>> futures = new ArrayList<>(descriptors.size());
113 for (Future<CompilerRunner> future : futures) {
/external/chromium_org/third_party/closure_compiler/runner/src/org/chromium/closure/compiler/
H A DRunner.java28 import java.util.concurrent.Future;
112 List<Future<CompilerRunner>> futures = new ArrayList<>(descriptors.size());
118 for (Future<CompilerRunner> future : futures) {
/external/smali/smali/src/main/java/org/jf/smali/
H A Dmain.java49 import java.util.concurrent.Future;
195 List<Future<Boolean>> tasks = Lists.newArrayList();
210 for (Future<Boolean> task: tasks) {

Completed in 521 milliseconds

12345