Home
last modified time | relevance | path

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

12345678

/packages/services/Telephony/src/com/android/services/telephony/rcs/
DUceControllerManager.java172 Throwable cause = e.getCause(); in requestCapabilities()
173 if (cause instanceof ImsException) { in requestCapabilities()
174 throw (ImsException) cause; in requestCapabilities()
197 Throwable cause = e.getCause(); in requestNetworkAvailability()
198 if (cause instanceof ImsException) { in requestNetworkAvailability()
199 throw (ImsException) cause; in requestNetworkAvailability()
219 Throwable cause = e.getCause(); in getUcePublishState()
220 if (cause instanceof ImsException) { in getUcePublishState()
221 throw (ImsException) cause; in getUcePublishState()
241 Throwable cause = e.getCause(); in addUceRegistrationOverride()
[all …]
/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/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/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/apps/Settings/src/com/android/settings/network/
DUiccSlotsException.java28 public UiccSlotsException(String message, Throwable cause) { in UiccSlotsException() argument
29 super(message, cause); in UiccSlotsException()
32 public UiccSlotsException(Throwable cause) { in UiccSlotsException() argument
33 super(cause); in UiccSlotsException()
/packages/services/Mms/src/com/android/mms/service/exception/
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/modules/IPsec/src/java/android/net/ipsec/ike/exceptions/
DIkeException.java33 protected IkeException(Throwable cause) { in IkeException() argument
34 super(cause); in IkeException()
38 protected IkeException(String message, Throwable cause) { in IkeException() argument
39 super(message, cause); in IkeException()
DIkeNonProtocolException.java34 protected IkeNonProtocolException(Throwable cause) { in IkeNonProtocolException() argument
35 super(cause); in IkeNonProtocolException()
39 protected IkeNonProtocolException(String message, Throwable cause) { in IkeNonProtocolException() argument
40 super(message, cause); in IkeNonProtocolException()
DIkeInternalException.java38 public IkeInternalException(@NonNull Throwable cause) { in IkeInternalException() argument
39 super(cause); in IkeInternalException()
53 public IkeInternalException(@NonNull String message, @NonNull Throwable cause) { in IkeInternalException() argument
54 super(message, cause); in IkeInternalException()
DInvalidSyntaxException.java59 public InvalidSyntaxException(@NonNull Throwable cause) { in InvalidSyntaxException() argument
60 super(ERROR_TYPE_INVALID_SYNTAX, cause); in InvalidSyntaxException()
74 public InvalidSyntaxException(@NonNull String message, @NonNull Throwable cause) { in InvalidSyntaxException() argument
75 super(ERROR_TYPE_INVALID_SYNTAX, message, cause); in InvalidSyntaxException()
/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/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/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/modules/IPsec/tests/cts/src/android/ipsec/ike/cts/
DIkeExceptionTest.java44 final Throwable cause = new Throwable("Test Cause"); in testIkeInternalException() local
47 final IkeInternalException exception = new IkeInternalException(cause); in testIkeInternalException()
48 final IkeInternalException exceptionWithMsg = new IkeInternalException(errMsg, cause); in testIkeInternalException()
50 assertEquals(cause, exception.getCause()); in testIkeInternalException()
51 assertEquals(cause, exceptionWithMsg.getCause()); in testIkeInternalException()
/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/eap/
DEapResult.java114 public final Exception cause; field in EapResult.EapError
122 public EapError(Exception cause) { in EapError() argument
123 this.cause = cause; in EapError()

12345678