Home
last modified time | relevance | path

Searched refs:imsCall (Results 1 – 7 of 7) sorted by relevance

/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhoneCallTracker.java205 ImsCall imsCall = mImsManager.takeCall(c, mImsCallListener); in onIncomingCall() local
206 ImsPhoneConnection conn = new ImsPhoneConnection(mPhone, imsCall, in onIncomingCall()
213 if (activeCall != null && imsCall != null) { in onIncomingCall()
218 shouldDisconnectActiveCallOnAnswer(activeCall, imsCall); in onIncomingCall()
226 setVideoCallProvider(conn, imsCall); in onIncomingCall()
229 imsCall.getSession()); in onIncomingCall()
237 conn.update(imsCall, ImsPhoneCall.State.WAITING); in onIncomingCall()
1502 ImsCall imsCall = mImsManager.makeCall(profile, in dialInternal() local
1505 conn.setImsCall(imsCall); in dialInternal()
1507 mMetrics.writeOnImsCallStart(mPhone.getPhoneId(), imsCall.getSession()); in dialInternal()
[all …]
DImsPhoneConnection.java179 public ImsPhoneConnection(Phone phone, ImsCall imsCall, ImsPhoneCallTracker ct, in ImsPhoneConnection() argument
188 mImsCall = imsCall; in ImsPhoneConnection()
191 if ((imsCall != null) && (imsCall.getCallProfile() != null)) { in ImsPhoneConnection()
192 mAddress = imsCall.getCallProfile().getCallExtra(ImsCallProfile.EXTRA_OI); in ImsPhoneConnection()
193 mCnapName = imsCall.getCallProfile().getCallExtra(ImsCallProfile.EXTRA_CNA); in ImsPhoneConnection()
195 imsCall.getCallProfile().getCallExtraInt(ImsCallProfile.EXTRA_OIR)); in ImsPhoneConnection()
197 imsCall.getCallProfile().getCallExtraInt(ImsCallProfile.EXTRA_CNAP)); in ImsPhoneConnection()
199 imsCall.getCallProfile().getCallerNumberVerificationStatus())); in ImsPhoneConnection()
200 updateMediaCapabilities(imsCall); in ImsPhoneConnection()
213 updateExtras(imsCall); in ImsPhoneConnection()
[all …]
DImsPhoneCall.java107 ImsCall imsCall = getImsCall(); in isMultiparty() local
108 if (imsCall == null) { in isMultiparty()
112 return imsCall.isMultiparty(); in isMultiparty()
274 ImsCall imsCall = getFirstConnection() == null ? in setMute() local
276 if (imsCall != null) { in setMute()
278 imsCall.setMute(mute); in setMute()
325 /*package*/ static boolean isLocalTone(ImsCall imsCall) { in isLocalTone() argument
326 if ((imsCall == null) || (imsCall.getCallProfile() == null) in isLocalTone()
327 || (imsCall.getCallProfile().mMediaProfile == null)) { in isLocalTone()
331 ImsStreamMediaProfile mediaProfile = imsCall.getCallProfile().mMediaProfile; in isLocalTone()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DTelephonyTester.java275 ImsCall imsCall = imsPhoneCall.getImsCall(); in handleHandoverFailedIntent() local
276 if (imsCall == null) { in handleHandoverFailedIntent()
280 imsCall.getImsCallSessionListenerProxy().callSessionHandoverFailed(imsCall.getCallSession(), in handleHandoverFailedIntent()
325 ImsCall imsCall = imsPhoneCall.getImsCall(); in handleTestConferenceEventPackage() local
326 if (imsCall == null) { in handleTestConferenceEventPackage()
330 imsCall.conferenceStateUpdated(imsConferenceState); in handleTestConferenceEventPackage()
504 ImsCall imsCall = imsPhoneCall.getImsCall(); in testImsECall() local
505 if (imsCall == null) { in testImsECall()
509 ImsCallProfile callProfile = imsCall.getCallProfile(); in testImsECall()
516 imsCall.getImsCallSessionListenerProxy().callSessionUpdated(imsCall.getSession(), in testImsECall()
DPhone.java2713 ImsCall imsCall = imsPhoneCall.getImsCall(); in isVideoCallOrConference() local
2714 return imsCall != null && (imsCall.isVideoCall() || in isVideoCallOrConference()
2715 imsCall.wasVideoCall()); in isVideoCallOrConference()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
DImsPhoneCallTrackerTest.java129 private void imsCallMocking(final ImsCall imsCall) throws Exception { in imsCallMocking() argument
136 mImsCallListener.onCallStarted(imsCall); in imsCallMocking()
140 }).when(imsCall).accept(anyInt()); in imsCallMocking()
148 mImsCallListener.onCallStartFailed(imsCall, new ImsReasonInfo(reasonCode, -1)); in imsCallMocking()
149 mImsCallListener.onCallTerminated(imsCall, new ImsReasonInfo(reasonCode, -1)); in imsCallMocking()
153 }).when(imsCall).reject(anyInt()); in imsCallMocking()
161 mImsCallListener.onCallTerminated(imsCall, new ImsReasonInfo(reasonCode, -1)); in imsCallMocking()
165 }).when(imsCall).terminate(anyInt()); in imsCallMocking()
171 mImsCallListener.onCallHeld(imsCall); in imsCallMocking()
175 }).when(imsCall).hold(); in imsCallMocking()
[all …]
/frameworks/opt/net/ims/src/java/com/android/ims/
DImsCall.java429 public void onCallHandover(ImsCall imsCall, int srcAccessTech, int targetAccessTech, in onCallHandover() argument
438 public void onRttModifyRequestReceived(ImsCall imsCall) { in onRttModifyRequestReceived() argument
448 public void onRttModifyResponseReceived(ImsCall imsCall, int status) { in onRttModifyResponseReceived() argument
457 public void onRttMessageReceived(ImsCall imsCall, String message) { in onRttMessageReceived() argument
468 public void onCallHandoverFailed(ImsCall imsCall, int srcAccessTech, int targetAccessTech, in onCallHandoverFailed() argument
479 public void onMultipartyStateChanged(ImsCall imsCall, boolean isMultiParty) { in onMultipartyStateChanged() argument
488 public void onRttAudioIndicatorChanged(ImsCall imsCall, ImsStreamMediaProfile profile) { in onRttAudioIndicatorChanged() argument
496 public void onCallSessionTransferred(ImsCall imsCall) { in onCallSessionTransferred() argument
499 public void onCallSessionTransferFailed(ImsCall imsCall, ImsReasonInfo reasonInfo) { in onCallSessionTransferFailed() argument
508 public void onCallQualityChanged(ImsCall imsCall, CallQuality callQuality) { in onCallQualityChanged() argument
[all …]