Searched refs:th (Results 1 – 7 of 7) sorted by relevance
/libcore/luni/src/main/java/java/security/cert/ |
D | CertStore.java | 106 Throwable th = e.getCause(); in getInstance() 107 if (th == null) { in getInstance() 110 throw new InvalidAlgorithmParameterException(e.getMessage(), th); in getInstance() 186 Throwable th = e.getCause(); in getInstance() 187 if (th == null) { in getInstance() 190 throw new InvalidAlgorithmParameterException(e.getMessage(), th); in getInstance()
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | ThrowableTest.java | 45 } catch (Throwable th) { in testNonWritableStackTrace() 46 assertEquals("hi", th.getMessage()); in testNonWritableStackTrace() 49 assertEquals(0, th.getStackTrace().length); in testNonWritableStackTrace() 52 th.setStackTrace(new StackTraceElement[] { new StackTraceElement("c", "m", "f", -2) }); in testNonWritableStackTrace() 53 assertEquals(0, th.getStackTrace().length); in testNonWritableStackTrace() 56 th.fillInStackTrace(); in testNonWritableStackTrace() 57 assertEquals(0, th.getStackTrace().length); in testNonWritableStackTrace() 60 th.printStackTrace(new PrintWriter(new StringWriter())); in testNonWritableStackTrace()
|
D | OldThreadTest.java | 313 Thread th = new Thread() { in test_getState() local 347 assertEquals(Thread.State.NEW, th.getState()); in test_getState() 348 th.start(); in test_getState() 350 assertEquals(Thread.State.RUNNABLE, th.getState()); in test_getState() 355 assertEquals(Thread.State.WAITING, th.getState()); in test_getState() 360 assertEquals(Thread.State.BLOCKED, th.getState()); in test_getState() 366 assertEquals(Thread.State.TIMED_WAITING, th.getState()); in test_getState() 367 th.interrupt(); in test_getState() 370 th.join(1000); in test_getState() 371 assertEquals(Thread.State.TERMINATED, th.getState()); in test_getState()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
D | ThreadTest.java | 610 Thread th = new Thread("test"); in test_join() local 612 th.join(); in test_join() 617 th.start(); in test_join() 671 Thread th = new Thread("test"); in test_joinJ() local 677 th.join(200); in test_joinJ() 683 th.start(); in test_joinJ() 724 Thread th = new Thread("test"); in test_joinJI() local 730 th.join(200, 20); in test_joinJI() 736 th.start(); in test_joinJI()
|
/libcore/luni/src/test/java/libcore/icu/ |
D | AlphabeticIndexTest.java | 122 AlphabeticIndex.ImmutableIndex th = createIndex(new Locale("th")); in test_th() local 123 assertHasLabel(th, "\u0e2d\u0e07\u0e04\u0e4c\u0e40\u0e25\u0e47\u0e01", "\u0e2d"); in test_th() 124 assertHasLabel(th, "\u0e2a\u0e34\u0e07\u0e2b\u0e40\u0e2a\u0e19\u0e35", "\u0e2a"); in test_th()
|
/libcore/luni/src/main/java/java/lang/ |
D | System.java | 1001 public static void logE(String message, Throwable th) { in logE() argument 1002 log('E', message, th); in logE() 1015 public static void logI(String message, Throwable th) { in logI() argument 1016 log('I', message, th); in logI() 1029 public static void logW(String message, Throwable th) { in logW() argument 1030 log('W', message, th); in logW() 1033 private static native void log(char type, String message, Throwable th); in log() argument
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | TreeMapTest.java | 367 SortedMap th = t.headMap(null); in test_headMapLjava_lang_Object() local 642 SortedMap th = t.tailMap(null); in test_tailMapLjava_lang_Object() local
|