Home
last modified time | relevance | path

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

/libcore/libart/src/main/java/java/lang/
DThreadGroup.java62 private boolean isDaemon; field in ThreadGroup
101 if (parent.isDaemon()) { in ThreadGroup()
245 if (isDaemon && !isDestroyed && !threads.iterator().hasNext()) { in destroyIfEmptyDaemon()
433 public final boolean isDaemon() { in isDaemon() method in ThreadGroup
434 return isDaemon; in isDaemon()
561 public final void setDaemon(boolean isDaemon) { in setDaemon() argument
562 this.isDaemon = isDaemon; in setDaemon()
DThread.java696 public final boolean isDaemon() { in isDaemon() method in Thread
839 public final void setDaemon(boolean isDaemon) { in setDaemon() argument
843 daemon = isDaemon; in setDaemon()
/libcore/luni/src/main/java/java/util/
DTimer.java189 TimerImpl(String name, boolean isDaemon) { in TimerImpl() argument
191 this.setDaemon(isDaemon); in TimerImpl()
361 public Timer(String name, boolean isDaemon) { in Timer() argument
365 this.impl = new TimerImpl(name, isDaemon); in Timer()
383 public Timer(boolean isDaemon) { in Timer() argument
384 this("Timer-" + Timer.nextId(), isDaemon); in Timer()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DThreadGroupTest.java370 assertTrue("Setting daemon&getting does not work", testRoot.isDaemon()); in test_setDaemon_isDaemon()
373 assertTrue("Setting daemon&getting does not work", !testRoot.isDaemon()); in test_setDaemon_isDaemon()
386 assertTrue(ctg.isDaemon()); in test_setDaemon_Parent_Child()
389 assertFalse(ctg.isDaemon()); in test_setDaemon_Parent_Child()
392 assertFalse(ctg.isDaemon()); in test_setDaemon_Parent_Child()
395 assertFalse(ctg.isDaemon()); in test_setDaemon_Parent_Child()
DThreadTest.java550 assertTrue("Non-Daemon thread returned true", !st.isDaemon()); in test_isDaemon()
552 assertTrue("Daemon thread returned false", st.isDaemon()); in test_isDaemon()
775 assertTrue("Failed to set thread as daemon thread", st.isDaemon()); in test_setDaemonZ()
/libcore/jsr166-tests/src/test/java/jsr166/
DExecutorsTest.java314 assertTrue(!current.isDaemon()); in testDefaultThreadFactory()
358 assertTrue(!current.isDaemon()); in testPrivilegedThreadFactory()
/libcore/luni/src/main/java/java/util/concurrent/
DExecutors.java529 if (t.isDaemon())