Home
last modified time | relevance | path

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

12

/frameworks/base/telephony/java/android/telephony/
DAnnotation.java495 DisconnectCause.NOT_VALID,
496 DisconnectCause.NOT_DISCONNECTED,
497 DisconnectCause.INCOMING_MISSED,
498 DisconnectCause.NORMAL,
499 DisconnectCause.LOCAL,
500 DisconnectCause.BUSY,
501 DisconnectCause.CONGESTION,
502 DisconnectCause.MMI,
503 DisconnectCause.INVALID_NUMBER,
504 DisconnectCause.NUMBER_UNREACHABLE,
[all …]
DDisconnectCause.java28 public final class DisconnectCause { class
365 private DisconnectCause() { in DisconnectCause() method in DisconnectCause
/frameworks/base/telecomm/java/android/telecom/
DDisconnectCause.java33 public final class DisconnectCause implements Parcelable { class
119 public DisconnectCause(int code) { in DisconnectCause() method in DisconnectCause
129 public DisconnectCause(int code, String reason) { in DisconnectCause() method in DisconnectCause
141 public DisconnectCause(int code, CharSequence label, CharSequence description, String reason) { in DisconnectCause() method in DisconnectCause
154 public DisconnectCause(int code, CharSequence label, CharSequence description, String reason, in DisconnectCause() method in DisconnectCause
218 …static final @android.annotation.NonNull Creator<DisconnectCause> CREATOR = new Creator<Disconnect…
220 public DisconnectCause createFromParcel(Parcel source) {
226 return new DisconnectCause(code, label, description, reason, tone);
230 public DisconnectCause[] newArray(int size) {
231 return new DisconnectCause[size];
[all …]
DParcelableConference.java52 private DisconnectCause mDisconnectCause;
63 public Builder setDisconnectCause(DisconnectCause cause) { in setDisconnectCause()
155 private final DisconnectCause mDisconnectCause;
175 DisconnectCause disconnectCause, in ParcelableConference()
274 public final DisconnectCause getDisconnectCause() { in getDisconnectCause()
312 DisconnectCause disconnectCause = source.readParcelable(classLoader);
DConference.java57 public void onDisconnected(Conference conference, DisconnectCause disconnectCause) {} in onDisconnected()
93 private DisconnectCause mDisconnectCause;
399 public final void setDisconnected(DisconnectCause disconnectCause) { in setDisconnected()
410 public final DisconnectCause getDisconnectCause() { in getDisconnectCause()
572 setDisconnected(new DisconnectCause(DisconnectCause.LOCAL)); in destroy()
748 public FailureSignalingConference(DisconnectCause disconnectCause, in FailureSignalingConference()
773 @NonNull DisconnectCause disconnectCause, @NonNull PhoneAccountHandle phoneAccount) { in createFailedConference()
DParcelableConnection.java52 private final DisconnectCause mDisconnectCause;
77 DisconnectCause disconnectCause, in ParcelableConnection()
110 DisconnectCause disconnectCause, in ParcelableConnection()
214 public final DisconnectCause getDisconnectCause() { in getDisconnectCause()
278 DisconnectCause disconnectCause = source.readParcelable(classLoader);
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()
DRemoteConnection.java72 DisconnectCause disconnectCause) {} in onDisconnected()
643 private DisconnectCause mDisconnectCause;
718 RemoteConnection(DisconnectCause disconnectCause) { in RemoteConnection()
779 public DisconnectCause getDisconnectCause() { in getDisconnectCause()
1199 void setDisconnected(final DisconnectCause disconnectCause) { in setDisconnected()
1278 new DisconnectCause(DisconnectCause.ERROR, "Connection destroyed.")); in setDestroyed()
1566 public static RemoteConnection failure(DisconnectCause disconnectCause) { in failure()
DDisconnectCause.aidl22 parcelable DisconnectCause;
DParcelableCall.java44 private DisconnectCause mDisconnectCause;
83 public ParcelableCallBuilder setDisconnectCause(DisconnectCause disconnectCause) { in setDisconnectCause()
301 private final DisconnectCause mDisconnectCause;
334 DisconnectCause disconnectCause, in ParcelableCall()
411 public DisconnectCause getDisconnectCause() { in getDisconnectCause()
626 DisconnectCause disconnectCause = source.readParcelable(classLoader);
DConnection.java1083 public void onDisconnected(Connection c, DisconnectCause disconnectCause) {} in onDisconnected()
1992 private DisconnectCause mDisconnectCause;
2241 public final DisconnectCause getDisconnectCause() { in getDisconnectCause()
2460 public final void setDisconnected(DisconnectCause disconnectCause) { in setDisconnected()
3358 public FailureSignalingConnection(DisconnectCause disconnectCause) { in FailureSignalingConnection()
3381 public static Connection createFailedConnection(DisconnectCause disconnectCause) { in createFailedConnection()
3406 return new FailureSignalingConnection(new DisconnectCause(DisconnectCause.CANCELED)); in createCanceledConnection()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DGsmCdmaConnection.java29 import android.telephony.DisconnectCause;
454 mCause = DisconnectCause.LOCAL; in onHangupLocal()
473 return DisconnectCause.BUSY; in disconnectCauseFromCode()
481 return DisconnectCause.CONGESTION; in disconnectCauseFromCode()
484 return DisconnectCause.EMERGENCY_TEMP_FAILURE; in disconnectCauseFromCode()
486 return DisconnectCause.EMERGENCY_PERM_FAILURE; in disconnectCauseFromCode()
489 return DisconnectCause.LIMIT_EXCEEDED; in disconnectCauseFromCode()
493 return DisconnectCause.CALL_BARRED; in disconnectCauseFromCode()
496 return DisconnectCause.FDN_BLOCKED; in disconnectCauseFromCode()
499 return DisconnectCause.IMEI_NOT_ACCEPTED; in disconnectCauseFromCode()
[all …]
DGsmCdmaCallTracker.java35 import android.telephony.DisconnectCause;
202 gsmCdmaConnection.onDisconnect(DisconnectCause.ERROR_UNSPECIFIED); in reset()
209 mPendingMO.onDisconnect(DisconnectCause.ERROR_UNSPECIFIED); in reset()
337 mPendingMO.mCause = DisconnectCause.INVALID_NUMBER; in dialGsm()
452 mPendingMO.mCause = DisconnectCause.INVALID_NUMBER; in dialCdma()
1063 if (conn.mCause == DisconnectCause.LOCAL) { in handlePollCalls()
1064 cause = DisconnectCause.INCOMING_REJECTED; in handlePollCalls()
1066 cause = DisconnectCause.INCOMING_MISSED; in handlePollCalls()
1077 } else if (conn.mCause == DisconnectCause.LOCAL in handlePollCalls()
1078 || conn.mCause == DisconnectCause.INVALID_NUMBER) { in handlePollCalls()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ims/
DImsCallProfileTest.java27 import android.telecom.DisconnectCause;
87 srcParcel.mCallExtras.putParcelable("NOTJUNK", new DisconnectCause(DisconnectCause.BUSY)); in testExtrasCleanup()
111 DisconnectCause parceledCause = unparceledProfile.mCallExtras.getParcelable("NOTJUNK"); in testExtrasCleanup()
112 assertEquals(DisconnectCause.BUSY, parceledCause.getCode()); in testExtrasCleanup()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DGsmCdmaConnectionTest.java26 import android.telephony.DisconnectCause;
101 assertEquals(DisconnectCause.NOT_DISCONNECTED, DisconnectCause.NOT_DISCONNECTED); in testSanityGSM()
119 assertEquals(DisconnectCause.NOT_DISCONNECTED, DisconnectCause.NOT_DISCONNECTED); in testSanityCDMA()
211 connection.onDisconnect(DisconnectCause.LOCAL); in testHangUpConnection()
213 assertEquals(DisconnectCause.LOCAL, connection.getDisconnectCause()); in testHangUpConnection()
DDefaultPhoneNotifierTest.java28 import android.telephony.DisconnectCause;
156 mDefaultPhoneNotifierUT.notifyDisconnectCause(mPhone, DisconnectCause.NOT_VALID, in testNotifyDisconnectCause()
158 verify(mTelephonyRegistryManager).notifyDisconnectCause(0, 1, DisconnectCause.NOT_VALID, in testNotifyDisconnectCause()
161 mDefaultPhoneNotifierUT.notifyDisconnectCause(mPhone, DisconnectCause.LOCAL, in testNotifyDisconnectCause()
163 verify(mTelephonyRegistryManager).notifyDisconnectCause(0, 1, DisconnectCause.LOCAL, in testNotifyDisconnectCause()
DGsmCdmaCallTrackerTest.java32 import android.telephony.DisconnectCause;
157 assertEquals(DisconnectCause.NOT_DISCONNECTED, connection.getDisconnectCause()); in testMOCallDialPickUpHangup()
169 assertEquals(DisconnectCause.LOCAL, connection.getDisconnectCause()); in testMOCallDialPickUpHangup()
281 assertEquals(DisconnectCause.NOT_DISCONNECTED, connection.getDisconnectCause()); in testMTCallReject()
294 assertEquals(DisconnectCause.INCOMING_MISSED, connection.getDisconnectCause()); in testMTCallReject()
422 verify(mConnection).onDisconnect(DisconnectCause.ERROR_UNSPECIFIED); in testUpdatePhoneTypeWithActiveCall()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/
DSipPhone.java31 import android.telephony.DisconnectCause;
770 if (getDisconnectCause() != DisconnectCause.LOCAL) {
821 onCallEnded(DisconnectCause.LOCAL);
985 ? DisconnectCause.INCOMING_REJECTED in hangup()
986 : DisconnectCause.LOCAL); in hangup()
1059 ? DisconnectCause.NORMAL in onCallEnded()
1060 : DisconnectCause.INCOMING_MISSED); in onCallEnded()
1066 onCallEnded(DisconnectCause.BUSY); in onCallBusy()
1078 onError(DisconnectCause.SERVER_UNREACHABLE); in onError()
1081 onError(DisconnectCause.NUMBER_UNREACHABLE); in onError()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhoneCallTracker.java55 import android.telephony.DisconnectCause;
1437 conn.setDisconnectCause(DisconnectCause.INVALID_NUMBER); in dialInternal()
1515 conn.setDisconnectCause(DisconnectCause.ERROR_UNSPECIFIED); in dialInternal()
2490 int cause = DisconnectCause.ERROR_UNSPECIFIED; in getDisconnectCauseFromReasonInfo()
2495 return DisconnectCause.IMS_SIP_ALTERNATE_EMERGENCY_CALL; in getDisconnectCauseFromReasonInfo()
2498 return DisconnectCause.NUMBER_UNREACHABLE; in getDisconnectCauseFromReasonInfo()
2501 return DisconnectCause.BUSY; in getDisconnectCauseFromReasonInfo()
2504 return DisconnectCause.LOCAL; in getDisconnectCauseFromReasonInfo()
2507 return DisconnectCause.IMS_MERGED_SUCCESSFULLY; in getDisconnectCauseFromReasonInfo()
2513 return DisconnectCause.INCOMING_REJECTED; in getDisconnectCauseFromReasonInfo()
[all …]
DImsPhoneCall.java20 import android.telephony.DisconnectCause;
85 conn.onDisconnect(DisconnectCause.LOST_SIGNAL); in dispose()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
DImsPhoneCallTrackerTest.java64 import android.telephony.DisconnectCause;
823 assertEquals(DisconnectCause.LOW_BATTERY, mCTUT.getDisconnectCauseFromReasonInfo( in testLowBatteryDisconnectMidCall()
825 assertEquals(DisconnectCause.LOW_BATTERY, mCTUT.getDisconnectCauseFromReasonInfo( in testLowBatteryDisconnectMidCall()
832 assertEquals(DisconnectCause.IMS_SIP_ALTERNATE_EMERGENCY_CALL, in testImsAlternateEmergencyDisconnect()
841 assertEquals(DisconnectCause.DIAL_LOW_BATTERY, mCTUT.getDisconnectCauseFromReasonInfo( in testLowBatteryDisconnectDialing()
843 assertEquals(DisconnectCause.DIAL_LOW_BATTERY, mCTUT.getDisconnectCauseFromReasonInfo( in testLowBatteryDisconnectDialing()
928 assertEquals(DisconnectCause.CS_RESTRICTED, mCTUT.getDisconnectCauseFromReasonInfo( in testCallRestrictedDisconnect()
936 assertEquals(DisconnectCause.CS_RESTRICTED_EMERGENCY, in testCallRestrictedEmergencyDisconnect()
945 assertEquals(DisconnectCause.CS_RESTRICTED_NORMAL, in testCallRestrictedNormal()
953 assertEquals(DisconnectCause.INVALID_NUMBER, in testSipNotFoundRemap()
[all …]
DImsPhoneConnectionTest.java38 import android.telephony.DisconnectCause;
204 mConnectionUT.onDisconnect(DisconnectCause.LOCAL); in testConnectionDisconnect()
205 assertEquals(DisconnectCause.LOCAL, mConnectionUT.getDisconnectCause()); in testConnectionDisconnect()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/
DVoiceCallSessionStatsTest.java41 import android.telephony.DisconnectCause;
1184 DisconnectCause.NORMAL); in singleCsCall_moRejected()
1204 doReturn(DisconnectCause.NOT_DISCONNECTED).when(mGsmConnection0).getDisconnectCause(); in singleCsCall_moRejected()
1216 doReturn(DisconnectCause.NORMAL).when(mGsmConnection0).getDisconnectCause(); in singleCsCall_moRejected()
1244 DisconnectCause.LOST_SIGNAL); in singleCsCall_moFailed()
1261 doReturn(DisconnectCause.NOT_DISCONNECTED).when(mGsmConnection0).getDisconnectCause(); in singleCsCall_moFailed()
1269 doReturn(DisconnectCause.LOST_SIGNAL).when(mGsmConnection0).getDisconnectCause(); in singleCsCall_moFailed()
1294 DisconnectCause.NORMAL); in singleCsCall_moAccepted()
1314 doReturn(DisconnectCause.NOT_DISCONNECTED).when(mGsmConnection0).getDisconnectCause(); in singleCsCall_moAccepted()
1330 doReturn(DisconnectCause.NORMAL).when(mGsmConnection0).getDisconnectCause(); in singleCsCall_moAccepted()
[all …]
/frameworks/base/telecomm/java/com/android/internal/telecom/
DIConnectionServiceAdapter.aidl23 import android.telecom.DisconnectCause;
61 void setDisconnected(String callId, in DisconnectCause disconnectCause, in setDisconnected()
/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