/frameworks/base/telecomm/java/android/telecom/ |
D | DisconnectCause.java | 33 public final class DisconnectCause implements Parcelable { class 105 public DisconnectCause(int code) { in DisconnectCause() method in DisconnectCause 115 public DisconnectCause(int code, String reason) { in DisconnectCause() method in DisconnectCause 127 public DisconnectCause(int code, CharSequence label, CharSequence description, String reason) { in DisconnectCause() method in DisconnectCause 140 public DisconnectCause(int code, CharSequence label, CharSequence description, String reason, in DisconnectCause() method in DisconnectCause 204 public static final Creator<DisconnectCause> CREATOR = new Creator<DisconnectCause>() { 206 public DisconnectCause createFromParcel(Parcel source) { 212 return new DisconnectCause(code, label, description, reason, tone); 216 public DisconnectCause[] newArray(int size) { 217 return new DisconnectCause[size]; [all …]
|
D | ParcelableConnection.java | 52 private final DisconnectCause mDisconnectCause; 75 DisconnectCause disconnectCause, in ParcelableConnection() 105 DisconnectCause disconnectCause, in ParcelableConnection() 206 public final DisconnectCause getDisconnectCause() { in getDisconnectCause() 260 DisconnectCause disconnectCause = source.readParcelable(classLoader);
|
D | Conference.java | 50 public void onDisconnected(Conference conference, DisconnectCause disconnectCause) {} in onDisconnected() 79 private DisconnectCause mDisconnectCause; 369 public final void setDisconnected(DisconnectCause disconnectCause) { in setDisconnected() 380 public final DisconnectCause getDisconnectCause() { in getDisconnectCause() 527 setDisconnected(new DisconnectCause(DisconnectCause.LOCAL)); in destroy()
|
D | ParcelableCall.java | 38 private final DisconnectCause mDisconnectCause; 67 DisconnectCause disconnectCause, in ParcelableCall() 133 public DisconnectCause getDisconnectCause() { in getDisconnectCause() 310 DisconnectCause disconnectCause = source.readParcelable(classLoader);
|
D | RemoteConference.java | 65 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()
|
D | RemoteConnection.java | 72 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()
|
D | DisconnectCause.aidl | 22 parcelable DisconnectCause;
|
D | Connection.java | 813 public void onDisconnected(Connection c, DisconnectCause disconnectCause) {} in onDisconnected() 1721 private DisconnectCause mDisconnectCause; 1940 public final DisconnectCause getDisconnectCause() { in getDisconnectCause() 2154 public final void setDisconnected(DisconnectCause disconnectCause) { in setDisconnected() 2990 public FailureSignalingConnection(DisconnectCause disconnectCause) { in FailureSignalingConnection() 3013 public static Connection createFailedConnection(DisconnectCause disconnectCause) { in createFailedConnection() 3038 return new FailureSignalingConnection(new DisconnectCause(DisconnectCause.CANCELED)); in createCanceledConnection()
|
D | RemoteConnectionService.java | 133 public void setDisconnected(String callId, DisconnectCause disconnectCause, 548 new DisconnectCause(DisconnectCause.ERROR, e.toString())); in createRemoteConnection()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | GsmCdmaConnection.java | 28 import android.telephony.DisconnectCause; 424 mCause = DisconnectCause.LOCAL; in onHangupLocal() 442 return DisconnectCause.BUSY; in disconnectCauseFromCode() 450 return DisconnectCause.CONGESTION; in disconnectCauseFromCode() 453 return DisconnectCause.EMERGENCY_TEMP_FAILURE; in disconnectCauseFromCode() 455 return DisconnectCause.EMERGENCY_PERM_FAILURE; in disconnectCauseFromCode() 458 return DisconnectCause.LIMIT_EXCEEDED; in disconnectCauseFromCode() 462 return DisconnectCause.CALL_BARRED; in disconnectCauseFromCode() 465 return DisconnectCause.FDN_BLOCKED; in disconnectCauseFromCode() 468 return DisconnectCause.IMEI_NOT_ACCEPTED; in disconnectCauseFromCode() [all …]
|
D | GsmCdmaCallTracker.java | 33 import android.telephony.DisconnectCause; 194 gsmCdmaConnection.onDisconnect(DisconnectCause.ERROR_UNSPECIFIED); in reset() 322 mPendingMO.mCause = DisconnectCause.INVALID_NUMBER; in dial() 432 mPendingMO.mCause = DisconnectCause.INVALID_NUMBER; in dial() 1013 if (conn.mCause == DisconnectCause.LOCAL) { in handlePollCalls() 1014 cause = DisconnectCause.INCOMING_REJECTED; in handlePollCalls() 1016 cause = DisconnectCause.INCOMING_MISSED; in handlePollCalls() 1027 } else if (conn.mCause == DisconnectCause.LOCAL in handlePollCalls() 1028 || conn.mCause == DisconnectCause.INVALID_NUMBER) { in handlePollCalls() 1052 hoConnection.onDisconnect(DisconnectCause.INCOMING_MISSED); in handlePollCalls() [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ims/ |
D | ImsCallProfileTest.java | 28 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/src/java/com/android/internal/telephony/imsphone/ |
D | ImsPhoneCallTracker.java | 50 import android.telephony.DisconnectCause; 1154 conn.setDisconnectCause(DisconnectCause.INVALID_NUMBER); in dialInternal() 1214 conn.setDisconnectCause(DisconnectCause.ERROR_UNSPECIFIED); in dialInternal() 1958 int cause = DisconnectCause.ERROR_UNSPECIFIED; in getDisconnectCauseFromReasonInfo() 1963 return DisconnectCause.IMS_SIP_ALTERNATE_EMERGENCY_CALL; in getDisconnectCauseFromReasonInfo() 1966 return DisconnectCause.NUMBER_UNREACHABLE; in getDisconnectCauseFromReasonInfo() 1969 return DisconnectCause.BUSY; in getDisconnectCauseFromReasonInfo() 1972 return DisconnectCause.LOCAL; in getDisconnectCauseFromReasonInfo() 1975 return DisconnectCause.IMS_MERGED_SUCCESSFULLY; in getDisconnectCauseFromReasonInfo() 1981 return DisconnectCause.INCOMING_REJECTED; in getDisconnectCauseFromReasonInfo() [all …]
|
D | ImsPhoneCall.java | 21 import android.telephony.DisconnectCause; 83 c.onDisconnect(DisconnectCause.LOST_SIGNAL); in dispose()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | GsmCdmaConnectionTest.java | 24 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()
|
D | DefaultPhoneNotifierTest.java | 35 import android.telephony.DisconnectCause; 160 mDefaultPhoneNotifierUT.notifyDisconnectCause(DisconnectCause.NOT_VALID, in testNotifyDisconnectCause() 162 verify(mTelephonyRegisteryMock).notifyDisconnectCause(DisconnectCause.NOT_VALID, in testNotifyDisconnectCause() 165 mDefaultPhoneNotifierUT.notifyDisconnectCause(DisconnectCause.LOCAL, in testNotifyDisconnectCause() 167 verify(mTelephonyRegisteryMock).notifyDisconnectCause(DisconnectCause.LOCAL, in testNotifyDisconnectCause()
|
D | GsmCdmaCallTrackerTest.java | 34 import android.telephony.DisconnectCause; 170 assertEquals(DisconnectCause.NOT_DISCONNECTED, connection.getDisconnectCause()); in testMOCallDialPickUpHangup() 183 assertEquals(DisconnectCause.LOCAL, connection.getDisconnectCause()); in testMOCallDialPickUpHangup() 282 assertEquals(DisconnectCause.NOT_DISCONNECTED, connection.getDisconnectCause()); in testMTCallReject() 294 assertEquals(DisconnectCause.INCOMING_MISSED, connection.getDisconnectCause()); in testMTCallReject() 435 verify(mConnection).onDisconnect(DisconnectCause.ERROR_UNSPECIFIED); in testUpdatePhoneTypeWithActiveCall()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/ |
D | SipPhone.java | 30 import android.telephony.DisconnectCause; 756 if (getDisconnectCause() != DisconnectCause.LOCAL) { 807 onCallEnded(DisconnectCause.LOCAL); 971 ? DisconnectCause.INCOMING_REJECTED in hangup() 972 : DisconnectCause.LOCAL); in hangup() 1032 ? DisconnectCause.NORMAL in onCallEnded() 1033 : DisconnectCause.INCOMING_MISSED); in onCallEnded() 1039 onCallEnded(DisconnectCause.BUSY); in onCallBusy() 1051 onError(DisconnectCause.SERVER_UNREACHABLE); in onError() 1054 onError(DisconnectCause.NUMBER_UNREACHABLE); in onError() [all …]
|
D | SipConnectionBase.java | 26 import android.telephony.DisconnectCause;
|
/frameworks/base/telephony/java/android/telephony/ |
D | DisconnectCause.java | 23 public class DisconnectCause { class 327 private DisconnectCause() { in DisconnectCause() method in DisconnectCause
|
D | PreciseCallState.java | 21 import android.telephony.DisconnectCause; 66 private int mDisconnectCause = DisconnectCause.NOT_VALID;
|
/frameworks/base/telecomm/java/com/android/internal/telecom/ |
D | IConnectionServiceAdapter.aidl | 23 import android.telecom.DisconnectCause; 55 void setDisconnected(String callId, in DisconnectCause disconnectCause, in setDisconnected()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/ |
D | ImsPhoneConnectionTest.java | 23 import android.telephony.DisconnectCause; 181 mConnectionUT.onDisconnect(DisconnectCause.LOCAL); in testConnectionDisconnect() 182 assertEquals(DisconnectCause.LOCAL, mConnectionUT.getDisconnectCause()); in testConnectionDisconnect()
|
D | ImsPhoneCallTrackerTest.java | 49 import android.telephony.DisconnectCause; 715 assertEquals(DisconnectCause.LOW_BATTERY, mCTUT.getDisconnectCauseFromReasonInfo( in testLowBatteryDisconnectMidCall() 717 assertEquals(DisconnectCause.LOW_BATTERY, mCTUT.getDisconnectCauseFromReasonInfo( in testLowBatteryDisconnectMidCall() 724 assertEquals(DisconnectCause.IMS_SIP_ALTERNATE_EMERGENCY_CALL, in testImsAlternateEmergencyDisconnect() 733 assertEquals(DisconnectCause.DIAL_LOW_BATTERY, mCTUT.getDisconnectCauseFromReasonInfo( in testLowBatteryDisconnectDialing() 735 assertEquals(DisconnectCause.DIAL_LOW_BATTERY, mCTUT.getDisconnectCauseFromReasonInfo( in testLowBatteryDisconnectDialing()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/ |
D | GSMPhoneTest.java.broken | 26 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 …]
|