/frameworks/base/telecomm/java/android/telecom/ |
D | DisconnectCause.java | 47 public final class DisconnectCause implements Parcelable { class 159 public DisconnectCause(@DisconnectCauseCode int code) { in DisconnectCause() method in DisconnectCause 169 public DisconnectCause(@DisconnectCauseCode int code, String reason) { in DisconnectCause() method in DisconnectCause 181 public DisconnectCause(@DisconnectCauseCode int code, CharSequence label, in DisconnectCause() method in DisconnectCause 195 public DisconnectCause(@DisconnectCauseCode int code, CharSequence label, in DisconnectCause() method in DisconnectCause 198 android.telephony.DisconnectCause.ERROR_UNSPECIFIED, in DisconnectCause() 216 public DisconnectCause(@DisconnectCauseCode int code, @Nullable CharSequence label, in DisconnectCause() method in DisconnectCause 350 public @NonNull DisconnectCause.Builder setLabel(@Nullable CharSequence label) { in setLabel() 361 public @NonNull DisconnectCause.Builder setDescription( in setDescription() 373 public @NonNull DisconnectCause.Builder setReason(@NonNull String reason) { in setReason() [all …]
|
D | ParcelableConference.java | 52 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() 320 …DisconnectCause disconnectCause = source.readParcelable(classLoader, android.telecom.DisconnectCau…
|
D | CallControl.java | 192 public void disconnect(@NonNull DisconnectCause disconnectCause, in disconnect() 419 private void validateDisconnectCause(DisconnectCause disconnectCause) { in validateDisconnectCause() 421 if (code != DisconnectCause.LOCAL && code != DisconnectCause.REMOTE in validateDisconnectCause() 422 && code != DisconnectCause.MISSED && code != DisconnectCause.REJECTED) { in validateDisconnectCause()
|
D | ParcelableConnection.java | 52 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, android.telecom.DisconnectCau…
|
D | RemoteConference.java | 65 public void onDisconnected(RemoteConference conference, DisconnectCause disconnectCause) {} in onDisconnected() 146 private DisconnectCause mDisconnectCause; 158 RemoteConference(DisconnectCause disconnectCause) { in RemoteConference() 303 void setDisconnected(final DisconnectCause disconnectCause) { in setDisconnected() 491 public DisconnectCause getDisconnectCause() { in getDisconnectCause() 603 public static RemoteConference failure(DisconnectCause disconnectCause) { in failure()
|
D | Conference.java | 56 public void onDisconnected(Conference conference, DisconnectCause disconnectCause) {} in onDisconnected() 93 private DisconnectCause mDisconnectCause; 437 public final void setDisconnected(DisconnectCause disconnectCause) { in setDisconnected() 448 public final DisconnectCause getDisconnectCause() { in getDisconnectCause() 610 setDisconnected(new DisconnectCause(DisconnectCause.LOCAL)); in destroy() 819 public FailureSignalingConference(DisconnectCause disconnectCause, in FailureSignalingConference() 844 @NonNull DisconnectCause disconnectCause, @NonNull PhoneAccountHandle phoneAccount) { in createFailedConference()
|
D | DisconnectCause.aidl | 22 parcelable DisconnectCause;
|
D | ParcelableCall.java | 44 private DisconnectCause mDisconnectCause; 84 public ParcelableCallBuilder setDisconnectCause(DisconnectCause disconnectCause) { in setDisconnectCause() 309 private final DisconnectCause mDisconnectCause; 343 DisconnectCause disconnectCause, in ParcelableCall() 422 public DisconnectCause getDisconnectCause() { in getDisconnectCause() 645 …DisconnectCause disconnectCause = source.readParcelable(classLoader, android.telecom.DisconnectCau…
|
D | CallControlCallback.java | 96 void onDisconnect(@NonNull DisconnectCause disconnectCause, in onDisconnect()
|
/frameworks/base/telephony/java/android/telephony/ |
D | Annotation.java | 505 DisconnectCause.NOT_VALID, 506 DisconnectCause.NOT_DISCONNECTED, 507 DisconnectCause.INCOMING_MISSED, 508 DisconnectCause.NORMAL, 509 DisconnectCause.LOCAL, 510 DisconnectCause.BUSY, 511 DisconnectCause.CONGESTION, 512 DisconnectCause.MMI, 513 DisconnectCause.INVALID_NUMBER, 514 DisconnectCause.NUMBER_UNREACHABLE, [all …]
|
D | DisconnectCause.java | 31 public final class DisconnectCause { class 379 private DisconnectCause() { in DisconnectCause() method in DisconnectCause
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | GsmCdmaConnection.java | 30 import android.telephony.DisconnectCause; 470 mCause = DisconnectCause.LOCAL; in onHangupLocal() 489 return DisconnectCause.BUSY; in disconnectCauseFromCode() 497 return DisconnectCause.CONGESTION; in disconnectCauseFromCode() 500 return DisconnectCause.EMERGENCY_TEMP_FAILURE; in disconnectCauseFromCode() 502 return DisconnectCause.EMERGENCY_PERM_FAILURE; in disconnectCauseFromCode() 505 return DisconnectCause.LIMIT_EXCEEDED; in disconnectCauseFromCode() 509 return DisconnectCause.CALL_BARRED; in disconnectCauseFromCode() 512 return DisconnectCause.FDN_BLOCKED; in disconnectCauseFromCode() 515 return DisconnectCause.IMEI_NOT_ACCEPTED; in disconnectCauseFromCode() [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/emergency/ |
D | EmergencyStateTrackerTest.java | 63 import android.telephony.DisconnectCause; 329 assertEquals((Integer) result, (Integer) DisconnectCause.POWER_OFF); in startEmergencyCall_radioOnFails_returnsDisconnectCausePowerOff() 406 assertEquals((Integer) result, (Integer) DisconnectCause.SATELLITE_ENABLED); in startEmergencyCall_satelliteOffFails_returnsDisconnectCauseSatelliteEnabled() 555 assertEquals((Integer) result, (Integer) DisconnectCause.NOT_DISCONNECTED); in setEmergencyModeDone_notifiesListenersAndCompletesFuture() 978 assertEquals(future.getNow(DisconnectCause.ERROR_UNSPECIFIED), in testStartEmergencyCallDuringActiveCall() 979 Integer.valueOf(DisconnectCause.NOT_DISCONNECTED)); in testStartEmergencyCallDuringActiveCall() 1042 assertEquals(future.getNow(DisconnectCause.NOT_DISCONNECTED), in testStartEmergencyCallUsingDifferenPhone() 1043 Integer.valueOf(DisconnectCause.ERROR_UNSPECIFIED)); in testStartEmergencyCallUsingDifferenPhone() 1064 assertEquals(future.getNow(DisconnectCause.ERROR_UNSPECIFIED), in testEndCallInEcm() 1065 Integer.valueOf(DisconnectCause.NOT_DISCONNECTED)); in testEndCallInEcm() [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | GsmCdmaConnectionTest.java | 26 import android.telephony.DisconnectCause; 109 assertEquals(DisconnectCause.NOT_DISCONNECTED, DisconnectCause.NOT_DISCONNECTED); in testSanityGSM() 127 assertEquals(DisconnectCause.NOT_DISCONNECTED, DisconnectCause.NOT_DISCONNECTED); in testSanityCDMA() 219 connection.onDisconnect(DisconnectCause.LOCAL); in testHangUpConnection() 221 assertEquals(DisconnectCause.LOCAL, connection.getDisconnectCause()); in testHangUpConnection() 309 assertEquals(DisconnectCause.ICC_ERROR, in testNoSimNoServiceMapping() 311 assertEquals(DisconnectCause.OUT_OF_SERVICE, in testNoSimNoServiceMapping() 313 assertEquals(DisconnectCause.OUT_OF_SERVICE, in testNoSimNoServiceMapping()
|
D | SmsDispatchersControllerTest.java | 49 import android.telephony.DisconnectCause; 462 setUpEmergencyStateTracker(DisconnectCause.NOT_DISCONNECTED); in testSendTextForEmergencyWhenDomainPs() 494 setUpEmergencyStateTracker(DisconnectCause.OUT_OF_SERVICE); in testSendTextForEmergencyWhenEmergencyStateTrackerReturnsFailure() 509 setUpEmergencyStateTracker(DisconnectCause.NOT_DISCONNECTED); in testSendMultipartTextForEmergencyWhenDomainPs() 544 setUpEmergencyStateTracker(DisconnectCause.NOT_DISCONNECTED); in testSendRetrySmsForEmergencyWhenDomainPs() 580 setUpEmergencyStateTracker(DisconnectCause.NOT_DISCONNECTED); in testNotifySmsSentToEmergencyStateTrackerOnDomainCs() 594 setUpEmergencyStateTracker(DisconnectCause.NOT_DISCONNECTED); in testNotifySmsSentToEmergencyStateTrackerOnDomainPs() 608 setUpEmergencyStateTracker(DisconnectCause.NOT_DISCONNECTED); in testNotifySmsSentToEmergencyStateTrackerWithNonEmergencyNumber() 632 setUpEmergencyStateTracker(DisconnectCause.NOT_DISCONNECTED); in testNotifySmsSentFailedToEmergencyStateTrackerOnDomainCs() 646 setUpEmergencyStateTracker(DisconnectCause.NOT_DISCONNECTED); in testNotifySmsSentFailedToEmergencyStateTrackerOnDomainPs() [all …]
|
D | GsmCdmaCallTrackerTest.java | 32 import android.telephony.DisconnectCause; 177 assertEquals(DisconnectCause.NOT_DISCONNECTED, connection.getDisconnectCause()); in testMOCallDialPickUpHangup() 189 assertEquals(DisconnectCause.LOCAL, connection.getDisconnectCause()); in testMOCallDialPickUpHangup() 301 assertEquals(DisconnectCause.NOT_DISCONNECTED, connection.getDisconnectCause()); in testMTCallReject() 314 assertEquals(DisconnectCause.INCOMING_MISSED, connection.getDisconnectCause()); in testMTCallReject() 442 verify(mConnection).onDisconnect(DisconnectCause.ERROR_UNSPECIFIED); in testUpdatePhoneTypeWithActiveCall()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ims/ |
D | ImsCallProfileTest.java | 28 import android.telecom.DisconnectCause; 153 srcParcel.mCallExtras.putParcelable("NOTJUNK", new DisconnectCause(DisconnectCause.BUSY)); in testExtrasCleanup() 177 DisconnectCause parceledCause = unparceledProfile.mCallExtras.getParcelable("NOTJUNK"); in testExtrasCleanup() 178 assertEquals(DisconnectCause.BUSY, parceledCause.getCode()); in testExtrasCleanup()
|
/frameworks/base/services/companion/java/com/android/server/companion/datatransfer/contextsync/ |
D | CallMetadataSyncConnectionService.java | 26 import android.telecom.DisconnectCause; 95 connection.setDisconnected(new DisconnectCause(DisconnectCause.REMOTE)); 106 connection.setDisconnected(new DisconnectCause(DisconnectCause.REMOTE)); 322 setDisconnected(new DisconnectCause(DisconnectCause.REMOTE)); in initialize() 378 setDisconnected(new DisconnectCause(DisconnectCause.REMOTE)); in update()
|
/frameworks/base/telecomm/java/com/android/internal/telecom/ |
D | ICallDiagnosticService.aidl | 21 import android.telecom.DisconnectCause; 40 void notifyCallDisconnected(in String callId, in DisconnectCause disconnectCause); in notifyCallDisconnected()
|
D | ICallControl.aidl | 22 import android.telecom.DisconnectCause; 32 void disconnect(String callId, in DisconnectCause disconnectCause, in ResultReceiver callback); in disconnect()
|
D | ICallEventCallback.aidl | 26 import android.telecom.DisconnectCause; 40 void onDisconnect(String callId, in DisconnectCause cause, in ResultReceiver callback); in onDisconnect()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ |
D | ImsPhoneCallTracker.java | 82 import android.telephony.DisconnectCause; 336 if (cause == DisconnectCause.INCOMING_AUTO_REJECTED) { in processIncomingCall() 1486 hangupAllOrphanedConnections(DisconnectCause.LOST_SIGNAL); in stopListeningForCalls() 2081 conn.setDisconnectCause(DisconnectCause.INVALID_NUMBER); in dialInternal() 2189 conn.setDisconnectCause(DisconnectCause.ERROR_UNSPECIFIED); in dialInternal() 3260 int cause = DisconnectCause.ERROR_UNSPECIFIED; in getDisconnectCauseFromReasonInfo() 3265 return DisconnectCause.IMS_SIP_ALTERNATE_EMERGENCY_CALL; in getDisconnectCauseFromReasonInfo() 3268 return DisconnectCause.NUMBER_UNREACHABLE; in getDisconnectCauseFromReasonInfo() 3271 return DisconnectCause.BUSY; in getDisconnectCauseFromReasonInfo() 3274 return DisconnectCause.LOCAL; in getDisconnectCauseFromReasonInfo() [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/ |
D | ImsPhoneCallTrackerTest.java | 86 import android.telephony.DisconnectCause; 542 assertEquals(DisconnectCause.INCOMING_MISSED, connection.getDisconnectCause()); in testImsMTCallMissed() 552 assertEquals(DisconnectCause.INCOMING_REJECTED, connection.getDisconnectCause()); in testImsMTCallRejected() 561 assertEquals(DisconnectCause.INCOMING_REJECTED, connection.getDisconnectCause()); in testRejectedElsewhereIsRejected() 570 assertEquals(DisconnectCause.INCOMING_REJECTED, connection.getDisconnectCause()); in testRemoteCallDeclineIsRejected() 792 mCTUT.hangupAllOrphanedConnections(DisconnectCause.LOST_SIGNAL); in testImsMTActiveHoldServiceDisconnect() 881 mCTUT.hangupAllOrphanedConnections(DisconnectCause.LOST_SIGNAL); in testImsMoCallCrash() 1237 mCTUT.hangupAllOrphanedConnections(DisconnectCause.NORMAL); in testRewriteOutgoingNumberBasedOnRoamingState() 1255 mCTUT.hangupAllOrphanedConnections(DisconnectCause.NORMAL); in testRewriteOutgoingNumberBasedOnRoamingState() 1279 mCTUT.hangupAllOrphanedConnections(DisconnectCause.NORMAL); in testRewriteOutgoingNumberBasedOnRoamingState() [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/domainselection/ |
D | SmsDomainSelectionConnectionTest.java | 30 import android.telephony.DisconnectCause; 138 mDsConnection.onSelectionTerminated(DisconnectCause.LOCAL); in testOnSelectionTerminated() 141 verify(mDscCallback).onSelectionTerminated(eq(DisconnectCause.LOCAL)); in testOnSelectionTerminated()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/emergency/ |
D | EmergencyStateTracker.java | 50 import android.telephony.DisconnectCause; 328 DisconnectCause.OUTGOING_EMERGENCY_CALL_PLACED); in handleMessage() 569 return CompletableFuture.completedFuture(DisconnectCause.EMERGENCY_PERM_FAILURE); in startEmergencyCall() 597 return CompletableFuture.completedFuture(DisconnectCause.NOT_DISCONNECTED); in startEmergencyCall() 601 return CompletableFuture.completedFuture(DisconnectCause.ERROR_UNSPECIFIED); in startEmergencyCall() 819 completeEmergencyMode(emergencyType, DisconnectCause.NOT_DISCONNECTED); in completeEmergencyMode() 829 if (result != DisconnectCause.NOT_DISCONNECTED) { in completeEmergencyMode() 837 if (result != DisconnectCause.NOT_DISCONNECTED) { in completeEmergencyMode() 1312 return CompletableFuture.completedFuture(DisconnectCause.ERROR_UNSPECIFIED); in startEmergencySms() 1329 return CompletableFuture.completedFuture(DisconnectCause.ERROR_UNSPECIFIED); in startEmergencySms() [all …]
|