/libcore/luni/src/test/java/tests/security/spec/ |
D | EllipticCurveTest.java | 87 } catch (NullPointerException ok) {} in testEllipticCurveECFieldBigIntegerBigIntegerbyteArray02() 98 } catch (NullPointerException ok) {} in testEllipticCurveECFieldBigIntegerBigIntegerbyteArray02() 109 } catch (NullPointerException ok) {} in testEllipticCurveECFieldBigIntegerBigIntegerbyteArray02() 134 } catch (IllegalArgumentException ok) {} in testEllipticCurveECFieldBigIntegerBigIntegerbyteArray03() 146 } catch (IllegalArgumentException ok) {} in testEllipticCurveECFieldBigIntegerBigIntegerbyteArray03() 158 } catch (IllegalArgumentException ok) {} in testEllipticCurveECFieldBigIntegerBigIntegerbyteArray03() 170 } catch (IllegalArgumentException ok) {} in testEllipticCurveECFieldBigIntegerBigIntegerbyteArray03() 195 } catch (IllegalArgumentException ok) {} in testEllipticCurveECFieldBigIntegerBigIntegerbyteArray04() 207 } catch (IllegalArgumentException ok) {} in testEllipticCurveECFieldBigIntegerBigIntegerbyteArray04() 219 } catch (IllegalArgumentException ok) {} in testEllipticCurveECFieldBigIntegerBigIntegerbyteArray04() [all …]
|
D | ECPointTest.java | 66 } catch (NullPointerException ok) { in testECPoint02() 74 } catch (NullPointerException ok) { in testECPoint02() 82 } catch (NullPointerException ok) { in testECPoint02()
|
D | ECGenParameterSpecTest.java | 59 } catch (NullPointerException ok) {} in testECGenParameterSpec02()
|
D | MGF1ParameterSpecTest.java | 67 } catch (NullPointerException ok) { in testMGF1ParameterSpec02()
|
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/ |
D | EncryptedPrivateKeyInfoTest.java | 256 } catch (NullPointerException ok) { in testEncryptedPrivateKeyInfobyteArray2() 271 } catch (IOException ok) { in testEncryptedPrivateKeyInfobyteArray3() 287 } catch (IOException ok) { in testEncryptedPrivateKeyInfobyteArray4() 310 } catch (IOException ok) { in testEncryptedPrivateKeyInfobyteArray5() 321 } catch (IOException ok) { in testEncryptedPrivateKeyInfobyteArray5() 332 } catch (IOException ok) { in testEncryptedPrivateKeyInfobyteArray5() 353 } catch (IOException ok) { in testEncryptedPrivateKeyInfobyteArray5() 364 } catch (IOException ok) { in testEncryptedPrivateKeyInfobyteArray5() 375 } catch (IOException ok) { in testEncryptedPrivateKeyInfobyteArray5() 437 } catch (NoSuchAlgorithmException ok) { in testEncryptedPrivateKeyInfoStringbyteArray2() [all …]
|
/libcore/luni/src/test/java/tests/security/cert/ |
D | TrustAnchorTest.java | 138 } catch (NullPointerException ok) { in testTrustAnchorStringPublicKeybyteArray04() 145 } catch (NullPointerException ok) { in testTrustAnchorStringPublicKeybyteArray04() 152 } catch (NullPointerException ok) { in testTrustAnchorStringPublicKeybyteArray04() 159 } catch (IllegalArgumentException ok) { in testTrustAnchorStringPublicKeybyteArray04() 166 } catch (IllegalArgumentException ok) { in testTrustAnchorStringPublicKeybyteArray04() 253 } catch (NullPointerException ok) { in testTrustAnchorX500PrincipalPublicKeybyteArray04() 260 } catch (NullPointerException ok) { in testTrustAnchorX500PrincipalPublicKeybyteArray04() 268 } catch (NullPointerException ok) { in testTrustAnchorX500PrincipalPublicKeybyteArray04()
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
D | GuardedObjectTest.java | 65 } catch (Exception ok) { in testGuard() 66 assertEquals(message, ok.getMessage()); in testGuard()
|
/libcore/ojluni/src/main/java/java/net/ |
D | InetAddress.java | 663 boolean ok = false; in getHostFromNameService() 666 for(int i = 0; !ok && i < arr.length; i++) { in getHostFromNameService() 667 ok = addr.equals(arr[i]); in getHostFromNameService() 672 if (!ok) { in getHostFromNameService()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
D | ClassTest.java | 639 } catch (ClassNotFoundException ok) { in test_forName_arrays() 644 } catch (ClassNotFoundException ok) { in test_forName_arrays() 649 } catch (ClassNotFoundException ok) { in test_forName_arrays() 654 } catch (ClassNotFoundException ok) { in test_forName_arrays() 659 } catch (ClassNotFoundException ok) { in test_forName_arrays() 664 } catch (ClassNotFoundException ok) { in test_forName_arrays()
|
/libcore/luni/src/test/java/tests/java/security/ |
D | IdentityTest.java | 134 } catch (KeyManagementException ok) {} in testAddCertificate1() 158 } catch (KeyManagementException ok) { in testAddCertificate4() 159 } catch (NullPointerException ok) {} in testAddCertificate4() 273 } catch (KeyManagementException ok) {} in testSetPublicKey2()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/ |
D | SSLEngineResultTest.java | 207 boolean ok = false; in findEl() 210 ok = true; in findEl() 214 return ok; in findEl()
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
D | JSR166TestCase.java | 921 } catch (SecurityException ok) { 1579 } catch (InterruptedException ok) {} 1607 } catch (InterruptedException ok) {} 1615 } catch (InterruptedException ok) {} 1623 } catch (InterruptedException ok) {} 1648 } catch (InterruptedException ok) {} 1659 } catch (InterruptedException ok) {} 1669 } catch (InterruptedException ok) {} 1679 } catch (InterruptedException ok) {} 1689 } catch (InterruptedException ok) {} [all …]
|
D | ScheduledExecutorSubclassTest.java | 323 } catch (SecurityException ok) {} in testSchedule1_RejectedExecutionException() 339 } catch (SecurityException ok) {} in testSchedule2_RejectedExecutionException() 355 } catch (SecurityException ok) {} in testSchedule3_RejectedExecutionException() 371 } catch (SecurityException ok) {} in testScheduleAtFixedRate1_RejectedExecutionException() 387 } catch (SecurityException ok) {} in testScheduleWithFixedDelay1_RejectedExecutionException() 577 try { p.shutdown(); } catch (SecurityException ok) { return; } in testIsShutdown() 600 try { p.shutdown(); } catch (SecurityException ok) { return; } in testIsTerminated() 624 try { p.shutdown(); } catch (SecurityException ok) { return; } in testIsTerminating() 740 } catch (SecurityException ok) { in testShutdownNow() 770 } catch (SecurityException ok) { in testShutdownNow_delayedTasks() [all …]
|
D | ScheduledExecutorTest.java | 267 } catch (SecurityException ok) {} in testSchedule1_RejectedExecutionException() 283 } catch (SecurityException ok) {} in testSchedule2_RejectedExecutionException() 299 } catch (SecurityException ok) {} in testSchedule3_RejectedExecutionException() 315 } catch (SecurityException ok) {} in testScheduleAtFixedRate1_RejectedExecutionException() 331 } catch (SecurityException ok) {} in testScheduleWithFixedDelay1_RejectedExecutionException() 525 try { p.shutdown(); } catch (SecurityException ok) { return; } in testIsShutdown() 548 try { p.shutdown(); } catch (SecurityException ok) { return; } in testIsTerminated() 572 try { p.shutdown(); } catch (SecurityException ok) { return; } in testIsTerminating() 689 } catch (SecurityException ok) { in testShutdownNow() 719 } catch (SecurityException ok) { in testShutdownNow_delayedTasks() [all …]
|
D | ThreadTest.java | 72 } catch (SecurityException ok) { in testGetAndSetDefaultUncaughtExceptionHandler()
|
D | ThreadPoolExecutorTest.java | 447 try { p.shutdown(); } catch (SecurityException ok) { return; } in testIsShutdown() 478 try { p.shutdown(); } catch (SecurityException ok) { return; } in testAwaitTermination_timesOut() 505 try { p.shutdown(); } catch (SecurityException ok) { return; } in testIsTerminated() 533 try { p.shutdown(); } catch (SecurityException ok) { return; } in testIsTerminating() 673 } catch (SecurityException ok) { in testShutdownNow() 1224 try { p.shutdown(); } catch (SecurityException ok) { return; } in testRejectedExecutionExceptionOnShutdown() 1243 try { p.shutdown(); } catch (SecurityException ok) { return; } in testCallerRunsOnShutdown() 1261 try { p.shutdown(); } catch (SecurityException ok) { return; } in testDiscardOnShutdown() 1279 try { p.shutdown(); } catch (SecurityException ok) { return; } in testDiscardOldestOnShutdown() 1410 try { p.shutdown(); } catch (SecurityException ok) { return; } in testTerminated() [all …]
|
D | ThreadPoolExecutorSubclassTest.java | 594 try { p.shutdown(); } catch (SecurityException ok) { return; } in testIsShutdown() 620 try { p.shutdown(); } catch (SecurityException ok) { return; } in testIsTerminated() 648 try { p.shutdown(); } catch (SecurityException ok) { return; } in testIsTerminating() 788 } catch (SecurityException ok) { in testShutdownNow() 1253 try { p.shutdown(); } catch (SecurityException ok) { return; } in testRejectedExecutionExceptionOnShutdown() 1271 try { p.shutdown(); } catch (SecurityException ok) { return; } in testCallerRunsOnShutdown() 1288 try { p.shutdown(); } catch (SecurityException ok) { return; } in testDiscardOnShutdown() 1306 try { p.shutdown(); } catch (SecurityException ok) { return; } in testDiscardOldestOnShutdown() 1403 try { p.shutdown(); } catch (SecurityException ok) { return; } in testTerminated() 1885 catch (InterruptedException ok) {}
|
/libcore/ojluni/src/test/java/util/concurrent/tck/ |
D | ScheduledExecutorSubclassTest.java | 347 } catch (SecurityException ok) {} in testSchedule1_RejectedExecutionException() 363 } catch (SecurityException ok) {} in testSchedule2_RejectedExecutionException() 379 } catch (SecurityException ok) {} in testSchedule3_RejectedExecutionException() 395 } catch (SecurityException ok) {} in testScheduleAtFixedRate1_RejectedExecutionException() 411 } catch (SecurityException ok) {} in testScheduleWithFixedDelay1_RejectedExecutionException() 601 try { p.shutdown(); } catch (SecurityException ok) { return; } in testIsShutdown() 624 try { p.shutdown(); } catch (SecurityException ok) { return; } in testIsTerminated() 648 try { p.shutdown(); } catch (SecurityException ok) { return; } in testIsTerminating() 764 } catch (SecurityException ok) { in testShutdownNow() 794 } catch (SecurityException ok) { in testShutdownNow_delayedTasks() [all …]
|
D | ScheduledExecutorTest.java | 291 } catch (SecurityException ok) {} in testSchedule1_RejectedExecutionException() 307 } catch (SecurityException ok) {} in testSchedule2_RejectedExecutionException() 323 } catch (SecurityException ok) {} in testSchedule3_RejectedExecutionException() 339 } catch (SecurityException ok) {} in testScheduleAtFixedRate1_RejectedExecutionException() 355 } catch (SecurityException ok) {} in testScheduleWithFixedDelay1_RejectedExecutionException() 549 } catch (SecurityException ok) {} in testIsShutdown() 571 try { p.shutdown(); } catch (SecurityException ok) { return; } in testIsTerminated() 595 try { p.shutdown(); } catch (SecurityException ok) { return; } in testIsTerminating() 712 } catch (SecurityException ok) { in testShutdownNow() 742 } catch (SecurityException ok) { in testShutdownNow_delayedTasks() [all …]
|
D | ThreadTest.java | 93 } catch (SecurityException ok) { in testGetAndSetDefaultUncaughtExceptionHandler()
|
D | JSR166TestCase.java | 1052 } catch (SecurityException ok) { 1851 } catch (InterruptedException ok) {} 1879 } catch (InterruptedException ok) {} 1887 } catch (InterruptedException ok) {} 1895 } catch (InterruptedException ok) {} 1920 } catch (InterruptedException ok) {} 1931 } catch (InterruptedException ok) {} 1941 } catch (InterruptedException ok) {} 1951 } catch (InterruptedException ok) {} 1961 } catch (InterruptedException ok) {} [all …]
|
D | ThreadPoolExecutorTest.java | 469 try { p.shutdown(); } catch (SecurityException ok) { return; } in testIsShutdown() 500 try { p.shutdown(); } catch (SecurityException ok) { return; } in testAwaitTermination_timesOut() 527 try { p.shutdown(); } catch (SecurityException ok) { return; } in testIsTerminated() 555 try { p.shutdown(); } catch (SecurityException ok) { return; } in testIsTerminating() 695 } catch (SecurityException ok) { in testShutdownNow() 1246 try { p.shutdown(); } catch (SecurityException ok) { return; } in testRejectedExecutionExceptionOnShutdown() 1265 try { p.shutdown(); } catch (SecurityException ok) { return; } in testCallerRunsOnShutdown() 1283 try { p.shutdown(); } catch (SecurityException ok) { return; } in testDiscardOnShutdown() 1301 try { p.shutdown(); } catch (SecurityException ok) { return; } in testDiscardOldestOnShutdown() 1427 try { p.shutdown(); } catch (SecurityException ok) { return; } in testTerminated() [all …]
|
D | ThreadPoolExecutorSubclassTest.java | 616 try { p.shutdown(); } catch (SecurityException ok) { return; } in testIsShutdown() 642 try { p.shutdown(); } catch (SecurityException ok) { return; } in testIsTerminated() 670 try { p.shutdown(); } catch (SecurityException ok) { return; } in testIsTerminating() 810 } catch (SecurityException ok) { in testShutdownNow() 1275 try { p.shutdown(); } catch (SecurityException ok) { return; } in testRejectedExecutionExceptionOnShutdown() 1293 try { p.shutdown(); } catch (SecurityException ok) { return; } in testCallerRunsOnShutdown() 1310 try { p.shutdown(); } catch (SecurityException ok) { return; } in testDiscardOnShutdown() 1328 try { p.shutdown(); } catch (SecurityException ok) { return; } in testDiscardOldestOnShutdown() 1425 try { p.shutdown(); } catch (SecurityException ok) { return; } in testTerminated() 1907 catch (InterruptedException ok) {}
|
/libcore/ojluni/src/main/java/sun/security/util/ |
D | SignatureFileVerifier.java | 490 boolean ok = false; in verifySection() 511 ok = true; in verifySection() 523 ok = true; in verifySection() 527 if (!ok){ in verifySection()
|
/libcore/ojluni/src/test/java/net/Socks/ |
D | SocksServer.java | 212 boolean ok = true; in getRequestV4() 216 ok = false; in getRequestV4() 218 if (!ok) { in getRequestV4()
|