/libcore/ojluni/src/main/java/java/security/ |
D | KeyFactory.java | 353 Exception failure = null; in generatePublic() local 359 if (failure == null) { in generatePublic() 360 failure = e; in generatePublic() 365 if (failure instanceof RuntimeException) { in generatePublic() 366 throw (RuntimeException)failure; in generatePublic() 368 if (failure instanceof InvalidKeySpecException) { in generatePublic() 369 throw (InvalidKeySpecException)failure; in generatePublic() 372 ("Could not generate public key", failure); in generatePublic() 391 Exception failure = null; in generatePrivate() local 397 if (failure == null) { in generatePrivate() [all …]
|
D | KeyPairGenerator.java | 250 NoSuchAlgorithmException failure = null; in getInstance() local 262 if (failure == null) { in getInstance() 263 failure = e; in getInstance() 267 throw failure; in getInstance() 674 RuntimeException failure = null; in initialize() local 685 if (failure == null) { in initialize() 686 failure = e; in initialize() 691 throw failure; in initialize() 701 Exception failure = null; in initialize() local 712 if (failure == null) { in initialize() [all …]
|
D | Signature.java | 367 NoSuchAlgorithmException failure; in getInstance() local 379 failure = e; in getInstance() 383 throw failure; in getInstance()
|
/libcore/ojluni/src/main/java/javax/crypto/ |
D | SecretKeyFactory.java | 516 Exception failure = null; in generateSecret() local 522 if (failure == null) { in generateSecret() 523 failure = e; in generateSecret() 528 if (failure instanceof InvalidKeySpecException) { in generateSecret() 529 throw (InvalidKeySpecException)failure; in generateSecret() 532 ("Could not generate secret key", failure); in generateSecret() 560 Exception failure = null; in getKeySpec() local 566 if (failure == null) { in getKeySpec() 567 failure = e; in getKeySpec() 572 if (failure instanceof InvalidKeySpecException) { in getKeySpec() [all …]
|
D | KeyGenerator.java | 455 RuntimeException failure = null; in init() local 466 if (failure == null) { in init() 467 failure = e; in init() 472 throw failure; in init() 514 Exception failure = null; in init() local 525 if (failure == null) { in init() 526 failure = e; in init() 531 if (failure instanceof InvalidAlgorithmParameterException) { in init() 532 throw (InvalidAlgorithmParameterException)failure; in init() 534 if (failure instanceof RuntimeException) { in init() [all …]
|
D | JceSecurity.java | 126 NoSuchAlgorithmException failure = null; in getInstance() local 136 failure = e; in getInstance() 140 + " not available", failure); in getInstance()
|
/libcore/dalvik/test-rules/src/test/java/dalvik/system/ |
D | CloseGuardSupportTest.java | 69 Failure failure = failures.get(0); in testDoesNotReleaseResource() local 70 checkResourceNotReleased(failure, "Unreleased resources found in test"); in testDoesNotReleaseResource() 87 Failure failure = failures.get(0); in testDoesNotReleaseResourceDueToFailure() local 88 checkResourceNotReleased(failure, "failure"); in testDoesNotReleaseResourceDueToFailure() 106 Failure failure = failures.get(0); in testResourceOwnerDoesNotOverrideFinalize() local 108 failure.getMessage()); in testResourceOwnerDoesNotOverrideFinalize() 125 Failure failure = failures.get(0); in testResourceOwnerOverridesFinalizeButDoesNotReportLeak() local 128 failure.getMessage()); in testResourceOwnerOverridesFinalizeButDoesNotReportLeak() 150 Failure failure = failures.get(0); in testResourceOwnerOverridesFinalizeAndReportsLeak() local 151 checkResourceNotReleased(failure, "Unreleased resources found in test"); in testResourceOwnerOverridesFinalizeAndReportsLeak() [all …]
|
/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/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/luni/src/test/java/libcore/util/ |
D | SerializationTester.java | 76 Error failure = new AssertionFailedError(); in test() 77 failure.initCause(e); in test() 78 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 | 44 final AtomicReference<Exception> failure = new AtomicReference<>(); in testImplAccept_detectsClosedState() local 55 failure.set(e); in testImplAccept_detectsClosedState() 65 Exception e = failure.get(); in testImplAccept_detectsClosedState()
|
/libcore/expectations/ |
D | brokentests.txt | 15 failure: "disable securityManager", 22 failure: "ignore compilation errors", 34 failure: "connect to the Internet",
|
D | icebox.txt | 82 failure: "should fork a dalvikvm, not a JVM",
|
D | knownfailures.txt | 1291 description: "Known failure in MathTest 1^NAN should be NAN", 1306 description: "ScannerParseLargeFileBenchmark can cause a failure due to a timeout", 1403 description: "Known failure in GregorianCalendarTest",
|
/libcore/support/src/test/java/tests/resources/ |
D | junit4-4.3.1.jar | META-INF/
META-INF/MANIFEST.MF
junit/
junit/extensions/
junit/ ... |
/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/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 | 2588 for (AssertionFailedError failure : failures) { in throwFailures() 2589 combined.addSuppressed(failure); in throwFailures()
|