Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/util/
DTimer.java152 public Timer(boolean isDaemon) { in Timer() argument
153 this("Timer-" + serialNumber(), isDaemon); in Timer()
180 public Timer(String name, boolean isDaemon) { in Timer() argument
182 thread.setDaemon(isDaemon); in Timer()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DThreadGroupTest.java371 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()
DThreadTest.java551 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()
/libcore/ojluni/src/main/java/java/lang/
DThread.java528 this.daemon = parent.isDaemon(); in init()
1565 public final boolean isDaemon() { in isDaemon() method in Thread
2237 if (isAlive() || !isDaemon()) { in setSystemDaemon()
DThreadGroup.java200 public final boolean isDaemon() { in isDaemon() method in ThreadGroup
/libcore/ojluni/annotations/hiddenapi/java/lang/
DThreadGroup.java67 public final boolean isDaemon() { in isDaemon() method in ThreadGroup
DThread.java235 public final boolean isDaemon() { in isDaemon() method in Thread
/libcore/ojluni/annotations/mmodule/java/lang/
DThread.annotated.java120 public final boolean isDaemon() { throw new RuntimeException("Stub!"); } in isDaemon() method in Thread
/libcore/jsr166-tests/src/test/java/jsr166/
DExecutorsTest.java314 assertTrue(!current.isDaemon()); in testDefaultThreadFactory()
352 assertTrue(!current.isDaemon()); in testPrivilegedThreadFactory()
/libcore/ojluni/annotations/sdk/nullability/java/lang/
DThread.annotated.java114 public final boolean isDaemon() { throw new RuntimeException("Stub!"); } in isDaemon() method in Thread
/libcore/ojluni/src/main/java/java/util/concurrent/
DExecutors.java570 if (t.isDaemon())