Home
last modified time | relevance | path

Searched refs:failure (Results 1 – 16 of 16) sorted by relevance

/libcore/ojluni/src/main/java/java/security/
DKeyFactory.java353 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 …]
DKeyPairGenerator.java229 NoSuchAlgorithmException failure = null; in getInstance() local
241 if (failure == null) { in getInstance()
242 failure = e; in getInstance()
246 throw failure; in getInstance()
645 RuntimeException failure = null; in initialize() local
656 if (failure == null) { in initialize()
657 failure = e; in initialize()
662 throw failure; in initialize()
672 Exception failure = null; in initialize() local
683 if (failure == null) { in initialize()
[all …]
DSignature.java324 NoSuchAlgorithmException failure; in getInstance() local
336 failure = e; in getInstance()
340 throw failure; in getInstance()
/libcore/ojluni/src/main/java/javax/crypto/
DSecretKeyFactory.java459 Exception failure = null; in generateSecret() local
465 if (failure == null) { in generateSecret()
466 failure = e; in generateSecret()
471 if (failure instanceof InvalidKeySpecException) { in generateSecret()
472 throw (InvalidKeySpecException)failure; in generateSecret()
475 ("Could not generate secret key", failure); in generateSecret()
503 Exception failure = null; in getKeySpec() local
509 if (failure == null) { in getKeySpec()
510 failure = e; in getKeySpec()
515 if (failure instanceof InvalidKeySpecException) { in getKeySpec()
[all …]
DKeyGenerator.java431 RuntimeException failure = null; in init() local
442 if (failure == null) { in init()
443 failure = e; in init()
448 throw failure; in init()
490 Exception failure = null; in init() local
501 if (failure == null) { in init()
502 failure = e; in init()
507 if (failure instanceof InvalidAlgorithmParameterException) { in init()
508 throw (InvalidAlgorithmParameterException)failure; in init()
510 if (failure instanceof RuntimeException) { in init()
[all …]
DJceSecurity.java124 NoSuchAlgorithmException failure = null; in getInstance() local
135 failure = e; in getInstance()
139 + " not available", failure); in getInstance()
/libcore/ojluni/src/main/java/sun/security/jca/
DGetInstance.java162 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/
DSupport_Exec.java92 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/util/
DSerializationTester.java76 Error failure = new AssertionFailedError(); in test()
77 failure.initCause(e); in test()
78 throw failure; in test()
/libcore/expectations/
Dbrokentests.txt15 failure: "disable securityManager",
22 failure: "ignore compilation errors",
34 failure: "connect to the Internet",
Dicebox.txt82 failure: "should fork a dalvikvm, not a JVM",
Dknownfailures.txt1302 description: "Known failure in MathTest 1^NAN should be NAN",
1330 description: "ScannerParseLargeFileBenchmark can cause a failure due to a timeout",
1435 description: "Known failure in GregorianCalendarTest",
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/
DSelectorTest.java358 final AtomicReference<Throwable> failure = new AtomicReference<Throwable>();
374 failure.set(e);
390 assertNull(failure.get());
/libcore/luni/src/test/java/libcore/xml/
DDomTest.java1040 AssertionFailedError failure = new AssertionFailedError( in testAdoptionImmediatelyAfterParsing()
1043 failure.initCause(e); in testAdoptionImmediatelyAfterParsing()
1044 throw failure; in testAdoptionImmediatelyAfterParsing()
/libcore/benchmarks/libs/
Dcaliper.jar.txt162 work stoppage, computer failure or malfunction, or any and all
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
DDecimalFormatTest.java2588 for (AssertionFailedError failure : failures) { in throwFailures()
2589 combined.addSuppressed(failure); in throwFailures()