Home
last modified time | relevance | path

Searched refs:disconnectCause (Results 1 – 25 of 31) 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.java466 DisconnectCause disconnectCause; field in ConnectionServiceFixture.ConnectionInfo
545 public void sendSetDisconnected(String id, int disconnectCause) throws Exception { in sendSetDisconnected() argument
547 mConnectionById.get(id).disconnectCause = new DisconnectCause(disconnectCause); in sendSetDisconnected()
549 a.setDisconnected(id, mConnectionById.get(id).disconnectCause, null /*Session.Info*/); in sendSetDisconnected()
758 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.java181 DisconnectCause disconnectCause) { in continueProcessingIfPossible() argument
184 mLastErrorDisconnectCause = disconnectCause; in continueProcessingIfPossible()
280 DisconnectCause disconnectCause = mLastErrorDisconnectCause != null ? in attemptNextPhoneAccount() local
283 notifyConferenceCallFailure(disconnectCause); in attemptNextPhoneAccount()
285 notifyCallConnectionFailure(disconnectCause); in attemptNextPhoneAccount()
DCallLogManager.java118 int disconnectCause = call.getDisconnectCause().getCode(); in onCallStateChanged() local
121 boolean isCallCanceled = isNewlyDisconnected && disconnectCause == DisconnectCause.CANCELED; in onCallStateChanged()
131 } else if (disconnectCause == DisconnectCause.MISSED) { in onCallStateChanged()
133 } else if (disconnectCause == DisconnectCause.ANSWERED_ELSEWHERE) { in onCallStateChanged()
135 } else if (disconnectCause == DisconnectCause.REJECTED) { in onCallStateChanged()
DCall.java123 void onFailedOutgoingCall(Call call, DisconnectCause disconnectCause); in onFailedOutgoingCall() argument
174 public void onFailedOutgoingCall(Call call, DisconnectCause disconnectCause) {} in onFailedOutgoingCall() argument
2270 public void handleCreateConferenceFailure(DisconnectCause disconnectCause) { in handleCreateConferenceFailure() argument
2272 setDisconnectCause(disconnectCause); in handleCreateConferenceFailure()
2273 mCallsManager.markCallAsDisconnected(this, disconnectCause); in handleCreateConferenceFailure()
2283 listener.onFailedOutgoingCall(this, disconnectCause); in handleCreateConferenceFailure()
2290 public void handleCreateConnectionFailure(DisconnectCause disconnectCause) { in handleCreateConnectionFailure() argument
2292 setDisconnectCause(disconnectCause); in handleCreateConnectionFailure()
2293 mCallsManager.markCallAsDisconnected(this, disconnectCause); in handleCreateConnectionFailure()
2303 listener.onFailedOutgoingCall(this, disconnectCause); in handleCreateConnectionFailure()
DCallIntentProcessor.java191 if (disposition.disconnectCause != DisconnectCause.NOT_DISCONNECTED) { in processOutgoingCallIntent()
192 showErrorDialog(context, disposition.disconnectCause); in processOutgoingCallIntent()
DConnectionServiceWrapper.java274 public void setDisconnected(String callId, DisconnectCause disconnectCause, in setDisconnected() argument
281 logIncoming("setDisconnected %s %s", callId, disconnectCause); in setDisconnected()
283 Log.d(this, "disconnect call %s %s", disconnectCause, call); in setDisconnected()
285 mCallsManager.markCallAsDisconnected(call, disconnectCause); in setDisconnected()
1761 void removeCall(String callId, DisconnectCause disconnectCause) { in removeCall() argument
1764 response.handleCreateConnectionFailure(disconnectCause); in removeCall()
1770 void removeCall(Call call, DisconnectCause disconnectCause) { in removeCall() argument
1773 response.handleCreateConnectionFailure(disconnectCause); in removeCall()
DAnalytics.java181 public void setCallDisconnectCause(DisconnectCause disconnectCause) { in setCallDisconnectCause() argument
331 public void setCallDisconnectCause(DisconnectCause disconnectCause) { in setCallDisconnectCause() argument
332 Log.d(TAG, "setting disconnectCause for call " + callId + " to " + disconnectCause); in setCallDisconnectCause()
333 this.callTerminationReason = disconnectCause; in setCallDisconnectCause()
DCallsManager.java656 public void onFailedOutgoingCall(Call call, DisconnectCause disconnectCause) { in onFailedOutgoingCall() argument
3122 public void markCallAsDisconnected(Call call, DisconnectCause disconnectCause) {
3125 && disconnectCause.getCode() == DisconnectCause.REMOTE) {
3135 && disconnectCause.getCode() != DisconnectCause.MISSED
3137 && mCallDiagnosticServiceController.onCallDisconnected(call, disconnectCause)) {
3142 Log.addEvent(call, LogUtils.Events.SET_DISCONNECTED_ORIG, disconnectCause);
3152 call.setDisconnectCause(disconnectCause);
3162 call.setDisconnectCause(disconnectCause);
3166 if (oldState == CallState.NEW && disconnectCause.getCode() == DisconnectCause.MISSED) {
4888 DisconnectCause disconnectCause = call.getDisconnectCause();
[all …]
DCallDiagnosticServiceController.java285 @NonNull DisconnectCause disconnectCause) { in onCallDisconnected() argument
294 mCallDiagnosticService.notifyCallDisconnected(callId, disconnectCause); in onCallDisconnected()
/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);
DTestCallDiagnosticService.java52 public CharSequence onCallDisconnected(int disconnectCause, int preciseDisconnectCause) { in onCallDisconnected() argument
54 return "GSM/CDMA call dropped because " + disconnectCause; in onCallDisconnected()
/packages/services/Telephony/src/com/android/services/telephony/
DImsConference.java227 DisconnectCause disconnectCause) {
228 setDisconnected(disconnectCause);
1449 DisconnectCause disconnectCause; in setState() local
1451 disconnectCause = new DisconnectCause(DisconnectCause.CANCELED); in setState()
1454 disconnectCause = DisconnectCauseUtil.toTelecomDisconnectCause( in setState()
1458 disconnectCause = DisconnectCauseUtil.toTelecomDisconnectCause( in setState()
1462 setDisconnected(disconnectCause); in setState()
DTelephonyConnection.java538 android.telecom.DisconnectCause disconnectCause) {} in onDisconnected() argument
2448 int disconnectCause = mOriginalConnection.getDisconnectCause(); in updateStateInternal() local
2450 && (mHangupDisconnectCause != disconnectCause)) { in updateStateInternal()
2451 Log.i(LOG_TAG, "setDisconnected: override cause: " + disconnectCause in updateStateInternal()
2453 disconnectCause = mHangupDisconnectCause; in updateStateInternal()
2463 disconnectCause, in updateStateInternal()
3264 android.telecom.DisconnectCause disconnectCause) { in setTelephonyConnectionDisconnected()
3265 setDisconnected(disconnectCause); in setTelephonyConnectionDisconnected()
3266 notifyDisconnected(disconnectCause); in setTelephonyConnectionDisconnected()
/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.java48 private CallDetail(String number, CharSequence disconnectCause, in CallDetail() argument
52 mDisconnectCause = disconnectCause; in CallDetail()
/packages/apps/Car/Dialer/tests/unittests/src/com/android/car/dialer/livedata/
DCallDetailLiveDataTest.java85 DisconnectCause disconnectCause = new DisconnectCause(1, label, null, ""); in testOnDetailsChanged() local
89 when(updatedDetails.getDisconnectCause()).thenReturn(disconnectCause); in testOnDetailsChanged()
/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/ui/activecall/
DInCallViewModelTest.java102 DisconnectCause disconnectCause = new DisconnectCause(1, LABEL, null, ""); in setup() local
104 when(mMockDetails.getDisconnectCause()).thenReturn(disconnectCause); in setup()

12