OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:futures
(Results
1 - 3
of
3
) sorted by null
/libcore/luni/src/main/java/java/util/concurrent/
AbstractExecutorService.java
118
List<Future<T>>
futures
= new ArrayList<Future<T>>(ntasks);
local
136
futures
.add(ecs.submit(it.next()));
145
futures
.add(ecs.submit(it.next()));
178
for (Future<T> f :
futures
)
203
List<Future<T>>
futures
= new ArrayList<Future<T>>(tasks.size());
local
208
futures
.add(f);
211
for (Future<T> f :
futures
) {
221
return
futures
;
224
for (Future<T> f :
futures
)
235
List<Future<T>>
futures
= new ArrayList<Future<T>>(tasks.size())
local
[
all
...]
/frameworks/base/core/tests/utillib/src/coretestutils/http/
MockWebServer.java
62
// keep
Futures
around so we can rethrow any exceptions thrown by Callables
63
private final Queue<Future<?>>
futures
= new LinkedList<Future<?>>();
field in class:MockWebServer
186
futures
.add(future);
195
final int originalSize =
futures
.size();
197
Future<?> future =
futures
.remove();
201
futures
.add(future); // still running
/packages/providers/DownloadProvider/tests/src/tests/http/
MockWebServer.java
61
// keep
Futures
around so we can rethrow any exceptions thrown by Callables
62
private final Queue<Future<?>>
futures
= new LinkedList<Future<?>>();
field in class:MockWebServer
180
futures
.add(future);
189
final int originalSize =
futures
.size();
191
Future<?> future =
futures
.remove();
195
futures
.add(future); // still running
Completed in 130 milliseconds