Home
last modified time | relevance | path

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

12345

/frameworks/base/telephony/java/com/android/internal/telephony/gsm/
DGsmDataConnection.java137 FailCause cause; in getFailCauseFromRequest() local
141 cause = FailCause.OPERATOR_BARRED; in getFailCauseFromRequest()
144 cause = FailCause.INSUFFICIENT_RESOURCES; in getFailCauseFromRequest()
147 cause = FailCause.MISSING_UNKNOWN_APN; in getFailCauseFromRequest()
150 cause = FailCause.UNKNOWN_PDP_ADDRESS; in getFailCauseFromRequest()
153 cause = FailCause.USER_AUTHENTICATION; in getFailCauseFromRequest()
156 cause = FailCause.ACTIVATION_REJECT_GGSN; in getFailCauseFromRequest()
159 cause = FailCause.ACTIVATION_REJECT_UNSPECIFIED; in getFailCauseFromRequest()
162 cause = FailCause.SERVICE_OPTION_OUT_OF_ORDER; in getFailCauseFromRequest()
165 cause = FailCause.SERVICE_OPTION_NOT_SUPPORTED; in getFailCauseFromRequest()
[all …]
DGsmConnection.java73 DisconnectCause cause = DisconnectCause.NOT_DISCONNECTED; field in GsmConnection
225 return cause; in getDisconnectCause()
330 cause = DisconnectCause.LOCAL; in onHangupLocal()
403 onDisconnect(DisconnectCause cause) { in onDisconnect() argument
404 this.cause = cause; in onDisconnect()
414 "[GSMConn] onDisconnect: cause=" + cause); in onDisconnect()
DGsmCallTracker.java208 pendingMO.cause = Connection.DisconnectCause.INVALID_NUMBER; in dial()
571 Connection.DisconnectCause cause; in handlePollCalls() local
572 if (conn.cause == Connection.DisconnectCause.LOCAL) { in handlePollCalls()
573 cause = Connection.DisconnectCause.INCOMING_REJECTED; in handlePollCalls()
575 cause = Connection.DisconnectCause.INCOMING_MISSED; in handlePollCalls()
579 log("missed/rejected call, conn.cause=" + conn.cause); in handlePollCalls()
580 log("setting cause to " + cause); in handlePollCalls()
583 conn.onDisconnect(cause); in handlePollCalls()
584 } else if (conn.cause == Connection.DisconnectCause.LOCAL) { in handlePollCalls()
588 } else if (conn.cause == in handlePollCalls()
DGsmDataConnectionTracker.java986 private boolean shouldPostNotification(GsmDataConnection.FailCause cause) { in shouldPostNotification() argument
987 return (cause != GsmDataConnection.FailCause.UNKNOWN); in shouldPostNotification()
1156 GsmDataConnection.FailCause cause; in onDataSetupComplete() local
1157 cause = (GsmDataConnection.FailCause) (ar.result); in onDataSetupComplete()
1158 if(DBG) log("PDP setup failed " + cause); in onDataSetupComplete()
1160 if (cause.isEventLoggable()) { in onDataSetupComplete()
1163 cause.ordinal(), loc != null ? loc.getCid() : -1, in onDataSetupComplete()
1168 waitingApnsPermanentFailureCountDown -= cause.isPermanentFail() ? 1 : 0; in onDataSetupComplete()
1178 notifyNoData(cause); in onDataSetupComplete()
1182 startDelayedRetry(cause, reason); in onDataSetupComplete()
[all …]
/frameworks/base/voip/java/android/net/sip/
DSipException.java30 public SipException(String message, Throwable cause) { in SipException() argument
32 super(message, ((cause instanceof javax.sip.SipException) in SipException()
33 && (cause.getCause() != null)) in SipException()
34 ? cause.getCause() in SipException()
35 : cause); in SipException()
/frameworks/base/core/java/android/accounts/
DAuthenticatorException.java26 public AuthenticatorException(String message, Throwable cause) { in AuthenticatorException() argument
27 super(message, cause); in AuthenticatorException()
29 public AuthenticatorException(Throwable cause) { in AuthenticatorException() argument
30 super(cause); in AuthenticatorException()
DNetworkErrorException.java25 public NetworkErrorException(String message, Throwable cause) { in NetworkErrorException() argument
26 super(message, cause); in NetworkErrorException()
28 public NetworkErrorException(Throwable cause) { in NetworkErrorException() argument
29 super(cause); in NetworkErrorException()
DOperationCanceledException.java25 public OperationCanceledException(String message, Throwable cause) { in OperationCanceledException() argument
26 super(message, cause); in OperationCanceledException()
28 public OperationCanceledException(Throwable cause) { in OperationCanceledException() argument
29 super(cause); in OperationCanceledException()
DAccountsException.java26 public AccountsException(String message, Throwable cause) { in AccountsException() argument
27 super(message, cause); in AccountsException()
29 public AccountsException(Throwable cause) { in AccountsException() argument
30 super(cause); in AccountsException()
DAccountManager.java1238 final Throwable cause = e.getCause();
1239 if (cause instanceof IOException) {
1240 throw (IOException) cause;
1241 } else if (cause instanceof UnsupportedOperationException) {
1242 throw new AuthenticatorException(cause);
1243 } else if (cause instanceof AuthenticatorException) {
1244 throw (AuthenticatorException) cause;
1245 } else if (cause instanceof RuntimeException) {
1246 throw (RuntimeException) cause;
1247 } else if (cause instanceof Error) {
[all …]
/frameworks/base/core/java/com/google/android/mms/
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()
/frameworks/base/core/java/android/content/
DOperationApplicationException.java34 public OperationApplicationException(String message, Throwable cause) { in OperationApplicationException() argument
35 super(message, cause); in OperationApplicationException()
38 public OperationApplicationException(Throwable cause) { in OperationApplicationException() argument
39 super(cause); in OperationApplicationException()
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/
DCdmaDataConnection.java104 FailCause cause; in getFailCauseFromRequest() local
108 cause = FailCause.OPERATOR_BARRED; in getFailCauseFromRequest()
111 cause = FailCause.USER_AUTHENTICATION; in getFailCauseFromRequest()
114 cause = FailCause.SERVICE_OPTION_NOT_SUPPORTED; in getFailCauseFromRequest()
117 cause = FailCause.SERVICE_OPTION_NOT_SUBSCRIBED; in getFailCauseFromRequest()
120 cause = FailCause.UNKNOWN; in getFailCauseFromRequest()
122 return cause; in getFailCauseFromRequest()
DCdmaInformationRecords.java232 public byte cause; field in CdmaInformationRecords.CdmaT53ClirInfoRec
234 public CdmaT53ClirInfoRec(int cause) { in CdmaT53ClirInfoRec() argument
235 this.cause = (byte)cause; in CdmaT53ClirInfoRec()
241 " cause: " + cause + in toString()
DCdmaCallTracker.java214 pendingMO.cause = Connection.DisconnectCause.INVALID_NUMBER; in dial()
640 Connection.DisconnectCause cause; in handlePollCalls() local
641 if (conn.cause == Connection.DisconnectCause.LOCAL) { in handlePollCalls()
642 cause = Connection.DisconnectCause.INCOMING_REJECTED; in handlePollCalls()
644 cause = Connection.DisconnectCause.INCOMING_MISSED; in handlePollCalls()
648 log("missed/rejected call, conn.cause=" + conn.cause); in handlePollCalls()
649 log("setting cause to " + cause); in handlePollCalls()
652 conn.onDisconnect(cause); in handlePollCalls()
653 } else if (conn.cause == Connection.DisconnectCause.LOCAL) { in handlePollCalls()
657 } else if (conn.cause == Connection.DisconnectCause.INVALID_NUMBER) { in handlePollCalls()
DCdmaDataConnectionTracker.java571 shouldPostNotification(FailCause cause) { in shouldPostNotification() argument
572 return (cause != FailCause.UNKNOWN); in shouldPostNotification()
730 FailCause cause = (FailCause) (ar.result); in onDataSetupComplete() local
731 if(DBG) log("Data Connection setup failed " + cause); in onDataSetupComplete()
734 if (cause.isPermanentFail()) { in onDataSetupComplete()
735 notifyNoData(cause); in onDataSetupComplete()
738 startDelayedRetry(cause, reason); in onDataSetupComplete()
985 private void startDelayedRetry(FailCause cause, String reason) { in startDelayedRetry() argument
986 notifyNoData(cause); in startDelayedRetry()
987 reconnectAfterFail(cause, reason); in startDelayedRetry()
DCdmaConnection.java77 DisconnectCause cause = DisconnectCause.NOT_DISCONNECTED; field in CdmaConnection
277 return cause; in getDisconnectCause()
382 cause = DisconnectCause.LOCAL; in onHangupLocal()
451 onDisconnect(DisconnectCause cause) { in onDisconnect() argument
452 this.cause = cause; in onDisconnect()
457 "[CDMAConn] onDisconnect: cause=" + cause); in onDisconnect()
/frameworks/base/core/java/android/os/
DLooper.java235 HandlerException(Message message, Throwable cause) { in HandlerException() argument
236 super(createMessage(cause), cause); in HandlerException() local
239 static String createMessage(Throwable cause) { in createMessage() argument
240 String causeMsg = cause.getMessage(); in createMessage()
242 causeMsg = cause.toString(); in createMessage()
DBadParcelableException.java28 public BadParcelableException(Exception cause) { in BadParcelableException() argument
29 super(cause); in BadParcelableException()
/frameworks/base/core/java/android/util/
DAndroidException.java30 public AndroidException(Exception cause) { in AndroidException() argument
31 super(cause); in AndroidException()
DAndroidRuntimeException.java30 public AndroidRuntimeException(Exception cause) { in AndroidRuntimeException() argument
31 super(cause); in AndroidRuntimeException()
/frameworks/base/telephony/java/com/android/internal/telephony/
DDataConnection.java324 private void notifyConnectCompleted(ConnectionParams cp, FailCause cause) { in notifyConnectCompleted() argument
333 if (cause == FailCause.NONE) { in notifyConnectCompleted()
337 lastFailCause = cause; in notifyConnectCompleted()
339 AsyncResult.forMessage(connectionCompletedMsg, cause, new Exception()); in notifyConnectCompleted()
341 if (DBG) log("notifyConnection at " + timeStamp + " cause=" + cause); in notifyConnectCompleted()
500 public void setEnterNotificationParams(ConnectionParams cp, FailCause cause) { in setEnterNotificationParams() argument
503 mFailCause = cause; in setEnterNotificationParams()
630 FailCause cause = FailCause.UNKNOWN; in processMessage() local
636 cause = getFailCauseFromRequest(rilFailCause); in processMessage()
640 mInactiveState.setEnterNotificationParams(cp, cause); in processMessage()
[all …]
DEventLogTags.logtags22 50105 pdp_setup_fail (cause|1|5), (cid|1|5), (network_type|1|5)
25 50106 call_drop (cause|1|5), (cid|1|5), (network_type|1|5)
37 50110 cdma_data_setup_failed (cause|1|5), (cid|1|5), (network_type|1|5)
/frameworks/base/telephony/java/com/android/internal/telephony/sip/
DSipConnectionBase.java127 void setDisconnectCause(DisconnectCause cause) { in setDisconnectCause() argument
128 mCause = cause; in setDisconnectCause()
/frameworks/base/core/java/android/app/
DApplicationErrorReport.java400 public String cause; field in ApplicationErrorReport.AnrInfo
418 cause = in.readString(); in AnrInfo()
427 dest.writeString(cause); in writeToParcel()
436 pw.println(prefix + "cause: " + cause); in dump()

12345