Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/util/
DTimer.java163 public Timer(boolean isDaemon) { in Timer() argument
164 this("Timer-" + serialNumber(), isDaemon); in Timer()
190 public Timer(String name, boolean isDaemon) { in Timer() argument
194 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.java552 assertEquals(Thread.currentThread().isDaemon(), st.isDaemon()); in test_isDaemon()
554 assertTrue("Daemon thread returned false", st.isDaemon()); in test_isDaemon()
782 assertTrue("Failed to set thread as daemon thread", st.isDaemon()); in test_setDaemonZ()
/libcore/ojluni/src/main/java/java/lang/
DThread.java559 this.daemon = parent.isDaemon(); in Thread()
1650 public final boolean isDaemon() { in isDaemon() method in Thread
2339 if (isAlive() || !isDaemon()) { in setSystemDaemon()
DThreadGroup.java198 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/src/test/java/util/concurrent/tck/
DExecutorsTest.java337 assertTrue(!current.isDaemon()); in testDefaultThreadFactory()
374 assertTrue(!current.isDaemon()); in testPrivilegedThreadFactory()
/libcore/ojluni/annotations/sdk/nullability/java/lang/
DThread.annotated.java116 public final boolean isDaemon() { throw new RuntimeException("Stub!"); } in isDaemon() method in Thread
/libcore/ojluni/src/main/java/java/util/concurrent/
DExecutors.java613 if (t.isDaemon())
/libcore/api/
Dcurrent.txt4393 method public final boolean isDaemon();
4452 method public final boolean isDaemon();