Home
last modified time | relevance | path

Searched refs:DisconnectCause (Results 1 – 25 of 35) sorted by relevance

12

/frameworks/base/telecomm/java/android/telecom/
DDisconnectCause.java33 public final class DisconnectCause implements Parcelable { class
91 public DisconnectCause(int code) { in DisconnectCause() method in DisconnectCause
101 public DisconnectCause(int code, String reason) { in DisconnectCause() method in DisconnectCause
113 public DisconnectCause(int code, CharSequence label, CharSequence description, String reason) { in DisconnectCause() method in DisconnectCause
126 public DisconnectCause(int code, CharSequence label, CharSequence description, String reason, in DisconnectCause() method in DisconnectCause
190 public static final Creator<DisconnectCause> CREATOR = new Creator<DisconnectCause>() {
192 public DisconnectCause createFromParcel(Parcel source) {
198 return new DisconnectCause(code, label, description, reason, tone);
202 public DisconnectCause[] newArray(int size) {
203 return new DisconnectCause[size];
[all …]
DParcelableConnection.java50 private final DisconnectCause mDisconnectCause;
70 DisconnectCause disconnectCause, in ParcelableConnection()
160 public final DisconnectCause getDisconnectCause() { in getDisconnectCause()
208 DisconnectCause disconnectCause = source.readParcelable(classLoader);
DConference.java48 public void onDisconnected(Conference conference, DisconnectCause disconnectCause) {} in onDisconnected()
77 private DisconnectCause mDisconnectCause;
363 public final void setDisconnected(DisconnectCause disconnectCause) { in setDisconnected()
374 public final DisconnectCause getDisconnectCause() { in getDisconnectCause()
522 setDisconnected(new DisconnectCause(DisconnectCause.LOCAL)); in destroy()
DParcelableCall.java38 private final DisconnectCause mDisconnectCause;
63 DisconnectCause disconnectCause, in ParcelableCall()
121 public DisconnectCause getDisconnectCause() { in getDisconnectCause()
271 DisconnectCause disconnectCause = source.readParcelable(classLoader);
DRemoteConnection.java70 DisconnectCause disconnectCause) {} in onDisconnected()
600 private DisconnectCause mDisconnectCause;
661 RemoteConnection(DisconnectCause disconnectCause) { in RemoteConnection()
722 public DisconnectCause getDisconnectCause() { in getDisconnectCause()
1087 void setDisconnected(final DisconnectCause disconnectCause) { in setDisconnected()
1166 new DisconnectCause(DisconnectCause.ERROR, "Connection destroyed.")); in setDestroyed()
1406 public static RemoteConnection failure(DisconnectCause disconnectCause) { in failure()
DRemoteConference.java65 public void onDisconnected(RemoteConference conference, DisconnectCause disconnectCause) {} in onDisconnected()
147 private DisconnectCause mDisconnectCause;
296 void setDisconnected(final DisconnectCause disconnectCause) { in setDisconnected()
481 public DisconnectCause getDisconnectCause() { in getDisconnectCause()
DConnection.java555 public void onDisconnected(Connection c, DisconnectCause disconnectCause) {} in onDisconnected()
1238 private DisconnectCause mDisconnectCause;
1432 public final DisconnectCause getDisconnectCause() { in getDisconnectCause()
1626 public final void setDisconnected(DisconnectCause disconnectCause) { in setDisconnected()
2205 public FailureSignalingConnection(DisconnectCause disconnectCause) { in FailureSignalingConnection()
2228 public static Connection createFailedConnection(DisconnectCause disconnectCause) { in createFailedConnection()
2253 return new FailureSignalingConnection(new DisconnectCause(DisconnectCause.CANCELED)); in createCanceledConnection()
DDisconnectCause.aidl22 parcelable DisconnectCause;
DRemoteConnectionService.java121 public void setDisconnected(String callId, DisconnectCause disconnectCause) {
434 new DisconnectCause(DisconnectCause.ERROR, e.toString())); in createRemoteConnection()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DGsmCdmaConnection.java28 import android.telephony.DisconnectCause;
405 mCause = DisconnectCause.LOCAL; in onHangupLocal()
423 return DisconnectCause.BUSY; in disconnectCauseFromCode()
431 return DisconnectCause.CONGESTION; in disconnectCauseFromCode()
434 return DisconnectCause.LIMIT_EXCEEDED; in disconnectCauseFromCode()
437 return DisconnectCause.CALL_BARRED; in disconnectCauseFromCode()
440 return DisconnectCause.FDN_BLOCKED; in disconnectCauseFromCode()
443 return DisconnectCause.UNOBTAINABLE_NUMBER; in disconnectCauseFromCode()
446 return DisconnectCause.DIAL_MODIFIED_TO_USSD; in disconnectCauseFromCode()
449 return DisconnectCause.DIAL_MODIFIED_TO_SS; in disconnectCauseFromCode()
[all …]
DGsmCdmaCallTracker.java31 import android.telephony.DisconnectCause;
305 mPendingMO.mCause = DisconnectCause.INVALID_NUMBER; in dial()
416 mPendingMO.mCause = DisconnectCause.INVALID_NUMBER; in dial()
991 if (conn.mCause == DisconnectCause.LOCAL) { in handlePollCalls()
992 cause = DisconnectCause.INCOMING_REJECTED; in handlePollCalls()
994 cause = DisconnectCause.INCOMING_MISSED; in handlePollCalls()
1004 } else if (conn.mCause == DisconnectCause.LOCAL in handlePollCalls()
1005 || conn.mCause == DisconnectCause.INVALID_NUMBER) { in handlePollCalls()
1025 hoConnection.onDisconnect(DisconnectCause.INCOMING_MISSED); in handlePollCalls()
1027 hoConnection.onDisconnect(DisconnectCause.NOT_VALID); in handlePollCalls()
DConnection.java23 import android.telephony.DisconnectCause;
172 protected int mCause = DisconnectCause.NOT_DISCONNECTED;
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DGsmCdmaConnectionTest.java24 import android.telephony.DisconnectCause;
79 assertEquals(DisconnectCause.NOT_DISCONNECTED, DisconnectCause.NOT_DISCONNECTED); in testSanityGSM()
96 assertEquals(DisconnectCause.NOT_DISCONNECTED, DisconnectCause.NOT_DISCONNECTED); in testSanityCDMA()
180 connection.onDisconnect(DisconnectCause.LOCAL); in testHangUpConnection()
182 assertEquals(DisconnectCause.LOCAL, connection.getDisconnectCause()); in testHangUpConnection()
DDefaultPhoneNotifierTest.java35 import android.telephony.DisconnectCause;
158 mDefaultPhoneNotifierUT.notifyDisconnectCause(DisconnectCause.NOT_VALID, in testNotifyDisconnectCause()
160 verify(mTelephonyRegisteryMock).notifyDisconnectCause(DisconnectCause.NOT_VALID, in testNotifyDisconnectCause()
163 mDefaultPhoneNotifierUT.notifyDisconnectCause(DisconnectCause.LOCAL, in testNotifyDisconnectCause()
165 verify(mTelephonyRegisteryMock).notifyDisconnectCause(DisconnectCause.LOCAL, in testNotifyDisconnectCause()
DGsmCdmaCallTrackerTest.java20 import android.telephony.DisconnectCause;
160 assertEquals(DisconnectCause.NOT_DISCONNECTED, mConnection.getDisconnectCause()); in testMOCallDialPickUpHangup()
173 assertEquals(DisconnectCause.LOCAL, mConnection.getDisconnectCause()); in testMOCallDialPickUpHangup()
266 assertEquals(DisconnectCause.NOT_DISCONNECTED, mConnection.getDisconnectCause()); in testMTCallReject()
278 assertEquals(DisconnectCause.INCOMING_MISSED, mConnection.getDisconnectCause()); in testMTCallReject()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/
DSipPhone.java30 import android.telephony.DisconnectCause;
756 if (getDisconnectCause() != DisconnectCause.LOCAL) {
807 onCallEnded(DisconnectCause.LOCAL);
968 ? DisconnectCause.INCOMING_REJECTED in hangup()
969 : DisconnectCause.LOCAL); in hangup()
1023 ? DisconnectCause.NORMAL in onCallEnded()
1024 : DisconnectCause.INCOMING_MISSED); in onCallEnded()
1030 onCallEnded(DisconnectCause.BUSY); in onCallBusy()
1042 onError(DisconnectCause.SERVER_UNREACHABLE); in onError()
1045 onError(DisconnectCause.NUMBER_UNREACHABLE); in onError()
[all …]
DSipConnectionBase.java26 import android.telephony.DisconnectCause;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhoneCallTracker.java45 import android.telephony.DisconnectCause;
480 conn.setDisconnectCause(DisconnectCause.INVALID_NUMBER); in dialInternal()
527 conn.setDisconnectCause(DisconnectCause.ERROR_UNSPECIFIED); in dialInternal()
1115 int cause = DisconnectCause.ERROR_UNSPECIFIED; in getDisconnectCauseFromReasonInfo()
1122 return DisconnectCause.NUMBER_UNREACHABLE; in getDisconnectCauseFromReasonInfo()
1125 return DisconnectCause.BUSY; in getDisconnectCauseFromReasonInfo()
1128 return DisconnectCause.LOCAL; in getDisconnectCauseFromReasonInfo()
1131 return DisconnectCause.INCOMING_REJECTED; in getDisconnectCauseFromReasonInfo()
1134 return DisconnectCause.NORMAL; in getDisconnectCauseFromReasonInfo()
1142 return DisconnectCause.SERVER_ERROR; in getDisconnectCauseFromReasonInfo()
[all …]
DImsPhoneCall.java21 import android.telephony.DisconnectCause;
83 c.onDisconnect(DisconnectCause.LOST_SIGNAL); in dispose()
DImsPhoneConnection.java32 import android.telephony.DisconnectCause;
375 mCause = DisconnectCause.LOCAL; in onHangupLocal()
382 if (mCause != DisconnectCause.LOCAL) mCause = cause; in onDisconnect()
/frameworks/base/telephony/java/android/telephony/
DDisconnectCause.java23 public class DisconnectCause { class
215 private DisconnectCause() { in DisconnectCause() method in DisconnectCause
DPreciseCallState.java21 import android.telephony.DisconnectCause;
66 private int mDisconnectCause = DisconnectCause.NOT_VALID;
/frameworks/base/telecomm/java/com/android/internal/telecom/
DIConnectionServiceAdapter.aidl23 import android.telecom.DisconnectCause;
50 void setDisconnected(String callId, in DisconnectCause disconnectCause); in setDisconnected()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
DImsPhoneConnectionTest.java23 import android.telephony.DisconnectCause;
181 mConnectionUT.onDisconnect(DisconnectCause.LOCAL); in testConnectionDisconnect()
182 assertEquals(DisconnectCause.LOCAL, mConnectionUT.getDisconnectCause()); in testConnectionDisconnect()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/
DGSMPhoneTest.java.broken26 import android.telephony.DisconnectCause;
192 assertEquals(DisconnectCause.NOT_DISCONNECTED, cn.getDisconnectCause());
398 assertEquals(DisconnectCause.LOCAL, cn.getDisconnectCause());
409 assertEquals(DisconnectCause.LOCAL, cn.getDisconnectCause());
485 assertEquals(DisconnectCause.INCOMING_MISSED, cn.getDisconnectCause());
493 assertEquals(DisconnectCause.INCOMING_MISSED, cn.getDisconnectCause());
533 assertEquals(DisconnectCause.INCOMING_MISSED, cn.getDisconnectCause());
587 assertEquals(DisconnectCause.NORMAL, cn.getDisconnectCause());
606 assertEquals(DisconnectCause.INCOMING_MISSED, cn.getDisconnectCause());
626 assertEquals(DisconnectCause.NOT_DISCONNECTED, cn.getDisconnectCause());
[all …]

12