Home
last modified time | relevance | path

Searched refs:cause (Results 1 – 25 of 153) sorted by relevance

1234567

/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/
DEapAuthenticatorTest.java107 public void onError(Throwable cause) { in testProcessEapMessageError()
108 assertTrue(cause instanceof EapInvalidRequestException); in testProcessEapMessageError()
113 Exception cause = new EapInvalidRequestException("Error"); in testProcessEapMessageError() local
114 EapError eapError = new EapError(cause); in testProcessEapMessageError()
174 public void onError(Throwable cause) { in testProcessEapMessageExceptionThrown()
175 assertTrue(cause instanceof NullPointerException); in testProcessEapMessageExceptionThrown()
196 public void onError(Throwable cause) { in testProcessEapMessageStateMachineTimeout()
197 assertTrue(cause instanceof TimeoutException); in testProcessEapMessageStateMachineTimeout()
249 public void onError(Throwable cause) { in onError() argument
/packages/apps/Dialer/java/com/android/incallui/disconnectdialog/
DDisconnectMessage.java39 private final DisconnectCause cause; field in DisconnectMessage
42 cause = call.getDisconnectCause(); in DisconnectMessage()
45 if (disconnectDialog.shouldShow(cause)) { in DisconnectMessage()
61 cause.getCode(), in toString()
62 cause.getDescription(), in toString()
63 cause.getReason(), in toString()
/packages/apps/Nfc/src/com/android/nfc/snep/
DSnepException.java25 public SnepException(Exception cause) { in SnepException() argument
26 super(cause); in SnepException()
29 public SnepException(String message, Exception cause) { in SnepException() argument
30 super(message, cause); in SnepException()
/packages/apps/Messaging/src/android/support/v7/mms/
DApnException.java32 public ApnException(Throwable cause) { in ApnException() argument
33 super(cause); in ApnException()
36 public ApnException(String message, Throwable cause) { in ApnException() argument
37 super(message, cause); in ApnException()
DMmsNetworkException.java32 public MmsNetworkException(Throwable cause) { in MmsNetworkException() argument
33 super(cause); in MmsNetworkException()
36 public MmsNetworkException(String message, Throwable cause) { in MmsNetworkException() argument
37 super(message, cause); in MmsNetworkException()
DMmsHttpException.java37 public MmsHttpException(int statusCode, Throwable cause) { in MmsHttpException() argument
38 super(cause); in MmsHttpException()
42 public MmsHttpException(int statusCode, String message, Throwable cause) { in MmsHttpException() argument
43 super(message, cause); in MmsHttpException()
/packages/apps/Camera2/src/com/android/camera/one/
DOneCameraAccessException.java26 public OneCameraAccessException(String message, Throwable cause) { in OneCameraAccessException() argument
27 super(message, cause); in OneCameraAccessException()
30 public OneCameraAccessException(Throwable cause) { in OneCameraAccessException() argument
31 super(cause); in OneCameraAccessException()
/packages/modules/IPsec/src/java/android/net/ipsec/ike/exceptions/
DIkeInternalException.java37 public IkeInternalException(Throwable cause) { in IkeInternalException() argument
38 super(cause); in IkeInternalException()
49 public IkeInternalException(String message, Throwable cause) { in IkeInternalException() argument
50 super(message, cause); in IkeInternalException()
DIkeException.java38 protected IkeException(Throwable cause) { in IkeException() argument
39 super(cause); in IkeException()
43 protected IkeException(String message, Throwable cause) { in IkeException() argument
44 super(message, cause); in IkeException()
DIkeProtocolException.java121 protected IkeProtocolException(@ErrorType int code, Throwable cause) { in IkeProtocolException() argument
122 super(cause); in IkeProtocolException()
128 protected IkeProtocolException(@ErrorType int code, String message, Throwable cause) { in IkeProtocolException() argument
129 super(message, cause); in IkeProtocolException()
/packages/services/Mms/src/com/android/mms/service/exception/
DMmsNetworkException.java32 public MmsNetworkException(Throwable cause) { in MmsNetworkException() argument
33 super(cause); in MmsNetworkException()
36 public MmsNetworkException(String message, Throwable cause) { in MmsNetworkException() argument
37 super(message, cause); in MmsNetworkException()
DApnException.java32 public ApnException(Throwable cause) { in ApnException() argument
33 super(cause); in ApnException()
36 public ApnException(String message, Throwable cause) { in ApnException() argument
37 super(message, cause); in ApnException()
DMmsHttpException.java37 public MmsHttpException(int statusCode, Throwable cause) { in MmsHttpException() argument
38 super(cause); in MmsHttpException()
42 public MmsHttpException(int statusCode, String message, Throwable cause) { in MmsHttpException() argument
43 super(message, cause); in MmsHttpException()
/packages/apps/Messaging/src/android/support/v7/mms/pdu/
DMmsException.java47 public MmsException(Throwable cause) { in MmsException() argument
48 super(cause); in MmsException()
57 public MmsException(String message, Throwable cause) { in MmsException() argument
58 super(message, cause); in MmsException()
/packages/apps/Messaging/src/com/android/messaging/mmslib/
DMmsException.java47 public MmsException(Throwable cause) { in MmsException() argument
48 super(cause); in MmsException()
57 public MmsException(String message, Throwable cause) { in MmsException() argument
58 super(message, cause); in MmsException()
/packages/apps/Messaging/src/com/android/messaging/sms/
DSmsException.java46 public SmsException(Throwable cause) { in SmsException() argument
47 super(cause); in SmsException()
56 public SmsException(String message, Throwable cause) { in SmsException() argument
57 super(message, cause); in SmsException()
DMmsFailureException.java81 public MmsFailureException(final int retryHint, Throwable cause) { in MmsFailureException() argument
82 super(cause); in MmsFailureException()
96 public MmsFailureException(final int retryHint, String message, Throwable cause) { in MmsFailureException() argument
97 super(message, cause); in MmsFailureException()
/packages/apps/Camera2/src/com/android/camera/one/v2/camera2proxy/
DCameraCaptureSessionClosedException.java32 public CameraCaptureSessionClosedException(String message, Throwable cause) { in CameraCaptureSessionClosedException() argument
33 super(message, cause); in CameraCaptureSessionClosedException()
36 public CameraCaptureSessionClosedException(Throwable cause) { in CameraCaptureSessionClosedException() argument
37 super(cause); in CameraCaptureSessionClosedException()
/packages/services/Car/car-lib/src/android/car/
DCarNotConnectedException.java42 public CarNotConnectedException(String name, Throwable cause) { in CarNotConnectedException() argument
43 super(name, cause); in CarNotConnectedException()
48 public CarNotConnectedException(Exception cause) { in CarNotConnectedException() argument
49 super(cause); in CarNotConnectedException()
/packages/modules/NetworkStack/apishim/common/com/android/networkstack/apishim/common/
DUnsupportedApiLevelException.java53 public UnsupportedApiLevelException(String message, @Nullable Throwable cause) { in UnsupportedApiLevelException() argument
54 super(message, cause); in UnsupportedApiLevelException()
66 public UnsupportedApiLevelException(@Nullable Throwable cause) { in UnsupportedApiLevelException() argument
67 super(cause); in UnsupportedApiLevelException()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/exceptions/
DInvalidSyntaxException.java46 public InvalidSyntaxException(Throwable cause) { in InvalidSyntaxException() argument
47 super(ERROR_TYPE_INVALID_SYNTAX, cause); in InvalidSyntaxException()
56 public InvalidSyntaxException(String message, Throwable cause) { in InvalidSyntaxException() argument
57 super(ERROR_TYPE_INVALID_SYNTAX, message, cause); in InvalidSyntaxException()
/packages/modules/IPsec/src/java/com/android/internal/net/eap/
DEapResult.java100 public final Exception cause; field in EapResult.EapError
108 public EapError(Exception cause) { in EapError() argument
109 this.cause = cause; in EapError()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/message/mschapv2/
DEapMsChapV2SuccessRequestTest.java128 assertTrue(eapError.cause instanceof EapMsChapV2ParsingException); in testDecodeSuccessRequestWrongOpCode()
137 assertTrue(eapError.cause instanceof BufferUnderflowException); in testDecodeSuccessRequestShortMessage()
146 assertTrue(eapError.cause instanceof EapMsChapV2ParsingException); in testDecodeSuccessRequestInvalidPrefix()
155 assertTrue(eapError.cause instanceof EapMsChapV2ParsingException); in testDecodeSuccessRequestShortAuthString()
164 assertTrue(eapError.cause instanceof NumberFormatException); in testDecodeSuccessRequestInvalidAuthString()
173 assertTrue(eapError.cause instanceof EapMsChapV2ParsingException); in testDecodeSuccessRequestExtraAttribute()
DEapMsChapV2FailureRequestTest.java119 assertTrue(result.eapError.cause instanceof NumberFormatException); in testDecodeFailureRequestInvalidErrorCode()
127 assertTrue(result.eapError.cause instanceof NumberFormatException); in testDecodeFailureRequestInvalidChallenge()
135 assertTrue(result.eapError.cause instanceof EapMsChapV2ParsingException); in testDecodeFailureRequestShortChallenge()
144 assertTrue(result.eapError.cause instanceof NumberFormatException); in testDecodeFailureRequestInvalidPasswordChangeProtocol()
152 assertTrue(result.eapError.cause instanceof EapMsChapV2ParsingException); in testDecodeFailureExtraAttribute()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/statemachine/
DEapStateTest.java81 assertTrue(eapError.cause instanceof IllegalArgumentException); in testProcessNullPacket()
99 assertTrue(eapError.cause instanceof EapInvalidPacketLengthException); in testProcessDecodeFailure()
108 assertTrue(eapError.cause instanceof EapInvalidRequestException); in testProcessResponse()
117 assertTrue(eapError.cause instanceof EapInvalidRequestException); in testProcessNakRequest()

1234567