Searched refs:reason (Results 1 - 22 of 22) sorted by relevance

/dalvik/libcore/x-net/src/main/java/org/apache/harmony/xnet/provider/jsse/
H A DAlertException.java34 private final SSLException reason; field in class:AlertException
42 * @param reason: The SSLException to be thrown to application
46 protected AlertException(byte description, SSLException reason) { argument
47 super(reason);
48 this.reason = reason;
53 * Returns the reason of alert. This reason should be rethrown
55 * @return the reason of alert.
58 return reason;
[all...]
H A DMessage.java63 * @param reason
65 protected void fatalAlert(byte description, String reason) { argument
66 throw new AlertException(description, new SSLHandshakeException(reason));
72 * @param reason
75 protected void fatalAlert(byte description, String reason, Throwable cause) { argument
76 throw new AlertException(description, new SSLException(reason, cause));
H A DHandshakeProtocol.java315 * @param reason
317 protected void fatalAlert(byte description, String reason) { argument
318 throw new AlertException(description, new SSLHandshakeException(reason));
325 * @param reason
328 protected void fatalAlert(byte description, String reason, Exception cause) { argument
329 throw new AlertException(description, new SSLException(reason, cause));
/dalvik/libcore/x-net/src/main/java/javax/net/ssl/
H A DSSLHandshakeException.java33 * @param reason
37 public SSLHandshakeException(String reason) { argument
38 super(reason);
H A DSSLKeyException.java32 * @param reason
36 public SSLKeyException(String reason) { argument
37 super(reason);
H A DSSLPeerUnverifiedException.java34 * @param reason
38 public SSLPeerUnverifiedException(String reason) { argument
39 super(reason);
H A DSSLProtocolException.java33 * @param reason
37 public SSLProtocolException(String reason) { argument
38 super(reason);
H A DSSLException.java32 * Creates a new {@code SSLException} with the specified reason.
34 * @param reason
35 * the reason for the exception.
38 public SSLException(String reason) { argument
39 super(reason);
/dalvik/vm/alloc/
H A DDdmHeap.h27 void dvmDdmSendHeapInfo(int reason, bool shouldLock);
H A DDdmHeap.c48 * [u1]: capture reason (same as 'when' value from server)
57 dvmDdmSendHeapInfo(int reason, bool shouldLock) argument
71 if (reason == gDvm.gcHeap->ddmHpifWhen) {
76 if (reason == gDvm.gcHeap->ddmHpifWhen) {
107 *b++ = (u1)reason;
/dalvik/libcore/luni/src/main/java/java/net/
H A DURISyntaxException.java43 * @param reason
44 * the reason why the exception occurred.
48 * if one of the arguments {@code input} or {@code reason} is
54 public URISyntaxException(String input, String reason, int index) { argument
55 super(reason);
57 if (input == null || reason == null) {
75 * @param reason
76 * the reason why the exception occurred.
78 * if one of the arguments {@code input} or {@code reason} is
82 public URISyntaxException(String input, String reason) { argument
[all...]
/dalvik/libcore/sql/src/main/java/java/sql/
H A DBatchUpdateException.java52 * <i>reason</i>, <i>SQLState</i>, and <i>update counts</i> set to {@code
79 * {@code reason} set to the supplied values. All other fields are set to their
82 * @param reason
91 public BatchUpdateException(String reason, int[] updateCounts) { argument
92 super(reason);
97 * Creates a {@code BatchUpdateException} with the {@code reason}, {@code
101 * @param reason
112 public BatchUpdateException(String reason, String SQLState, argument
114 super(reason, SQLState);
122 * @param reason
135 BatchUpdateException(String reason, String SQLState, int vendorCode, int[] updateCounts) argument
[all...]
/dalvik/libcore/security/src/main/java/org/bouncycastle/asn1/x509/
H A DCRLReason.java78 int reason)
80 super(reason);
84 DEREnumerated reason)
86 super(reason.getValue().intValue());
77 CRLReason( int reason) argument
83 CRLReason( DEREnumerated reason) argument
H A DV2TBSCertListGenerator.java101 public void addCRLEntry(DERInteger userCertificate, DERUTCTime revocationDate, int reason) argument
103 addCRLEntry(userCertificate, new Time(revocationDate), reason);
106 public void addCRLEntry(DERInteger userCertificate, Time revocationDate, int reason) argument
108 addCRLEntry(userCertificate, revocationDate, reason, null);
111 public void addCRLEntry(DERInteger userCertificate, Time revocationDate, int reason, DERGeneralizedTime invalidityDate) argument
116 if (reason != 0)
118 CRLReason crlReason = new CRLReason(reason);
127 throw new IllegalArgumentException("error encoding reason: " + e);
/dalvik/libcore/security/src/main/java/org/bouncycastle/x509/
H A DX509V2CRLGenerator.java120 public void addCRLEntry(BigInteger userCertificate, Date revocationDate, int reason) argument
122 tbsGen.addCRLEntry(new DERInteger(userCertificate), new Time(revocationDate), reason);
130 public void addCRLEntry(BigInteger userCertificate, Date revocationDate, int reason, Date invalidityDate) argument
132 tbsGen.addCRLEntry(new DERInteger(userCertificate), new Time(revocationDate), reason, new DERGeneralizedTime(invalidityDate));
H A DPKIXCertPathReviewer.java2100 String reason = null;
2116 reason = crlReasons[reasonCode.getValue().intValue()];
2120 // FIXME reason not i18n
2125 new Object[] {crl_entry.getRevocationDate(),reason});
2131 new Object[] {crl_entry.getRevocationDate(),reason});
/dalvik/libcore/math/src/main/java/java/math/
H A DBigInt.java84 int e, reason;
87 reason = e & 255;
88 if (reason == 103) {
92 if (reason == 108) {
96 if (reason == 65) {
/dalvik/libcore/icu/src/main/native/
H A DConverterInterface.c616 void JNI_TO_U_CALLBACK_SUBSTITUTE( const void *context, UConverterToUnicodeArgs *toArgs, const char* codeUnits, int32_t length, UConverterCallbackReason reason, UErrorCode * err) { argument
622 if (reason > UCNV_IRREGULAR) {
629 if(reason != UCNV_UNASSIGNED) {
997 UConverterCallbackReason reason,
1004 switch(reason) {
1029 realCB(context, fromArgs, codeUnits, length, codePoint, reason, status);
1039 UConverterCallbackReason reason,
1124 UConverterCallbackReason reason,
1150 UConverterCallbackReason reason,
1158 switch(reason) {
992 CHARSET_ENCODER_CALLBACK(const void *context, UConverterFromUnicodeArgs *fromArgs, const UChar* codeUnits, int32_t length, UChar32 codePoint, UConverterCallbackReason reason, UErrorCode * status) argument
1034 JNI_FROM_U_CALLBACK_SUBSTITUTE_ENCODER(const void *context, UConverterFromUnicodeArgs *fromArgs, const UChar* codeUnits, int32_t length, UChar32 codePoint, UConverterCallbackReason reason, UErrorCode * err) argument
1120 JNI_TO_U_CALLBACK_SUBSTITUTE_DECODER(const void *context, UConverterToUnicodeArgs *toArgs, const char* codeUnits, int32_t length, UConverterCallbackReason reason, UErrorCode * err) argument
1146 CHARSET_DECODER_CALLBACK(const void *context, UConverterToUnicodeArgs *args, const char* codeUnits, int32_t length, UConverterCallbackReason reason, UErrorCode *status ) argument
[all...]
/dalvik/libcore/security/src/main/java/org/bouncycastle/jce/
H A DX509V2CRLGenerator.java116 public void addCRLEntry(BigInteger userCertificate, Date revocationDate, int reason) argument
118 tbsGen.addCRLEntry(new DERInteger(userCertificate), new DERUTCTime(dateF.format(revocationDate) + "Z"), reason);
/dalvik/libcore/concurrent/src/test/java/tests/api/java/util/concurrent/
H A DJSR166TestCase.java208 public void threadFail(String reason) { argument
210 fail(reason);
/dalvik/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/
H A DClassTest.java927 String reason;
939 public void setExpected(String reason, Class<?> cls, int type) {
940 this.reason = reason;
960 assertEquals(reason + " unexpected class", checkClass, cls);
961 assertEquals(reason + "unexpected type", checkType, type);
972 assertEquals(reason + " unexpected package",
977 assertEquals(reason + " unexpected checkPermission count",
979 assertEquals(reason + " unexpected checkMemberAccess count",
981 assertEquals(reason
[all...]
/dalvik/libcore/security/src/main/java/org/bouncycastle/jce/provider/
H A DPKIXCertPathValidatorSpi.java1365 String reason = null;
1372 reason = crlReasons[reasonCode.getValue().intValue()];
1378 if (reason != null)
1380 message += ", reason: " + reason;

Completed in 954 milliseconds