Searched refs:isDaemon (Results 1 - 7 of 7) sorted by relevance

/libcore/libart/src/main/java/java/lang/
H A DThreadGroup.java62 private boolean isDaemon; field in class:ThreadGroup
101 if (parent.isDaemon()) {
240 * @see #isDaemon
245 if (isDaemon && !isDestroyed && !threads.iterator().hasNext()) {
433 public final boolean isDaemon() { method in class:ThreadGroup
434 return isDaemon;
557 * @param isDaemon the new value
558 * @see #isDaemon
561 public final void setDaemon(boolean isDaemon) { argument
562 this.isDaemon
[all...]
H A DThread.java696 public final boolean isDaemon() { method in class:Thread
839 public final void setDaemon(boolean isDaemon) { argument
843 daemon = isDaemon;
/libcore/luni/src/main/java/java/util/
H A DTimer.java187 * @param isDaemon daemon thread or not
189 TimerImpl(String name, boolean isDaemon) { argument
191 this.setDaemon(isDaemon);
361 public Timer(String name, boolean isDaemon) { argument
365 this.impl = new TimerImpl(name, isDaemon);
381 * @param isDaemon {@code true} if the {@code Timer}'s thread should be a daemon thread.
383 public Timer(boolean isDaemon) { argument
384 this("Timer-" + Timer.nextId(), isDaemon);
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
H A DThreadGroupTest.java362 // Test for method boolean java.lang.ThreadGroup.isDaemon() and
370 assertTrue("Setting daemon&getting does not work", testRoot.isDaemon());
373 assertTrue("Setting daemon&getting does not work", !testRoot.isDaemon());
386 assertTrue(ctg.isDaemon());
389 assertFalse(ctg.isDaemon());
392 assertFalse(ctg.isDaemon());
395 assertFalse(ctg.isDaemon());
H A DThreadTest.java545 * java.lang.Thread#isDaemon()
548 // Test for method boolean java.lang.Thread.isDaemon()
550 assertTrue("Non-Daemon thread returned true", !st.isDaemon());
552 assertTrue("Daemon thread returned false", st.isDaemon());
775 assertTrue("Failed to set thread as daemon thread", st.isDaemon());
/libcore/jsr166-tests/src/test/java/jsr166/
H A DExecutorsTest.java314 assertTrue(!current.isDaemon());
358 assertTrue(!current.isDaemon());
/libcore/luni/src/main/java/java/util/concurrent/
H A DExecutors.java529 if (t.isDaemon())

Completed in 4382 milliseconds