Searched refs:DisconnectCause (Results 1 - 25 of 28) sorted by relevance

12

/frameworks/base/telecomm/java/android/telecom/
H A DDisconnectCause.aidl22 parcelable DisconnectCause;
H A DDisconnectCause.java33 public final class DisconnectCause implements Parcelable { class in inherits:Parcelable
74 * Creates a new DisconnectCause.
78 public DisconnectCause(int code) { method in class:DisconnectCause
83 * Creates a new DisconnectCause.
88 public DisconnectCause(int code, String reason) { method in class:DisconnectCause
93 * Creates a new DisconnectCause.
100 public DisconnectCause(int code, CharSequence label, CharSequence description, String reason) { method in class:DisconnectCause
105 * Creates a new DisconnectCause.
113 public DisconnectCause(int code, CharSequence label, CharSequence description, String reason, method in class:DisconnectCause
177 public static final Creator<DisconnectCause> CREATO
[all...]
H A DConference.java46 public void onDisconnected(Conference conference, DisconnectCause disconnectCause) {}
71 private DisconnectCause mDisconnectCause;
315 * {@link android.telecom.DisconnectCause}.
317 public final void setDisconnected(DisconnectCause disconnectCause) {
326 * @return The {@link DisconnectCause} for this connection.
328 public final DisconnectCause getDisconnectCause() {
459 setDisconnected(new DisconnectCause(DisconnectCause.LOCAL));
H A DParcelableCall.java38 private final DisconnectCause mDisconnectCause;
63 DisconnectCause disconnectCause,
118 * Reason for disconnection, as described by {@link android.telecomm.DisconnectCause}. Valid
121 public DisconnectCause getDisconnectCause() {
270 DisconnectCause disconnectCause = source.readParcelable(classLoader);
H A DParcelableConnection.java49 private final DisconnectCause mDisconnectCause;
68 DisconnectCause disconnectCause,
142 public final DisconnectCause getDisconnectCause() {
188 DisconnectCause disconnectCause = source.readParcelable(classLoader);
H A DRemoteConference.java62 * @param disconnectCause The ({@see DisconnectCause}) associated with this failed
65 public void onDisconnected(RemoteConference conference, DisconnectCause disconnectCause) {}
134 private DisconnectCause mDisconnectCause;
264 void setDisconnected(final DisconnectCause disconnectCause) {
413 * Returns the {@link DisconnectCause} for the conference if it is in the state
419 public DisconnectCause getDisconnectCause() {
H A DRemoteConnection.java65 * @param disconnectCause The ({@see DisconnectCause}) associated with this failed
70 DisconnectCause disconnectCause) {}
576 private DisconnectCause mDisconnectCause;
635 RemoteConnection(DisconnectCause disconnectCause) {
694 * {@link DisconnectCause}.
696 public DisconnectCause getDisconnectCause() {
1035 void setDisconnected(final DisconnectCause disconnectCause) {
1097 new DisconnectCause(DisconnectCause.ERROR, "Connection destroyed."));
1303 public static RemoteConnection failure(DisconnectCause disconnectCaus
[all...]
H A DConnection.java402 public void onDisconnected(Connection c, DisconnectCause disconnectCause) {}
1079 private DisconnectCause mDisconnectCause;
1244 * @return The {@link DisconnectCause} for this connection.
1246 public final DisconnectCause getDisconnectCause() {
1419 * {@link DisconnectCause}.
1421 public final void setDisconnected(DisconnectCause disconnectCause) {
1813 public FailureSignalingConnection(DisconnectCause disconnectCause) {
1827 * {@code Connection} will have a {@link android.telecom.DisconnectCause} and as specified,
1833 * @param disconnectCause The disconnect cause, ({@see android.telecomm.DisconnectCause}).
1836 public static Connection createFailedConnection(DisconnectCause disconnectCaus
[all...]
H A DRemoteConnectionService.java120 public void setDisconnected(String callId, DisconnectCause disconnectCause) {
407 new DisconnectCause(DisconnectCause.ERROR, e.toString()));
H A DCall.java250 private final DisconnectCause mDisconnectCause;
446 * by {@link android.telecom.DisconnectCause}.
448 public DisconnectCause getDisconnectCause() {
549 DisconnectCause disconnectCause,
H A DConnectionServiceAdapterServant.java104 mDelegate.setDisconnected((String) args.arg1, (DisconnectCause) args.arg2);
277 String connectionId, DisconnectCause disconnectCause) {
H A DConnectionService.java380 public void onDisconnected(Conference conference, DisconnectCause disconnectCause) {
472 public void onDisconnected(Connection c, DisconnectCause disconnectCause) {
623 new DisconnectCause(DisconnectCause.ERROR));
1052 * of {@link Connection#createFailedConnection(DisconnectCause)} to not handle the call.
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
H A DCdmaConnection.java29 import android.telephony.DisconnectCause;
66 int mCause = DisconnectCause.NOT_DISCONNECTED;
344 mCause = DisconnectCause.LOCAL;
350 * Maps RIL call disconnect code to {@link DisconnectCause}.
352 * @return the corresponding value from {@link DisconnectCause}
362 return DisconnectCause.BUSY;
364 return DisconnectCause.CONGESTION;
366 return DisconnectCause.LIMIT_EXCEEDED;
368 return DisconnectCause.CALL_BARRED;
370 return DisconnectCause
[all...]
H A DCdmaCallTracker.java25 import android.telephony.DisconnectCause;
236 mPendingMO.mCause = DisconnectCause.INVALID_NUMBER;
733 if (conn.mCause == DisconnectCause.LOCAL) {
734 cause = DisconnectCause.INCOMING_REJECTED;
736 cause = DisconnectCause.INCOMING_MISSED;
746 } else if (conn.mCause == DisconnectCause.LOCAL
747 || conn.mCause == DisconnectCause.INVALID_NUMBER) {
764 ((ImsPhoneConnection)hoConnection).onDisconnect(DisconnectCause.NOT_VALID);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
H A DGsmConnection.java28 import android.telephony.DisconnectCause;
65 int mCause = DisconnectCause.NOT_DISCONNECTED;
313 mCause = DisconnectCause.LOCAL;
319 * Maps RIL call disconnect code to {@link DisconnectCause}.
321 * @return the corresponding value from {@link DisconnectCause}
331 return DisconnectCause.BUSY;
339 return DisconnectCause.CONGESTION;
342 return DisconnectCause.LIMIT_EXCEEDED;
345 return DisconnectCause.CALL_BARRED;
348 return DisconnectCause
[all...]
H A DGsmCallTracker.java26 import android.telephony.DisconnectCause;
230 mPendingMO.mCause = DisconnectCause.INVALID_NUMBER;
635 if (conn.mCause == DisconnectCause.LOCAL) {
636 cause = DisconnectCause.INCOMING_REJECTED;
638 cause = DisconnectCause.INCOMING_MISSED;
647 } else if (conn.mCause == DisconnectCause.LOCAL
648 || conn.mCause == DisconnectCause.INVALID_NUMBER) {
659 ((ImsPhoneConnection)hoConnection).onDisconnect(DisconnectCause.NOT_VALID);
/frameworks/base/telephony/java/android/telephony/
H A DDisconnectCause.java23 public class DisconnectCause { class
196 // 5) Update android.telecom.DisconnectCauseUtil with any mappings to a telecom.DisconnectCause.
208 private DisconnectCause() { method in class:DisconnectCause
H A DPreciseCallState.java21 import android.telephony.DisconnectCause;
66 private int mDisconnectCause = DisconnectCause.NOT_VALID;
159 * @see DisconnectCause#NOT_VALID
160 * @see DisconnectCause#NOT_DISCONNECTED
161 * @see DisconnectCause#INCOMING_MISSED
162 * @see DisconnectCause#NORMAL
163 * @see DisconnectCause#LOCAL
164 * @see DisconnectCause#BUSY
165 * @see DisconnectCause#CONGESTION
166 * @see DisconnectCause#MM
[all...]
/frameworks/base/telecomm/java/com/android/internal/telecom/
H A DIConnectionServiceAdapter.aidl23 import android.telecom.DisconnectCause;
50 void setDisconnected(String callId, in DisconnectCause disconnectCause);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/
H A DSipPhone.java31 import android.telephony.DisconnectCause;
737 if (getDisconnectCause() != DisconnectCause.LOCAL) {
788 onCallEnded(DisconnectCause.LOCAL);
949 ? DisconnectCause.INCOMING_REJECTED
950 : DisconnectCause.LOCAL);
995 /** Call ended with cause defined in {@link DisconnectCause}. */
997 /** Call failed with cause defined in {@link DisconnectCause}. */
1004 ? DisconnectCause.NORMAL
1005 : DisconnectCause.INCOMING_MISSED);
1011 onCallEnded(DisconnectCause
[all...]
H A DSipConnectionBase.java26 import android.telephony.DisconnectCause;
55 private int mCause = DisconnectCause.NOT_DISCONNECTED;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
H A DImsPhoneCallTracker.java47 import android.telephony.DisconnectCause;
423 conn.setDisconnectCause(DisconnectCause.INVALID_NUMBER);
468 conn.setDisconnectCause(DisconnectCause.ERROR_UNSPECIFIED);
1027 int cause = DisconnectCause.ERROR_UNSPECIFIED;
1034 return DisconnectCause.NUMBER_UNREACHABLE;
1037 return DisconnectCause.BUSY;
1040 return DisconnectCause.LOCAL;
1043 return DisconnectCause.INCOMING_REJECTED;
1046 return DisconnectCause.NORMAL;
1054 return DisconnectCause
[all...]
H A DImsPhoneCall.java21 import android.telephony.DisconnectCause;
84 c.onDisconnect(DisconnectCause.LOST_SIGNAL);
H A DImsPhoneConnection.java32 import android.telephony.DisconnectCause;
81 private int mCause = DisconnectCause.NOT_DISCONNECTED;
352 mCause = DisconnectCause.LOCAL;
359 if (mCause != DisconnectCause.LOCAL) mCause = cause;
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/
H A 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
[all...]

Completed in 376 milliseconds

12