Searched refs:cause (Results 1 - 25 of 48) sorted by relevance

12

/frameworks/base/core/java/android/accounts/
H A DAccountsException.java26 public AccountsException(String message, Throwable cause) { argument
27 super(message, cause);
29 public AccountsException(Throwable cause) { argument
30 super(cause);
H A DAuthenticatorException.java26 public AuthenticatorException(String message, Throwable cause) { argument
27 super(message, cause);
29 public AuthenticatorException(Throwable cause) { argument
30 super(cause);
H A DNetworkErrorException.java25 public NetworkErrorException(String message, Throwable cause) { argument
26 super(message, cause);
28 public NetworkErrorException(Throwable cause) { argument
29 super(cause);
H A DOperationCanceledException.java25 public OperationCanceledException(String message, Throwable cause) { argument
26 super(message, cause);
28 public OperationCanceledException(Throwable cause) { argument
29 super(cause);
H A DAccountManager.java1417 final Throwable cause = e.getCause();
1418 if (cause instanceof IOException) {
1419 throw (IOException) cause;
1420 } else if (cause instanceof UnsupportedOperationException) {
1421 throw new AuthenticatorException(cause);
1422 } else if (cause instanceof AuthenticatorException) {
1423 throw (AuthenticatorException) cause;
1424 } else if (cause instanceof RuntimeException) {
1425 throw (RuntimeException) cause;
1426 } else if (cause instanceo
[all...]
/frameworks/base/core/java/android/util/
H A DAndroidException.java30 public AndroidException(String name, Throwable cause) { argument
31 super(name, cause);
34 public AndroidException(Exception cause) { argument
35 super(cause);
H A DAndroidRuntimeException.java30 public AndroidRuntimeException(String name, Throwable cause) { argument
31 super(name, cause);
34 public AndroidRuntimeException(Exception cause) { argument
35 super(cause);
H A DLog.java89 TerribleFailure(String msg, Throwable cause) { super(msg, cause); } argument
/frameworks/base/keystore/java/android/security/
H A DKeyChainException.java44 * trace, the specified detail message and the specified cause.
48 * @param cause
49 * the cause of this exception, may be {@code null}.
51 public KeyChainException(String message, Throwable cause) { argument
52 super(message, cause);
57 * trace and the specified cause.
59 * @param cause
60 * the cause of this exception, may be {@code null}.
62 public KeyChainException(Throwable cause) { argument
63 super((cause
[all...]
/frameworks/base/voip/java/android/net/sip/
H A DSipException.java30 public SipException(String message, Throwable cause) { argument
32 super(message, ((cause instanceof javax.sip.SipException)
33 && (cause.getCause() != null))
34 ? cause.getCause()
35 : cause);
/frameworks/opt/mms/src/java/com/google/android/mms/
H A DMmsException.java43 * Creates a new MmsException with the specified cause.
45 * @param cause the cause.
47 public MmsException(Throwable cause) { argument
48 super(cause);
52 * Creates a new MmsException with the specified detail message and cause.
55 * @param cause the cause.
57 public MmsException(String message, Throwable cause) { argument
58 super(message, cause);
[all...]
/frameworks/base/core/java/android/database/
H A DSQLException.java30 public SQLException(String error, Throwable cause) { argument
31 super(error, cause);
/frameworks/base/core/java/android/database/sqlite/
H A DSQLiteException.java32 public SQLiteException(String error, Throwable cause) { argument
33 super(error, cause);
/frameworks/base/core/java/android/os/
H A DBadParcelableException.java28 public BadParcelableException(Exception cause) { argument
29 super(cause);
/frameworks/base/core/java/android/content/
H A DOperationApplicationException.java34 public OperationApplicationException(String message, Throwable cause) { argument
35 super(message, cause);
38 public OperationApplicationException(Throwable cause) { argument
39 super(cause);
/frameworks/support/volley/src/com/android/volley/
H A DNetworkError.java31 public NetworkError(Throwable cause) { argument
32 super(cause);
H A DParseError.java33 public ParseError(Throwable cause) { argument
34 super(cause);
H A DVolleyError.java44 public VolleyError(Throwable cause) { argument
45 super(cause);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
H A DCdmaInformationRecords.java232 public byte cause; field in class:CdmaInformationRecords.CdmaT53ClirInfoRec
234 public CdmaT53ClirInfoRec(int cause) { argument
235 this.cause = (byte)cause;
241 " cause: " + cause +
H A DCdmaDataConnectionTracker.java419 * Returns true if the last fail cause is something that
424 shouldPostNotification(FailCause cause) { argument
425 return (cause != FailCause.UNKNOWN);
611 FailCause cause = (FailCause) (ar.result);
612 if(DBG) log("Data Connection setup failed " + cause);
615 if (cause.isPermanentFail()) {
616 notifyNoData(cause);
628 startDelayedRetry(cause, reason, retryOverride);
709 protected void onCleanUpAllConnections(String cause) { argument
711 cleanUpConnection(true, cause, fals
868 startDelayedRetry(FailCause cause, String reason, int retryOverride) argument
[all...]
/frameworks/base/services/common_time/
H A Dcommon_time_server.h146 const char* cause);
147 bool becomeMaster(const char* cause);
148 bool becomeRonin(const char* cause);
149 bool becomeWaitForElection(const char* cause);
150 bool becomeInitial(const char* cause);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/
H A DSipConnectionBase.java129 void setDisconnectCause(DisconnectCause cause) { argument
130 mCause = cause;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
H A DGsmConnection.java75 DisconnectCause cause = DisconnectCause.NOT_DISCONNECTED; field in class:GsmConnection
232 return cause;
337 cause = DisconnectCause.LOCAL;
343 * See 22.001 Annex F.4 for mapping of cause codes
415 onDisconnect(DisconnectCause cause) { argument
416 this.cause = cause;
426 "[GSMConn] onDisconnect: cause=" + cause);
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/
H A DUsimDataDownloadCommands.java40 private int mExpectingAcknowledgeGsmSmsFailureCause; // expecting ack SMS failure cause
54 * Expect a call to acknowledgeLastIncomingGsmSms with success flag and failure cause.
56 * @param cause the failure cause, if success is false
58 synchronized void expectAcknowledgeGsmSms(boolean success, int cause) { argument
62 mExpectingAcknowledgeGsmSmsFailureCause = cause;
106 public synchronized void acknowledgeLastIncomingGsmSms(boolean success, int cause, argument
108 Log.d(TAG, "acknowledgeLastIncomingGsmSms: success=" + success + ", cause=" + cause);
111 Assert.assertEquals(mExpectingAcknowledgeGsmSmsFailureCause, cause);
377 acknowledgeLastIncomingCdmaSms(boolean success, int cause, Message response) argument
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DDataConnection.java340 * @param cause
342 private void notifyConnectCompleted(ConnectionParams cp, FailCause cause) { argument
351 if (cause == FailCause.NONE) {
355 lastFailCause = cause;
357 AsyncResult.forMessage(connectionCompletedMsg, cause,
360 if (DBG) log("notifyConnectionCompleted at " + timeStamp + " cause=" + cause);
825 public void setEnterNotificationParams(ConnectionParams cp, FailCause cause, argument
827 if (VDBG) log("DcInactiveState: setEnterNoticationParams cp,cause");
829 mFailCause = cause;
1028 setEnterNotificationParams(ConnectionParams cp, FailCause cause) argument
[all...]

Completed in 302 milliseconds

12