/libcore/ojluni/src/main/java/java/security/ |
D | KeyFactory.java | 357 Exception failure = null; in generatePublic() local 363 if (failure == null) { in generatePublic() 364 failure = e; in generatePublic() 369 if (failure instanceof RuntimeException) { in generatePublic() 370 throw (RuntimeException)failure; in generatePublic() 372 if (failure instanceof InvalidKeySpecException) { in generatePublic() 373 throw (InvalidKeySpecException)failure; in generatePublic() 376 ("Could not generate public key", failure); in generatePublic() 395 Exception failure = null; in generatePrivate() local 401 if (failure == null) { in generatePrivate() [all …]
|
D | KeyPairGenerator.java | 245 NoSuchAlgorithmException failure = null; in getInstance() local 257 if (failure == null) { in getInstance() 258 failure = e; in getInstance() 262 throw failure; in getInstance() 673 RuntimeException failure = null; in initialize() local 684 if (failure == null) { in initialize() 685 failure = e; in initialize() 690 throw failure; in initialize() 700 Exception failure = null; in initialize() local 711 if (failure == null) { in initialize() [all …]
|
D | Signature.java | 367 NoSuchAlgorithmException failure; in getInstance() local 381 failure = e; in getInstance() 385 throw failure; in getInstance()
|
/libcore/ojluni/src/main/java/javax/crypto/ |
D | SecretKeyFactory.java | 520 Exception failure = null; in generateSecret() local 526 if (failure == null) { in generateSecret() 527 failure = e; in generateSecret() 532 if (failure instanceof InvalidKeySpecException) { in generateSecret() 533 throw (InvalidKeySpecException)failure; in generateSecret() 536 ("Could not generate secret key", failure); in generateSecret() 564 Exception failure = null; in getKeySpec() local 570 if (failure == null) { in getKeySpec() 571 failure = e; in getKeySpec() 576 if (failure instanceof InvalidKeySpecException) { in getKeySpec() [all …]
|
D | KeyGenerator.java | 463 RuntimeException failure = null; in init() local 474 if (failure == null) { in init() 475 failure = e; in init() 480 throw failure; in init() 522 Exception failure = null; in init() local 533 if (failure == null) { in init() 534 failure = e; in init() 539 if (failure instanceof InvalidAlgorithmParameterException) { in init() 540 throw (InvalidAlgorithmParameterException)failure; in init() 542 if (failure instanceof RuntimeException) { in init() [all …]
|
D | JceSecurity.java | 132 NoSuchAlgorithmException failure = null; in getInstance() local 142 failure = e; in getInstance() 146 + " not available", failure); in getInstance()
|
/libcore/dalvik/test-rules/src/test/java/libcore/dalvik/system/ |
D | CloseGuardSupportTest.java | 71 Failure failure = failures.get(0); in testDoesNotReleaseResource() local 72 checkResourceNotReleased(failure, "Unreleased resources found in test"); in testDoesNotReleaseResource() 89 Failure failure = failures.get(0); in testDoesNotReleaseResourceDueToFailure() local 90 checkResourceNotReleased(failure, "failure"); in testDoesNotReleaseResourceDueToFailure() 108 Failure failure = failures.get(0); in testResourceOwnerDoesNotOverrideFinalize() local 110 failure.getMessage()); in testResourceOwnerDoesNotOverrideFinalize() 127 Failure failure = failures.get(0); in testResourceOwnerOverridesFinalizeButDoesNotReportLeak() local 130 failure.getMessage()); in testResourceOwnerOverridesFinalizeButDoesNotReportLeak() 152 Failure failure = failures.get(0); in testResourceOwnerOverridesFinalizeAndReportsLeak() local 153 checkResourceNotReleased(failure, "Unreleased resources found in test"); in testResourceOwnerOverridesFinalizeAndReportsLeak() [all …]
|
/libcore/ojluni/src/main/java/sun/security/jca/ |
D | GetInstance.java | 162 NoSuchAlgorithmException failure; in getInstance() local 166 failure = e; in getInstance() 178 failure = e; in getInstance() 181 throw failure; in getInstance() 187 NoSuchAlgorithmException failure = null; in getInstance() local 192 failure = e; in getInstance() 195 if (failure != null) { in getInstance() 196 throw failure; in getInstance()
|
/libcore/support/src/test/java/tests/support/ |
D | Support_Exec.java | 92 Throwable failure; in execAndGetOutput() local 97 failure = err.length() > 0 in execAndGetOutput() 101 failure = e; in execAndGetOutput() 104 if (failure != null) { in execAndGetOutput() 107 error.initCause(failure); in execAndGetOutput()
|
/libcore/luni/src/test/java/libcore/libcore/util/ |
D | SerializationTester.java | 78 Error failure = new AssertionFailedError(); in test() 79 failure.initCause(e); in test() 80 throw failure; in test()
|
/libcore/ojluni/src/test/java/time/test/java/util/ |
D | TestFormatter.java | 70 private int failure = 0; field in TestFormatter 84 failure = 0; in test() 132 if (failure != 0) { in test() 133 System.out.println("Total " + failure + "/" + total + " tests failed"); in test() 138 assertEquals(failure, 0); in test() 168 failure++; in test()
|
/libcore/luni/src/test/java/libcore/java/net/ |
D | ServerSocketConcurrentCloseTest.java | 63 final AtomicReference<Exception> failure = new AtomicReference<>(); in testImplAccept_detectsClosedState() local 74 failure.set(e); in testImplAccept_detectsClosedState() 84 Exception e = failure.get(); in testImplAccept_detectsClosedState()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/ |
D | SelectorTest.java | 358 final AtomicReference<Throwable> failure = new AtomicReference<Throwable>(); 374 failure.set(e); 390 assertNull(failure.get());
|
/libcore/luni/src/test/java/libcore/xml/ |
D | DomTest.java | 1040 AssertionFailedError failure = new AssertionFailedError( in testAdoptionImmediatelyAfterParsing() 1043 failure.initCause(e); in testAdoptionImmediatelyAfterParsing() 1044 throw failure; in testAdoptionImmediatelyAfterParsing()
|
/libcore/expectations/ |
D | knownfailures.txt | 1324 description: "ScannerParseLargeFileBenchmark can cause a failure due to a timeout", 1393 description: "Known failure in GregorianCalendarTest", 1598 failure: "should fork a dalvikvm, not a JVM", 1675 failure: "disable securityManager", 1682 failure: "ignore compilation errors", 1694 failure: "connect to the Internet",
|
/libcore/benchmarks/libs/ |
D | caliper.jar.txt | 162 work stoppage, computer failure or malfunction, or any and all
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
D | DecimalFormatTest.java | 2612 for (AssertionFailedError failure : failures) { in throwFailures() 2613 combined.addSuppressed(failure); in throwFailures()
|