Home
last modified time | relevance | path

Searched refs:getDisconnectCause (Results 1 – 25 of 26) sorted by relevance

12

/packages/apps/Car/libs/car-telephony-common/src/com/android/car/telephony/common/
DCallDetail.java48 return new CallDetail(getNumber(callDetail), getDisconnectCause(callDetail), in fromTelecomCallDetail()
64 public CharSequence getDisconnectCause() { in getDisconnectCause() method in CallDetail
99 private static CharSequence getDisconnectCause(Call.Details callDetail) { in getDisconnectCause() method in CallDetail
100 DisconnectCause cause = callDetail == null ? null : callDetail.getDisconnectCause(); in getDisconnectCause()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DCallTest.java146 assertEquals(DisconnectCause.REJECTED, call.getDisconnectCause().getCode()); in testDisconnectCauseWhenAudioProcessing()
173 assertEquals(DisconnectCause.LOCAL, call.getDisconnectCause().getCode()); in testDisconnectCauseWhenAudioProcessingAfterActive()
198 assertEquals(DisconnectCause.MISSED, call.getDisconnectCause().getCode()); in testDisconnectCauseWhenSimulatedRingingAndDisconnect()
223 assertEquals(DisconnectCause.REJECTED, call.getDisconnectCause().getCode()); in testDisconnectCauseWhenSimulatedRingingAndReject()
DCallAudioManagerTest.java437 when(call.getDisconnectCause()).thenReturn(new DisconnectCause(DisconnectCause.LOCAL,
585 when(call.getDisconnectCause()).thenReturn(new DisconnectCause(DisconnectCause.LOCAL,
669 when(call.getDisconnectCause()).thenReturn(new DisconnectCause(DisconnectCause.LOCAL,
DDisconnectedCallNotifierTest.java151 when(call.getDisconnectCause()).thenReturn(cause); in createCall()
DCallLogManagerTest.java989 when(fakeCall.getDisconnectCause()).thenReturn( in makeFakeCall()
/packages/apps/Car/Dialer/tests/robotests/src/com/android/car/dialer/livedata/
DCallDetailLiveDataTest.java109 when(updatedDetails.getDisconnectCause()).thenReturn(disconnectCause); in testOnDetailsChanged()
119 assertThat(observedValue.getDisconnectCause()).isEqualTo(label); in testOnDetailsChanged()
/packages/services/Telecomm/src/com/android/server/telecom/
DCallLogManager.java165 int disconnectCause = call.getDisconnectCause().getCode(); in onCallStateChanged()
236 DisconnectCause cause = call.getDisconnectCause(); in shouldLogDisconnectedCall()
349 call.getDisconnectCause().getCode() == DisconnectCause.CALL_PULLED, in logCall()
DCallAudioManager.java755 if (call.getDisconnectCause() != null) { in playToneForDisconnectedCall()
758 Log.v(this, "Disconnect cause: %s.", call.getDisconnectCause()); in playToneForDisconnectedCall()
760 switch(call.getDisconnectCause().getTone()) { in playToneForDisconnectedCall()
DConnectionServiceWrapper.java488 .setDisconnectCause(parcelableConference.getDisconnectCause()) in addConferenceCall()
1947 removeCall(callId, connection.getDisconnectCause()); in handleCreateConnectionComplete()
1967 removeCall(callId, conference.getDisconnectCause()); in handleCreateConferenceComplete()
DCall.java1067 data = getDisconnectCause(); in setState()
1101 getDisconnectCause().getCode() : DisconnectCause.UNKNOWN; in setState()
1309 public DisconnectCause getDisconnectCause() { in getDisconnectCause() method in Call
DParcelableCallUtils.java228 .setDisconnectCause(call.getDisconnectCause()) in toParcelableCall()
/packages/apps/Car/Dialer/tests/robotests/src/com/android/car/dialer/ui/activecall/
DInCallViewModelTest.java95 when(mMockDetails.getDisconnectCause()).thenReturn(disconnectCause); in setup()
154 assertThat(callDetail.getDisconnectCause()).isEqualTo(LABEL); in testGetPrimaryCallDetail()
/packages/apps/Dialer/java/com/android/incallui/disconnectdialog/
DDisconnectMessage.java42 cause = call.getDisconnectCause(); in DisconnectMessage()
DDefaultErrorDialog.java40 DisconnectCause disconnectCause = call.getDisconnectCause(); in createDialog()
DEnableWifiCallingPrompt.java57 DisconnectCause cause = call.getDisconnectCause(); in createDialog()
/packages/apps/Dialer/java/com/android/dialer/simulator/impl/
DSimulatorConference.java167 setDisconnected(connection.getDisconnectCause()); in onGsmEvent()
/packages/services/Telephony/src/com/android/services/telephony/
DImsConference.java1416 mConferenceHost.getOriginalConnection().getDisconnectCause(), in setState()
1420 mConferenceHost.getOriginalConnection().getDisconnectCause()); in setState()
DTelephonyConnection.java2114 int cause = mOriginalConnection.getDisconnectCause(); in updateStateInternal()
2160 int disconnectCause = mOriginalConnection.getDisconnectCause(); in updateStateInternal()
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/
DSipConnection.java269 mOriginalConnection.getDisconnectCause())); in updateState()
/packages/services/Telecomm/src/com/android/server/telecom/ui/
DDisconnectedCallNotifier.java136 DisconnectCause cause = call.getDisconnectCause(); in onCallStateChanged()
/packages/apps/Dialer/java/com/android/incallui/spam/
DSpamCallListListener.java238 int disconnectCause = call.getDisconnectCause().getCode(); in shouldShowAfterCallNotification()
/packages/services/Telephony/tests/src/com/android/services/telephony/
DTelephonyConnectionServiceTest.java688 assertEquals(c.getDisconnectCause().getCode(), DisconnectCause.ERROR); in testRetryOutgoingOriginalConnection_redialPermFailOneSlot()
868 assertEquals(c.getDisconnectCause().getCode(), DisconnectCause.ERROR); in testRetryOutgoingOriginalConnection_redialPermFailTwoSlot_twoFailure()
/packages/apps/Dialer/java/com/android/incallui/call/
DDialerCall.java603 setDisconnectCause(telecomCall.getDetails().getDisconnectCause()); in updateFromTelecomCall()
966 public DisconnectCause getDisconnectCause() { in getDisconnectCause() method in DialerCall
DCallList.java674 final int cause = call.getDisconnectCause().getCode(); in getDelayForDisconnect()
/packages/apps/Dialer/java/com/android/incallui/
DCallCardPresenter.java470 .setDisconnectCause(primary.getDisconnectCause()) in updatePrimaryCallState()

12