Home
last modified time | relevance | path

Searched refs:UncaughtExceptionHandler (Results 1 – 14 of 14) sorted by relevance

/libcore/luni/src/test/java/libcore/java/lang/
DThreadTest.java19 import java.lang.Thread.UncaughtExceptionHandler;
140 UncaughtExceptionHandler initialHandler = Mockito.mock(UncaughtExceptionHandler.class); in testUncaughtExceptionPreHandler_calledBeforeDefaultHandler()
141 UncaughtExceptionHandler defaultHandler = Mockito.mock(UncaughtExceptionHandler.class); in testUncaughtExceptionPreHandler_calledBeforeDefaultHandler()
144 UncaughtExceptionHandler originalDefaultHandler in testUncaughtExceptionPreHandler_calledBeforeDefaultHandler()
162 UncaughtExceptionHandler initialHandler = Mockito.mock(UncaughtExceptionHandler.class); in testUncaughtExceptionPreHandler_noDefaultHandler()
163 UncaughtExceptionHandler originalDefaultHandler in testUncaughtExceptionPreHandler_noDefaultHandler()
DOldThreadGroupTest.java27 public class OldThreadGroupTest extends TestCase implements Thread.UncaughtExceptionHandler {
/libcore/ojluni/src/main/java/java/lang/
DThread.java1812 public interface UncaughtExceptionHandler { interface in Thread
1825 private volatile UncaughtExceptionHandler uncaughtExceptionHandler;
1828 private static volatile UncaughtExceptionHandler defaultUncaughtExceptionHandler;
1864 public static void setDefaultUncaughtExceptionHandler(UncaughtExceptionHandler eh) { in setDefaultUncaughtExceptionHandler()
1876 public static UncaughtExceptionHandler getDefaultUncaughtExceptionHandler(){ in getDefaultUncaughtExceptionHandler()
1882 private static volatile UncaughtExceptionHandler uncaughtExceptionPreHandler;
1893 public static void setUncaughtExceptionPreHandler(UncaughtExceptionHandler eh) { in setUncaughtExceptionPreHandler()
1898 public static UncaughtExceptionHandler getUncaughtExceptionPreHandler() { in getUncaughtExceptionPreHandler()
1911 public UncaughtExceptionHandler getUncaughtExceptionHandler() { in getUncaughtExceptionHandler()
1931 public void setUncaughtExceptionHandler(UncaughtExceptionHandler eh) { in setUncaughtExceptionHandler()
[all …]
DThreadGroup.java58 class ThreadGroup implements Thread.UncaughtExceptionHandler {
1065 Thread.UncaughtExceptionHandler ueh = in uncaughtException()
/libcore/jsr166-tests/src/test/java/jsr166/
DThreadTest.java25 static class MyHandler implements Thread.UncaughtExceptionHandler {
62 Thread.UncaughtExceptionHandler defaultHandler in testGetAndSetDefaultUncaughtExceptionHandler()
DForkJoinPoolTest.java64 static class MyHandler implements Thread.UncaughtExceptionHandler {
279 final Thread.UncaughtExceptionHandler ueh = in testSetUncaughtExceptionHandler()
280 new Thread.UncaughtExceptionHandler() { in testSetUncaughtExceptionHandler()
/libcore/ojluni/src/main/java/java/util/concurrent/
DForkJoinWorkerThread.java237 public void setUncaughtExceptionHandler(UncaughtExceptionHandler x) { } in setUncaughtExceptionHandler()
DForkJoinPool.java38 import java.lang.Thread.UncaughtExceptionHandler;
1497 final UncaughtExceptionHandler ueh; // per-worker UEH
1586 UncaughtExceptionHandler handler; in registerWorker()
2665 UncaughtExceptionHandler handler, in ForkJoinPool()
2695 UncaughtExceptionHandler handler, in ForkJoinPool()
2869 public UncaughtExceptionHandler getUncaughtExceptionHandler() { in getUncaughtExceptionHandler()
3513 UncaughtExceptionHandler handler = null; in makeCommonPool()
3527 handler = ((UncaughtExceptionHandler)ClassLoader. in makeCommonPool()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DTimerTest.java20 import java.lang.Thread.UncaughtExceptionHandler;
972 Thread.currentThread().setUncaughtExceptionHandler(new UncaughtExceptionHandler() { in testThrowingTaskKillsTimerThread()
1134 private static class SwallowUncaughtExceptionHandler implements UncaughtExceptionHandler {
1149 UncaughtExceptionHandler excHandler = Thread.getDefaultUncaughtExceptionHandler(); in testTimerCancelledAfterException()
1206 UncaughtExceptionHandler excHandler = Thread.getDefaultUncaughtExceptionHandler(); in testTimerCancelledAfterExceptionAndTasksNotCancelledAfterPurge()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DThreadTest.java20 import java.lang.Thread.UncaughtExceptionHandler;
909 class Handler implements UncaughtExceptionHandler { in test_get_setDefaultUncaughtExceptionHandler()
962 class Handler implements UncaughtExceptionHandler { in test_get_setUncaughtExceptionHandler()
DThreadGroupTest.java27 private Thread.UncaughtExceptionHandler originalThreadDefaultUncaughtExceptionHandler;
771 implements Thread.UncaughtExceptionHandler {
/libcore/libart/src/main/java/java/lang/
DDaemons.java403 Thread.UncaughtExceptionHandler h = Thread.getDefaultUncaughtExceptionHandler(); in finalizerTimedOut()
/libcore/luni/src/test/java/libcore/java/util/
DTimeZoneTest.java442 Thread.UncaughtExceptionHandler handler = (t, e) -> exceptions.add(e); in testSetDefaultRace()
/libcore/luni/src/test/java/libcore/javax/net/ssl/
DSSLSocketTest.java28 import java.lang.Thread.UncaughtExceptionHandler;
656 private static final class TestUncaughtExceptionHandler implements UncaughtExceptionHandler {
666 final UncaughtExceptionHandler original = self.getUncaughtExceptionHandler(); in test_SSLSocket_HandshakeCompletedListener_RuntimeException()