/frameworks/base/telecomm/java/android/telecom/ |
D | DisconnectCause.java | 33 public final class DisconnectCause implements Parcelable { class 111 public DisconnectCause(int code) { in DisconnectCause() method in DisconnectCause 121 public DisconnectCause(int code, String reason) { in DisconnectCause() method in DisconnectCause 133 public DisconnectCause(int code, CharSequence label, CharSequence description, String reason) { in DisconnectCause() method in DisconnectCause 146 public DisconnectCause(int code, CharSequence label, CharSequence description, String reason, in DisconnectCause() method in DisconnectCause 210 …static final @android.annotation.NonNull Creator<DisconnectCause> CREATOR = new Creator<Disconnect… 212 public DisconnectCause createFromParcel(Parcel source) { 218 return new DisconnectCause(code, label, description, reason, tone); 222 public DisconnectCause[] newArray(int size) { 223 return new DisconnectCause[size]; [all …]
|
D | ParcelableConnection.java | 52 private final DisconnectCause mDisconnectCause; 76 DisconnectCause disconnectCause, in ParcelableConnection() 108 DisconnectCause disconnectCause, in ParcelableConnection() 210 public final DisconnectCause getDisconnectCause() { in getDisconnectCause() 270 DisconnectCause disconnectCause = source.readParcelable(classLoader);
|
D | DisconnectCause.aidl | 22 parcelable DisconnectCause;
|
D | Conference.java | 54 public void onDisconnected(Conference conference, DisconnectCause disconnectCause) {} in onDisconnected() 88 private DisconnectCause mDisconnectCause; 382 public final void setDisconnected(DisconnectCause disconnectCause) { in setDisconnected() 393 public final DisconnectCause getDisconnectCause() { in getDisconnectCause() 540 setDisconnected(new DisconnectCause(DisconnectCause.LOCAL)); in destroy()
|
D | ParcelableCall.java | 42 private final DisconnectCause mDisconnectCause; 72 DisconnectCause disconnectCause, in ParcelableCall() 142 public DisconnectCause getDisconnectCause() { in getDisconnectCause() 329 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 | Connection.java | 876 public void onDisconnected(Connection c, DisconnectCause disconnectCause) {} in onDisconnected() 1791 private DisconnectCause mDisconnectCause; 2033 public final DisconnectCause getDisconnectCause() { in getDisconnectCause() 2247 public final void setDisconnected(DisconnectCause disconnectCause) { in setDisconnected() 3150 public FailureSignalingConnection(DisconnectCause disconnectCause) { in FailureSignalingConnection() 3173 public static Connection createFailedConnection(DisconnectCause disconnectCause) { in createFailedConnection() 3198 return new FailureSignalingConnection(new DisconnectCause(DisconnectCause.CANCELED)); in createCanceledConnection()
|
D | RemoteConnectionService.java | 133 public void setDisconnected(String callId, DisconnectCause disconnectCause, 559 new DisconnectCause(DisconnectCause.ERROR, e.toString())); in createRemoteConnection()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | GsmCdmaConnection.java | 29 import android.telephony.DisconnectCause; 444 mCause = DisconnectCause.LOCAL; in onHangupLocal() 463 return DisconnectCause.BUSY; in disconnectCauseFromCode() 471 return DisconnectCause.CONGESTION; in disconnectCauseFromCode() 474 return DisconnectCause.EMERGENCY_TEMP_FAILURE; in disconnectCauseFromCode() 476 return DisconnectCause.EMERGENCY_PERM_FAILURE; in disconnectCauseFromCode() 479 return DisconnectCause.LIMIT_EXCEEDED; in disconnectCauseFromCode() 483 return DisconnectCause.CALL_BARRED; in disconnectCauseFromCode() 486 return DisconnectCause.FDN_BLOCKED; in disconnectCauseFromCode() 489 return DisconnectCause.IMEI_NOT_ACCEPTED; in disconnectCauseFromCode() [all …]
|
D | GsmCdmaCallTracker.java | 35 import android.telephony.DisconnectCause; 202 gsmCdmaConnection.onDisconnect(DisconnectCause.ERROR_UNSPECIFIED); in reset() 209 mPendingMO.onDisconnect(DisconnectCause.ERROR_UNSPECIFIED); in reset() 339 mPendingMO.mCause = DisconnectCause.INVALID_NUMBER; in dialGsm() 460 mPendingMO.mCause = DisconnectCause.INVALID_NUMBER; in dialCdma() 1066 if (conn.mCause == DisconnectCause.LOCAL) { in handlePollCalls() 1067 cause = DisconnectCause.INCOMING_REJECTED; in handlePollCalls() 1069 cause = DisconnectCause.INCOMING_MISSED; in handlePollCalls() 1080 } else if (conn.mCause == DisconnectCause.LOCAL in handlePollCalls() 1081 || conn.mCause == DisconnectCause.INVALID_NUMBER) { in handlePollCalls() [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ims/ |
D | ImsCallProfileTest.java | 27 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 | 53 import android.telephony.DisconnectCause; 1044 conn.setDisconnectCause(DisconnectCause.INVALID_NUMBER); in dialInternal() 1110 conn.setDisconnectCause(DisconnectCause.ERROR_UNSPECIFIED); in dialInternal() 2003 int cause = DisconnectCause.ERROR_UNSPECIFIED; in getDisconnectCauseFromReasonInfo() 2008 return DisconnectCause.IMS_SIP_ALTERNATE_EMERGENCY_CALL; in getDisconnectCauseFromReasonInfo() 2011 return DisconnectCause.NUMBER_UNREACHABLE; in getDisconnectCauseFromReasonInfo() 2014 return DisconnectCause.BUSY; in getDisconnectCauseFromReasonInfo() 2017 return DisconnectCause.LOCAL; in getDisconnectCauseFromReasonInfo() 2020 return DisconnectCause.IMS_MERGED_SUCCESSFULLY; in getDisconnectCauseFromReasonInfo() 2026 return DisconnectCause.INCOMING_REJECTED; in getDisconnectCauseFromReasonInfo() [all …]
|
D | ImsPhoneCall.java | 22 import android.telephony.DisconnectCause; 84 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; 94 assertEquals(DisconnectCause.NOT_DISCONNECTED, DisconnectCause.NOT_DISCONNECTED); in testSanityGSM() 112 assertEquals(DisconnectCause.NOT_DISCONNECTED, DisconnectCause.NOT_DISCONNECTED); in testSanityCDMA() 200 connection.onDisconnect(DisconnectCause.LOCAL); in testHangUpConnection() 202 assertEquals(DisconnectCause.LOCAL, connection.getDisconnectCause()); in testHangUpConnection()
|
D | DefaultPhoneNotifierTest.java | 28 import android.telephony.DisconnectCause; 160 mDefaultPhoneNotifierUT.notifyDisconnectCause(mPhone, DisconnectCause.NOT_VALID, in testNotifyDisconnectCause() 162 verify(mTelephonyRegisteryMock).notifyDisconnectCause(1, 0, DisconnectCause.NOT_VALID, in testNotifyDisconnectCause() 165 mDefaultPhoneNotifierUT.notifyDisconnectCause(mPhone, DisconnectCause.LOCAL, in testNotifyDisconnectCause() 167 verify(mTelephonyRegisteryMock).notifyDisconnectCause(1, 0, DisconnectCause.LOCAL, in testNotifyDisconnectCause()
|
D | GsmCdmaCallTrackerTest.java | 35 import android.telephony.DisconnectCause; 176 assertEquals(DisconnectCause.NOT_DISCONNECTED, connection.getDisconnectCause()); in testMOCallDialPickUpHangup() 189 assertEquals(DisconnectCause.LOCAL, connection.getDisconnectCause()); in testMOCallDialPickUpHangup() 305 assertEquals(DisconnectCause.NOT_DISCONNECTED, connection.getDisconnectCause()); in testMTCallReject() 320 assertEquals(DisconnectCause.INCOMING_MISSED, connection.getDisconnectCause()); in testMTCallReject() 461 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 | 29 public final class DisconnectCause { class 343 private DisconnectCause() { in DisconnectCause() method in DisconnectCause
|
D | PreciseCallState.java | 24 import android.telephony.DisconnectCause; 89 private int mDisconnectCause = DisconnectCause.NOT_VALID;
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/ |
D | ImsPhoneCallTrackerTest.java | 49 import android.telephony.DisconnectCause; 728 assertEquals(DisconnectCause.LOW_BATTERY, mCTUT.getDisconnectCauseFromReasonInfo( in testLowBatteryDisconnectMidCall() 730 assertEquals(DisconnectCause.LOW_BATTERY, mCTUT.getDisconnectCauseFromReasonInfo( in testLowBatteryDisconnectMidCall() 737 assertEquals(DisconnectCause.IMS_SIP_ALTERNATE_EMERGENCY_CALL, in testImsAlternateEmergencyDisconnect() 746 assertEquals(DisconnectCause.DIAL_LOW_BATTERY, mCTUT.getDisconnectCauseFromReasonInfo( in testLowBatteryDisconnectDialing() 748 assertEquals(DisconnectCause.DIAL_LOW_BATTERY, mCTUT.getDisconnectCauseFromReasonInfo( in testLowBatteryDisconnectDialing() 833 assertEquals(DisconnectCause.CS_RESTRICTED, mCTUT.getDisconnectCauseFromReasonInfo( in testCallRestrictedDisconnect() 841 assertEquals(DisconnectCause.CS_RESTRICTED_EMERGENCY, in testCallRestrictedEmergencyDisconnect() 850 assertEquals(DisconnectCause.CS_RESTRICTED_NORMAL, in testCallRestrictedNormal() 858 assertEquals(DisconnectCause.INVALID_NUMBER, in testSipNotFoundRemap()
|
D | ImsPhoneConnectionTest.java | 23 import android.telephony.DisconnectCause; 182 mConnectionUT.onDisconnect(DisconnectCause.LOCAL); in testConnectionDisconnect() 183 assertEquals(DisconnectCause.LOCAL, mConnectionUT.getDisconnectCause()); in testConnectionDisconnect()
|
/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/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 …]
|