Home
last modified time | relevance | path

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

12

/frameworks/base/telecomm/java/android/telecom/
DDisconnectCause.java33 public final class DisconnectCause implements Parcelable { class
97 public DisconnectCause(int code) { in DisconnectCause() method in DisconnectCause
107 public DisconnectCause(int code, String reason) { in DisconnectCause() method in DisconnectCause
119 public DisconnectCause(int code, CharSequence label, CharSequence description, String reason) { in DisconnectCause() method in DisconnectCause
132 public DisconnectCause(int code, CharSequence label, CharSequence description, String reason, in DisconnectCause() method in DisconnectCause
196 public static final Creator<DisconnectCause> CREATOR = new Creator<DisconnectCause>() {
198 public DisconnectCause createFromParcel(Parcel source) {
204 return new DisconnectCause(code, label, description, reason, tone);
208 public DisconnectCause[] newArray(int size) {
209 return new DisconnectCause[size];
[all …]
DParcelableConnection.java51 private final DisconnectCause mDisconnectCause;
72 DisconnectCause disconnectCause, in ParcelableConnection()
167 public final DisconnectCause getDisconnectCause() { in getDisconnectCause()
215 DisconnectCause disconnectCause = source.readParcelable(classLoader);
DConference.java49 public void onDisconnected(Conference conference, DisconnectCause disconnectCause) {} in onDisconnected()
78 private DisconnectCause mDisconnectCause;
367 public final void setDisconnected(DisconnectCause disconnectCause) { in setDisconnected()
378 public final DisconnectCause getDisconnectCause() { in getDisconnectCause()
525 setDisconnected(new DisconnectCause(DisconnectCause.LOCAL)); in destroy()
DParcelableCall.java38 private final DisconnectCause mDisconnectCause;
64 DisconnectCause disconnectCause, in ParcelableCall()
124 public DisconnectCause getDisconnectCause() { in getDisconnectCause()
279 DisconnectCause disconnectCause = source.readParcelable(classLoader);
DRemoteConnection.java70 DisconnectCause disconnectCause) {} in onDisconnected()
598 private DisconnectCause mDisconnectCause;
672 RemoteConnection(DisconnectCause disconnectCause) { in RemoteConnection()
733 public DisconnectCause getDisconnectCause() { in getDisconnectCause()
1096 void setDisconnected(final DisconnectCause disconnectCause) { in setDisconnected()
1175 new DisconnectCause(DisconnectCause.ERROR, "Connection destroyed.")); in setDestroyed()
1418 public static RemoteConnection failure(DisconnectCause disconnectCause) { in failure()
DRemoteConference.java65 public void onDisconnected(RemoteConference conference, DisconnectCause disconnectCause) {} in onDisconnected()
146 private DisconnectCause mDisconnectCause;
295 void setDisconnected(final DisconnectCause disconnectCause) { in setDisconnected()
483 public DisconnectCause getDisconnectCause() { in getDisconnectCause()
DDisconnectCause.aidl22 parcelable DisconnectCause;
DConnection.java718 public void onDisconnected(Connection c, DisconnectCause disconnectCause) {} in onDisconnected()
1438 private DisconnectCause mDisconnectCause;
1641 public final DisconnectCause getDisconnectCause() { in getDisconnectCause()
1855 public final void setDisconnected(DisconnectCause disconnectCause) { in setDisconnected()
2468 public FailureSignalingConnection(DisconnectCause disconnectCause) { in FailureSignalingConnection()
2491 public static Connection createFailedConnection(DisconnectCause disconnectCause) { in createFailedConnection()
2516 return new FailureSignalingConnection(new DisconnectCause(DisconnectCause.CANCELED)); in createCanceledConnection()
DRemoteConnectionService.java127 public void setDisconnected(String callId, DisconnectCause disconnectCause) {
456 new DisconnectCause(DisconnectCause.ERROR, e.toString())); in createRemoteConnection()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DGsmCdmaConnection.java28 import android.telephony.DisconnectCause;
413 mCause = DisconnectCause.LOCAL; in onHangupLocal()
431 return DisconnectCause.BUSY; in disconnectCauseFromCode()
439 return DisconnectCause.CONGESTION; in disconnectCauseFromCode()
442 return DisconnectCause.LIMIT_EXCEEDED; in disconnectCauseFromCode()
446 return DisconnectCause.CALL_BARRED; in disconnectCauseFromCode()
449 return DisconnectCause.FDN_BLOCKED; in disconnectCauseFromCode()
452 return DisconnectCause.UNOBTAINABLE_NUMBER; in disconnectCauseFromCode()
455 return DisconnectCause.DIAL_MODIFIED_TO_USSD; in disconnectCauseFromCode()
458 return DisconnectCause.DIAL_MODIFIED_TO_SS; in disconnectCauseFromCode()
[all …]
DGsmCdmaCallTracker.java31 import android.telephony.DisconnectCause;
314 mPendingMO.mCause = DisconnectCause.INVALID_NUMBER; in dial()
425 mPendingMO.mCause = DisconnectCause.INVALID_NUMBER; in dial()
998 if (conn.mCause == DisconnectCause.LOCAL) { in handlePollCalls()
999 cause = DisconnectCause.INCOMING_REJECTED; in handlePollCalls()
1001 cause = DisconnectCause.INCOMING_MISSED; in handlePollCalls()
1012 } else if (conn.mCause == DisconnectCause.LOCAL in handlePollCalls()
1013 || conn.mCause == DisconnectCause.INVALID_NUMBER) { in handlePollCalls()
1037 hoConnection.onDisconnect(DisconnectCause.INCOMING_MISSED); in handlePollCalls()
1039 hoConnection.onDisconnect(DisconnectCause.NOT_VALID); in handlePollCalls()
DConnection.java23 import android.telephony.DisconnectCause;
182 protected int mCause = DisconnectCause.NOT_DISCONNECTED;
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DGsmCdmaConnectionTest.java24 import android.telephony.DisconnectCause;
81 assertEquals(DisconnectCause.NOT_DISCONNECTED, DisconnectCause.NOT_DISCONNECTED); in testSanityGSM()
99 assertEquals(DisconnectCause.NOT_DISCONNECTED, DisconnectCause.NOT_DISCONNECTED); in testSanityCDMA()
188 connection.onDisconnect(DisconnectCause.LOCAL); in testHangUpConnection()
190 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;
162 assertEquals(DisconnectCause.NOT_DISCONNECTED, mConnection.getDisconnectCause()); in testMOCallDialPickUpHangup()
175 assertEquals(DisconnectCause.LOCAL, mConnection.getDisconnectCause()); in testMOCallDialPickUpHangup()
269 assertEquals(DisconnectCause.NOT_DISCONNECTED, mConnection.getDisconnectCause()); in testMTCallReject()
281 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.java42 import android.telephony.DisconnectCause;
648 conn.setDisconnectCause(DisconnectCause.INVALID_NUMBER); in dialInternal()
706 conn.setDisconnectCause(DisconnectCause.ERROR_UNSPECIFIED); in dialInternal()
1374 int cause = DisconnectCause.ERROR_UNSPECIFIED; in getDisconnectCauseFromReasonInfo()
1381 return DisconnectCause.NUMBER_UNREACHABLE; in getDisconnectCauseFromReasonInfo()
1384 return DisconnectCause.BUSY; in getDisconnectCauseFromReasonInfo()
1387 return DisconnectCause.LOCAL; in getDisconnectCauseFromReasonInfo()
1393 return DisconnectCause.INCOMING_REJECTED; in getDisconnectCauseFromReasonInfo()
1396 return DisconnectCause.NORMAL; in getDisconnectCauseFromReasonInfo()
1399 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;
371 mCause = DisconnectCause.LOCAL; in onHangupLocal()
378 if (mCause != DisconnectCause.LOCAL || cause == DisconnectCause.INCOMING_REJECTED) { in onDisconnect()
/frameworks/base/telephony/java/android/telephony/
DDisconnectCause.java23 public class DisconnectCause { class
261 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;
52 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