Home
last modified time | relevance | path

Searched refs:eh (Results 1 – 9 of 9) sorted by relevance

/libcore/jsr166-tests/src/test/java/jsr166/
DThreadTest.java40 MyHandler eh = new MyHandler(); in testGetAndSetUncaughtExceptionHandler() local
42 current.setUncaughtExceptionHandler(eh); in testGetAndSetUncaughtExceptionHandler()
44 assertSame(eh, current.getUncaughtExceptionHandler()); in testGetAndSetUncaughtExceptionHandler()
64 MyHandler eh = new MyHandler(); in testGetAndSetDefaultUncaughtExceptionHandler() local
66 Thread.setDefaultUncaughtExceptionHandler(eh); in testGetAndSetDefaultUncaughtExceptionHandler()
68 assertSame(eh, Thread.getDefaultUncaughtExceptionHandler()); in testGetAndSetDefaultUncaughtExceptionHandler()
/libcore/ojluni/src/test/java/util/concurrent/tck/
DThreadTest.java64 MyHandler eh = new MyHandler(); in testGetAndSetUncaughtExceptionHandler() local
66 current.setUncaughtExceptionHandler(eh); in testGetAndSetUncaughtExceptionHandler()
68 assertSame(eh, current.getUncaughtExceptionHandler()); in testGetAndSetUncaughtExceptionHandler()
85 MyHandler eh = new MyHandler(); in testGetAndSetDefaultUncaughtExceptionHandler() local
87 Thread.setDefaultUncaughtExceptionHandler(eh); in testGetAndSetDefaultUncaughtExceptionHandler()
89 assertSame(eh, Thread.getDefaultUncaughtExceptionHandler()); in testGetAndSetDefaultUncaughtExceptionHandler()
/libcore/ojluni/annotations/mmodule/java/lang/
DThread.annotated.java140 public static void setDefaultUncaughtExceptionHandler(java.lang.Thread.UncaughtExceptionHandler eh)… in setDefaultUncaughtExceptionHandler() argument
146 public static void setUncaughtExceptionPreHandler(UncaughtExceptionHandler eh) { throw new RuntimeE… in setUncaughtExceptionPreHandler() argument
154 public void setUncaughtExceptionHandler(java.lang.Thread.UncaughtExceptionHandler eh) { throw new R… in setUncaughtExceptionHandler() argument
/libcore/ojluni/src/main/java/java/lang/
DThread.java2087 public static void setDefaultUncaughtExceptionHandler(UncaughtExceptionHandler eh) { in setDefaultUncaughtExceptionHandler() argument
2098 defaultUncaughtExceptionHandler = eh; in setDefaultUncaughtExceptionHandler()
2128 public static void setUncaughtExceptionPreHandler(UncaughtExceptionHandler eh) { in setUncaughtExceptionPreHandler() argument
2129 uncaughtExceptionPreHandler = eh; in setUncaughtExceptionPreHandler()
2176 public void setUncaughtExceptionHandler(UncaughtExceptionHandler eh) { in setUncaughtExceptionHandler() argument
2178 uncaughtExceptionHandler = eh; in setUncaughtExceptionHandler()
/libcore/ojluni/annotations/hiddenapi/java/lang/
DThread.java283 java.lang.Thread.UncaughtExceptionHandler eh) { in setDefaultUncaughtExceptionHandler() argument
292 java.lang.Thread.UncaughtExceptionHandler eh) { in setUncaughtExceptionPreHandler() argument
305 public void setUncaughtExceptionHandler(java.lang.Thread.UncaughtExceptionHandler eh) { in setUncaughtExceptionHandler() argument
/libcore/ojluni/annotations/sdk/nullability/java/lang/
DThread.annotated.java134 …onHandler(@libcore.util.Nullable java.lang.Thread.UncaughtExceptionHandler eh) { throw new Runtime… in setDefaultUncaughtExceptionHandler() argument
140 …onHandler(@libcore.util.Nullable java.lang.Thread.UncaughtExceptionHandler eh) { throw new Runtime… in setUncaughtExceptionHandler() argument
/libcore/luni/src/main/java/javax/xml/parsers/
DDocumentBuilder.java245 public abstract void setErrorHandler(ErrorHandler eh); in setErrorHandler() argument
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/xml/parsers/
DDocumentBuilderTest.java114 public void setErrorHandler(ErrorHandler eh) { in setErrorHandler() argument
/libcore/ojluni/src/main/java/java/util/concurrent/
DConcurrentHashMap.java943 Node<K,V>[] tab; Node<K,V> e, p; int n, eh; K ek; in get() local
947 if ((eh = e.hash) == h) { in get()
951 else if (eh < 0) in get()
2247 int eh; K ek; in find() local
2248 if ((eh = e.hash) == h && in find()
2251 if (eh < 0) { in find()