Home
last modified time | relevance | path

Searched refs:disconnectCause (Results 1 – 25 of 28) sorted by relevance

12

/packages/apps/Dialer/java/com/android/incallui/disconnectdialog/
DDefaultErrorDialog.java32 public boolean shouldShow(DisconnectCause disconnectCause) { in shouldShow() argument
33 return !TextUtils.isEmpty(disconnectCause.getDescription()) in shouldShow()
34 && (disconnectCause.getCode() == DisconnectCause.ERROR in shouldShow()
35 || disconnectCause.getCode() == DisconnectCause.RESTRICTED); in shouldShow()
40 DisconnectCause disconnectCause = call.getDisconnectCause(); in createDialog() local
41 CharSequence message = disconnectCause.getDescription(); in createDialog()
DVideoCallNotAvailablePrompt.java37 public boolean shouldShow(DisconnectCause disconnectCause) { in shouldShow() argument
38 if (disconnectCause.getCode() == DisconnectCause.ERROR in shouldShow()
39 && TelecomManagerCompat.REASON_IMS_ACCESS_BLOCKED.equals(disconnectCause.getReason())) { in shouldShow()
43 disconnectCause.getReason()); in shouldShow()
DEnableWifiCallingPrompt.java42 public boolean shouldShow(DisconnectCause disconnectCause) { in shouldShow() argument
43 String reason = disconnectCause.getReason(); in shouldShow()
DDisconnectDialog.java29 boolean shouldShow(DisconnectCause disconnectCause); in shouldShow() argument
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DNewOutgoingCallIntentBroadcasterTest.java133 assertEquals(DisconnectCause.NOT_DISCONNECTED, callDisposition.disconnectCause); in testSelfManagedCall()
140 int result = processIntent(intent, true).disconnectCause; in testNullHandle()
156 assertEquals(DisconnectCause.NOT_DISCONNECTED, callDisposition.disconnectCause); in testVoicemailCall()
182 int result = processIntent(intent, true).disconnectCause; in badCallActionHelper()
210 int result = processIntent(intent, true).disconnectCause; in testNoNumberSupplied()
235 int result = processIntent(intent, false).disconnectCause; in testEmergencyCallWithNonDefaultDialer()
295 int result = processIntent(intent, true).disconnectCause; in testActionEmergencyWithNonEmergencyNumber()
314 assertEquals(DisconnectCause.NOT_DISCONNECTED, callDisposition.disconnectCause); in emergencyCallTestHelper()
457 assertEquals(DisconnectCause.NOT_DISCONNECTED, callDisposition.disconnectCause);
480 if (cd.disconnectCause == DisconnectCause.NOT_DISCONNECTED) {
DConnectionServiceFixture.java452 DisconnectCause disconnectCause; field in ConnectionServiceFixture.ConnectionInfo
531 public void sendSetDisconnected(String id, int disconnectCause) throws Exception { in sendSetDisconnected() argument
533 mConnectionById.get(id).disconnectCause = new DisconnectCause(disconnectCause); in sendSetDisconnected()
535 a.setDisconnected(id, mConnectionById.get(id).disconnectCause, null /*Session.Info*/); in sendSetDisconnected()
744 c.disconnectCause, in parcelable()
/packages/services/Telecomm/src/com/android/server/telecom/
DNewOutgoingCallIntentBroadcaster.java96 public int disconnectCause = DisconnectCause.NOT_DISCONNECTED; field in NewOutgoingCallIntentBroadcaster.CallDisposition
220 result.disconnectCause = DisconnectCause.INVALID_NUMBER; in evaluateCall()
239 result.disconnectCause = DisconnectCause.OUTGOING_CANCELED; in evaluateCall()
272 result.disconnectCause = DisconnectCause.NO_PHONE_NUMBER_SUPPLIED; in evaluateCall()
288 result.disconnectCause = DisconnectCause.OUTGOING_CANCELED; in evaluateCall()
299 result.disconnectCause = DisconnectCause.OUTGOING_CANCELED; in evaluateCall()
306 result.disconnectCause = DisconnectCause.INVALID_NUMBER; in evaluateCall()
DCreateConnectionProcessor.java180 DisconnectCause disconnectCause) { in continueProcessingIfPossible() argument
183 mLastErrorDisconnectCause = disconnectCause; in continueProcessingIfPossible()
279 DisconnectCause disconnectCause = mLastErrorDisconnectCause != null ? in attemptNextPhoneAccount() local
282 notifyConferenceCallFailure(disconnectCause); in attemptNextPhoneAccount()
284 notifyCallConnectionFailure(disconnectCause); in attemptNextPhoneAccount()
DCallLogManager.java165 int disconnectCause = call.getDisconnectCause().getCode(); in onCallStateChanged() local
168 boolean isCallCanceled = isNewlyDisconnected && disconnectCause == DisconnectCause.CANCELED; in onCallStateChanged()
178 } else if (disconnectCause == DisconnectCause.MISSED) { in onCallStateChanged()
180 } else if (disconnectCause == DisconnectCause.ANSWERED_ELSEWHERE) { in onCallStateChanged()
182 } else if (disconnectCause == DisconnectCause.REJECTED) { in onCallStateChanged()
DCall.java113 void onFailedOutgoingCall(Call call, DisconnectCause disconnectCause); in onFailedOutgoingCall() argument
160 public void onFailedOutgoingCall(Call call, DisconnectCause disconnectCause) {} in onFailedOutgoingCall() argument
2049 public void handleCreateConferenceFailure(DisconnectCause disconnectCause) { in handleCreateConferenceFailure() argument
2051 setDisconnectCause(disconnectCause); in handleCreateConferenceFailure()
2052 mCallsManager.markCallAsDisconnected(this, disconnectCause); in handleCreateConferenceFailure()
2062 listener.onFailedOutgoingCall(this, disconnectCause); in handleCreateConferenceFailure()
2069 public void handleCreateConnectionFailure(DisconnectCause disconnectCause) { in handleCreateConnectionFailure() argument
2071 setDisconnectCause(disconnectCause); in handleCreateConnectionFailure()
2072 mCallsManager.markCallAsDisconnected(this, disconnectCause); in handleCreateConnectionFailure()
2082 listener.onFailedOutgoingCall(this, disconnectCause); in handleCreateConnectionFailure()
DConnectionServiceWrapper.java266 public void setDisconnected(String callId, DisconnectCause disconnectCause, in setDisconnected() argument
272 logIncoming("setDisconnected %s %s", callId, disconnectCause); in setDisconnected()
274 Log.d(this, "disconnect call %s %s", disconnectCause, call); in setDisconnected()
276 mCallsManager.markCallAsDisconnected(call, disconnectCause); in setDisconnected()
1700 void removeCall(String callId, DisconnectCause disconnectCause) { in removeCall() argument
1703 response.handleCreateConnectionFailure(disconnectCause); in removeCall()
1709 void removeCall(Call call, DisconnectCause disconnectCause) { in removeCall() argument
1712 response.handleCreateConnectionFailure(disconnectCause); in removeCall()
DCallIntentProcessor.java174 if (disposition.disconnectCause != DisconnectCause.NOT_DISCONNECTED) { in processOutgoingCallIntent()
175 showErrorDialog(context, disposition.disconnectCause); in processOutgoingCallIntent()
DAnalytics.java181 public void setCallDisconnectCause(DisconnectCause disconnectCause) { in setCallDisconnectCause() argument
325 public void setCallDisconnectCause(DisconnectCause disconnectCause) { in setCallDisconnectCause() argument
326 Log.d(TAG, "setting disconnectCause for call " + callId + " to " + disconnectCause); in setCallDisconnectCause()
327 this.callTerminationReason = disconnectCause; in setCallDisconnectCause()
DCallsManager.java640 public void onFailedOutgoingCall(Call call, DisconnectCause disconnectCause) { in onFailedOutgoingCall() argument
2961 void markCallAsDisconnected(Call call, DisconnectCause disconnectCause) {
2963 && disconnectCause.getCode() == DisconnectCause.REMOTE) {
2968 call.setDisconnectCause(disconnectCause);
4615 DisconnectCause disconnectCause = call.getDisconnectCause();
4616 if (!TextUtils.isEmpty(disconnectCause.getDescription()) && (disconnectCause.getCode()
4620 disconnectCause.getDescription());
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/
DTestConnectionManager.java51 RemoteConnection connection, DisconnectCause disconnectCause) {
52 setDisconnected(disconnectCause);
270 DisconnectCause disconnectCause) {
271 setDisconnected(disconnectCause);
/packages/services/Telephony/src/com/android/services/telephony/
DImsConference.java225 DisconnectCause disconnectCause) {
226 setDisconnected(disconnectCause);
1410 DisconnectCause disconnectCause; in setState() local
1412 disconnectCause = new DisconnectCause(DisconnectCause.CANCELED); in setState()
1415 disconnectCause = DisconnectCauseUtil.toTelecomDisconnectCause( in setState()
1419 disconnectCause = DisconnectCauseUtil.toTelecomDisconnectCause( in setState()
1423 setDisconnected(disconnectCause); in setState()
DTelephonyConnection.java480 android.telecom.DisconnectCause disconnectCause) {} in onDisconnected() argument
2160 int disconnectCause = mOriginalConnection.getDisconnectCause(); in updateStateInternal() local
2162 && (mHangupDisconnectCause != disconnectCause)) { in updateStateInternal()
2163 Log.i(LOG_TAG, "setDisconnected: override cause: " + disconnectCause in updateStateInternal()
2165 disconnectCause = mHangupDisconnectCause; in updateStateInternal()
2169 disconnectCause, in updateStateInternal()
2929 android.telecom.DisconnectCause disconnectCause) { in setTelephonyConnectionDisconnected()
2930 setDisconnected(disconnectCause); in setTelephonyConnectionDisconnected()
2931 notifyDisconnected(disconnectCause); in setTelephonyConnectionDisconnected()
DCdmaConferenceController.java59 public void onDisconnected(Connection c, DisconnectCause disconnectCause) {
/packages/apps/Dialer/java/com/android/incallui/call/
DDialerCall.java161 private DisconnectCause disconnectCause; field in DialerCall
968 return disconnectCause; in getDisconnectCause()
974 public void setDisconnectCause(DisconnectCause disconnectCause) { in setDisconnectCause() argument
975 this.disconnectCause = disconnectCause; in setDisconnectCause()
976 logState.disconnectCause = this.disconnectCause; in setDisconnectCause()
1808 public DisconnectCause disconnectCause; field in DialerCall.LogState
1898 disconnectCause, in toString()
/packages/apps/Car/libs/car-telephony-common/src/com/android/car/telephony/common/
DCallDetail.java36 private CallDetail(String number, CharSequence disconnectCause, in CallDetail() argument
39 mDisconnectCause = disconnectCause; in CallDetail()
/packages/apps/Dialer/java/com/android/incallui/incall/protocol/
DPrimaryCallState.java58 public abstract DisconnectCause disconnectCause(); in disconnectCause() method in PrimaryCallState
147 public abstract Builder setDisconnectCause(DisconnectCause disconnectCause); in setDisconnectCause() argument
/packages/apps/Dialer/java/com/android/incallui/spam/
DSpamCallListListener.java238 int disconnectCause = call.getDisconnectCause().getCode(); in shouldShowAfterCallNotification() local
239 if (disconnectCause != DisconnectCause.LOCAL && disconnectCause != DisconnectCause.REMOTE) { in shouldShowAfterCallNotification()
/packages/apps/Car/Dialer/tests/robotests/src/com/android/car/dialer/livedata/
DCallDetailLiveDataTest.java105 DisconnectCause disconnectCause = new DisconnectCause(1, label, null, ""); in testOnDetailsChanged() local
109 when(updatedDetails.getDisconnectCause()).thenReturn(disconnectCause); in testOnDetailsChanged()
/packages/apps/Car/Dialer/tests/robotests/src/com/android/car/dialer/ui/activecall/
DInCallViewModelTest.java93 DisconnectCause disconnectCause = new DisconnectCause(1, LABEL, null, ""); in setup() local
95 when(mMockDetails.getDisconnectCause()).thenReturn(disconnectCause); in setup()
/packages/apps/Dialer/java/com/android/incallui/contactgrid/
DBottomRow.java93 label = state.disconnectCause().getLabel(); in getInfo()

12