OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:threadFactory
(Results
1 - 25
of
26
) sorted by null
1
2
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/
SingleThreadNamedTaskExecutor.java
22
import java.util.concurrent.
ThreadFactory
;
36
public SingleThreadNamedTaskExecutor(
ThreadFactory
threadFactory
) {
38
mWorker =
threadFactory
.newThread(new Worker());
94
public static Factory<NamedTaskExecutor> factory(final
ThreadFactory
threadFactory
) {
97
return new SingleThreadNamedTaskExecutor(
threadFactory
);
/cts/libs/vogar-expect/src/vogar/util/
Threads.java
21
import java.util.concurrent.
ThreadFactory
;
31
public static
ThreadFactory
daemonThreadFactory(final String name) {
32
return new
ThreadFactory
() {
47
ThreadFactory
threadFactory
= daemonThreadFactory(name);
50
new LinkedBlockingQueue<Runnable>(Integer.MAX_VALUE),
threadFactory
) {
/libcore/luni/src/main/java/java/util/concurrent/
Executors.java
22
*
ThreadFactory
}, and {@link Callable} classes defined in this
33
* <li> Methods that create and return a {@link
ThreadFactory
}
69
*
ThreadFactory
to create new threads when needed. At any point,
80
* @param
threadFactory
the factory to use when creating new threads
82
* @throws NullPointerException if
threadFactory
is null
85
public static ExecutorService newFixedThreadPool(int nThreads,
ThreadFactory
threadFactory
) {
89
threadFactory
);
114
* off an unbounded queue, and uses the provided
ThreadFactory
to
116
* equivalent <tt>newFixedThreadPool(1,
threadFactory
)</tt> th
[
all
...]
ThreadPoolExecutor.java
74
* <dd>New threads are created using a {@link
ThreadFactory
}. If not
78
* non-daemon status. By supplying a different
ThreadFactory
, you can
80
* etc. If a {@code
ThreadFactory
} fails to create a thread when asked
302
* for example when a
ThreadFactory
fails to create a thread when
469
private volatile
ThreadFactory
threadFactory
;
563
* Creates with given first task and thread from
ThreadFactory
.
[
all
...]
ScheduledThreadPoolExecutor.java
412
* @param
threadFactory
the factory to use when the executor
415
* @throws NullPointerException if {@code
threadFactory
} is null
418
ThreadFactory
threadFactory
) {
420
new DelayedWorkQueue(),
threadFactory
);
446
* @param
threadFactory
the factory to use when the executor
451
* @throws NullPointerException if {@code
threadFactory
} or
455
ThreadFactory
threadFactory
,
458
new DelayedWorkQueue(),
threadFactory
, handler)
[
all
...]
/external/guava/guava/src/com/google/common/util/concurrent/
JdkFutureAdapters.java
27
import java.util.concurrent.
ThreadFactory
;
89
private static final
ThreadFactory
threadFactory
=
95
Executors.newCachedThreadPool(
threadFactory
);
/external/guava/guava-tests/test/com/google/common/util/concurrent/
ThreadFactoryBuilderTest.java
27
import java.util.concurrent.
ThreadFactory
;
57
ThreadFactory
threadFactory
= builder.build();
58
Thread thread =
threadFactory
.newThread(monitoredRunnable);
74
// Creating a new thread from the same
ThreadFactory
will have the same
76
Thread thread2 =
threadFactory
.newThread(monitoredRunnable);
83
ThreadFactory
threadFactory2 = builder.build();
98
ThreadFactory
factory = builder.setNameFormat(NAME_FORMAT).build();
106
ThreadFactory
factory = builder.setDaemon(false).build();
112
ThreadFactory
factory = builder.setDaemon(true).build()
[
all
...]
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
QsbApplication.java
46
import java.util.concurrent.
ThreadFactory
;
61
private
ThreadFactory
mQueryThreadFactory;
155
ThreadFactory
iconThreadFactory = new PriorityThreadFactory(
244
final
ThreadFactory
threadFactory
= getQueryThreadFactory();
247
return Executors.newFixedThreadPool(numThreads,
threadFactory
);
281
ThreadFactory
logThreadFactory =
322
ThreadFactory
queryThreadFactory = getQueryThreadFactory();
330
protected
ThreadFactory
getQueryThreadFactory() {
338
protected
ThreadFactory
createQueryThreadFactory()
[
all
...]
/prebuilts/sdk/10/
android.jar
/prebuilts/sdk/11/
android.jar
/prebuilts/sdk/13/
android.jar
/prebuilts/sdk/16/
android.jar
/prebuilts/sdk/5/
android.jar
/prebuilts/sdk/7/
android.jar
/prebuilts/sdk/8/
android.jar
/prebuilts/sdk/9/
android.jar
/prebuilts/sdk/current/
android.jar
/prebuilts/devtools/tools/lib/
guava-13.0.1.jar
/prebuilts/misc/common/tradefed/
tradefed-prebuilt.jar
/prebuilts/sdk/tools/lib/
guava-10.0.1.jar
lint.jar
lint_api.jar
lint_checks.jar
/prebuilts/tools/common/gradle-plugins/repository/com/google/guava/guava/14.0/
guava-14.0.jar
/prebuilts/tools/common/guava-tools/
guava-13.0.1.jar
Completed in 174 milliseconds
1
2