Searched refs:isDaemon (Results 1 – 11 of 11) sorted by relevance
152 public Timer(boolean isDaemon) { in Timer() argument153 this("Timer-" + serialNumber(), isDaemon); in Timer()180 public Timer(String name, boolean isDaemon) { in Timer() argument182 thread.setDaemon(isDaemon); in Timer()
371 assertTrue("Setting daemon&getting does not work", testRoot.isDaemon()); in test_setDaemon_isDaemon()374 assertTrue("Setting daemon&getting does not work", !testRoot.isDaemon()); in test_setDaemon_isDaemon()387 assertTrue(ctg.isDaemon()); in test_setDaemon_Parent_Child()390 assertFalse(ctg.isDaemon()); in test_setDaemon_Parent_Child()393 assertFalse(ctg.isDaemon()); in test_setDaemon_Parent_Child()396 assertFalse(ctg.isDaemon()); in test_setDaemon_Parent_Child()
551 assertEquals(Thread.currentThread().isDaemon(), st.isDaemon()); in test_isDaemon()553 assertTrue("Daemon thread returned false", st.isDaemon()); in test_isDaemon()781 assertTrue("Failed to set thread as daemon thread", st.isDaemon()); in test_setDaemonZ()
528 this.daemon = parent.isDaemon(); in init()1565 public final boolean isDaemon() { in isDaemon() method in Thread2237 if (isAlive() || !isDaemon()) { in setSystemDaemon()
200 public final boolean isDaemon() { in isDaemon() method in ThreadGroup
67 public final boolean isDaemon() { in isDaemon() method in ThreadGroup
235 public final boolean isDaemon() { in isDaemon() method in Thread
120 public final boolean isDaemon() { throw new RuntimeException("Stub!"); } in isDaemon() method in Thread
314 assertTrue(!current.isDaemon()); in testDefaultThreadFactory()352 assertTrue(!current.isDaemon()); in testPrivilegedThreadFactory()
114 public final boolean isDaemon() { throw new RuntimeException("Stub!"); } in isDaemon() method in Thread
570 if (t.isDaemon())