Searched refs:cause (Results 1 - 25 of 47) 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.java1509 final Throwable cause = e.getCause();
1510 if (cause instanceof IOException) {
1511 throw (IOException) cause;
1512 } else if (cause instanceof UnsupportedOperationException) {
1513 throw new AuthenticatorException(cause);
1514 } else if (cause instanceof AuthenticatorException) {
1515 throw (AuthenticatorException) cause;
1516 } else if (cause instanceof RuntimeException) {
1517 throw (RuntimeException) cause;
1518 } 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/opt/net/voip/src/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/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 +
/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);
H A Dcommon_time_server.cpp1185 const char* cause) {
1194 stateToString(mState), cause,
1235 bool CommonTimeServer::becomeMaster(const char* cause) { argument
1254 stateToString(mState), cause,
1270 bool CommonTimeServer::becomeRonin(const char* cause) { argument
1289 stateToString(mState), cause,
1303 stateToString(mState), cause,
1314 bool CommonTimeServer::becomeWaitForElection(const char* cause) { argument
1318 stateToString(mState), cause, kWaitForElection_TimeoutMs);
1325 bool CommonTimeServer::becomeInitial(const char* cause) { argument
1181 becomeClient(const sockaddr_storage& masterEP, uint64_t masterDeviceID, uint8_t masterDevicePriority, uint64_t timelineID, const char* cause) argument
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/
H A DSipConnectionBase.java137 void setDisconnectCause(DisconnectCause cause) { argument
138 if (DBG) log("setDisconnectCause: prev=" + mCause + " new=" + cause);
139 mCause = cause;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
H A DDataConnection.java495 private void notifyAllDisconnectCompleted(DcFailCause cause) { argument
496 notifyAllWithEvent(null, DctConstants.EVENT_DISCONNECT_DONE, cause.toString());
504 * @param cause and if no error the cause is DcFailCause.NONE
507 private void notifyConnectCompleted(ConnectionParams cp, DcFailCause cause, boolean sendAll) { argument
521 if (cause == DcFailCause.NONE) {
525 mLastFailCause = cause;
529 if (cause == null) cause = DcFailCause.UNKNOWN;
530 AsyncResult.forMessage(connectionCompletedMsg, cause,
931 setEnterNotificationParams(ConnectionParams cp, DcFailCause cause) argument
947 setEnterNotificationParams(DcFailCause cause) argument
[all...]
/frameworks/base/core/java/com/android/internal/os/
H A DZygoteInit.java100 * the assumption that they will then cause the VM instance to exit.
235 * Most classes only cause a few hundred bytes to be allocated, but
741 Throwable cause = ex.getCause();
742 if (cause instanceof RuntimeException) {
743 throw (RuntimeException) cause;
744 } else if (cause instanceof Error) {
745 throw (Error) cause;
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/
H A DUsimDataDownloadCommands.java41 private int mExpectingAcknowledgeGsmSmsFailureCause; // expecting ack SMS failure cause
55 * Expect a call to acknowledgeLastIncomingGsmSms with success flag and failure cause.
57 * @param cause the failure cause, if success is false
59 synchronized void expectAcknowledgeGsmSms(boolean success, int cause) { argument
63 mExpectingAcknowledgeGsmSmsFailureCause = cause;
107 public synchronized void acknowledgeLastIncomingGsmSms(boolean success, int cause, argument
109 Rlog.d(TAG, "acknowledgeLastIncomingGsmSms: success=" + success + ", cause=" + cause);
112 Assert.assertEquals(mExpectingAcknowledgeGsmSmsFailureCause, cause);
378 acknowledgeLastIncomingCdmaSms(boolean success, int cause, Message response) argument
[all...]

Completed in 397 milliseconds

12