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.java191 ImsCall imsCall = mImsManager.takeCall(c, extras, mImsCallListener); in onIncomingCall() local
192 ImsPhoneConnection conn = new ImsPhoneConnection(mPhone, imsCall, in onIncomingCall()
199 if (activeCall != null && imsCall != null) { in onIncomingCall()
204 shouldDisconnectActiveCallOnAnswer(activeCall, imsCall); in onIncomingCall()
211 setVideoCallProvider(conn, imsCall); in onIncomingCall()
214 imsCall.getSession()); in onIncomingCall()
221 conn.update(imsCall, ImsPhoneCall.State.WAITING); in onIncomingCall()
1100 ImsCall imsCall = mImsManager.makeCall(profile, callees, mImsCallListener); in dialInternal() local
1101 conn.setImsCall(imsCall); in dialInternal()
1104 imsCall.getSession()); in dialInternal()
[all …]
DImsPhoneConnection.java177 public ImsPhoneConnection(Phone phone, ImsCall imsCall, ImsPhoneCallTracker ct, in ImsPhoneConnection() argument
186 mImsCall = imsCall; in ImsPhoneConnection()
188 if ((imsCall != null) && (imsCall.getCallProfile() != null)) { in ImsPhoneConnection()
189 mAddress = imsCall.getCallProfile().getCallExtra(ImsCallProfile.EXTRA_OI); in ImsPhoneConnection()
190 mCnapName = imsCall.getCallProfile().getCallExtra(ImsCallProfile.EXTRA_CNA); in ImsPhoneConnection()
192 imsCall.getCallProfile().getCallExtraInt(ImsCallProfile.EXTRA_OIR)); in ImsPhoneConnection()
194 imsCall.getCallProfile().getCallExtraInt(ImsCallProfile.EXTRA_CNAP)); in ImsPhoneConnection()
195 updateMediaCapabilities(imsCall); in ImsPhoneConnection()
208 updateExtras(imsCall); in ImsPhoneConnection()
710 public synchronized void setImsCall(ImsCall imsCall) { in setImsCall() argument
[all …]
DImsPhoneCall.java107 ImsCall imsCall = getImsCall(); in isMultiparty() local
108 if (imsCall == null) { in isMultiparty()
112 return imsCall.isMultiparty(); in isMultiparty()
255 ImsCall imsCall = getFirstConnection() == null ? in setMute() local
257 if (imsCall != null) { in setMute()
259 imsCall.setMute(mute); in setMute()
305 /*package*/ static boolean isLocalTone(ImsCall imsCall) { in isLocalTone() argument
306 if ((imsCall == null) || (imsCall.getCallProfile() == null) in isLocalTone()
307 || (imsCall.getCallProfile().mMediaProfile == null)) { in isLocalTone()
311 ImsStreamMediaProfile mediaProfile = imsCall.getCallProfile().mMediaProfile; in isLocalTone()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DTelephonyTester.java257 ImsCall imsCall = imsPhoneCall.getImsCall(); in handleHandoverFailedIntent() local
258 if (imsCall == null) { in handleHandoverFailedIntent()
262 imsCall.getImsCallSessionListenerProxy().callSessionHandoverFailed(imsCall.getCallSession(), in handleHandoverFailedIntent()
286 ImsCall imsCall = imsPhoneCall.getImsCall(); in handleTestConferenceEventPackage() local
287 if (imsCall == null) { in handleTestConferenceEventPackage()
306 imsCall.conferenceStateUpdated(imsConferenceState); in handleTestConferenceEventPackage()
418 ImsCall imsCall = imsPhoneCall.getImsCall(); in testImsECall() local
419 if (imsCall == null) { in testImsECall()
423 ImsCallProfile callProfile = imsCall.getCallProfile(); in testImsECall()
430 imsCall.getImsCallSessionListenerProxy().callSessionUpdated(imsCall.getSession(), in testImsECall()
DPhone.java2449 ImsCall imsCall = imsPhoneCall.getImsCall(); in isVideoCallOrConference() local
2450 return imsCall != null && (imsCall.isVideoCall() || in isVideoCallOrConference()
2451 imsCall.wasVideoCall()); in isVideoCallOrConference()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
DImsPhoneCallTrackerTest.java128 private void imsCallMocking(final ImsCall imsCall) throws Exception { in imsCallMocking() argument
135 mImsCallListener.onCallStarted(imsCall); in imsCallMocking()
139 }).when(imsCall).accept(anyInt()); in imsCallMocking()
147 mImsCallListener.onCallStartFailed(imsCall, new ImsReasonInfo(reasonCode, -1)); in imsCallMocking()
148 mImsCallListener.onCallTerminated(imsCall, new ImsReasonInfo(reasonCode, -1)); in imsCallMocking()
152 }).when(imsCall).reject(anyInt()); in imsCallMocking()
160 mImsCallListener.onCallTerminated(imsCall, new ImsReasonInfo(reasonCode, -1)); in imsCallMocking()
164 }).when(imsCall).terminate(anyInt()); in imsCallMocking()
170 mImsCallListener.onCallHeld(imsCall); in imsCallMocking()
174 }).when(imsCall).hold(); in imsCallMocking()
[all …]
/frameworks/opt/net/ims/src/java/com/android/ims/
DImsCall.java426 public void onCallHandover(ImsCall imsCall, int srcAccessTech, int targetAccessTech, in onCallHandover() argument
435 public void onRttModifyRequestReceived(ImsCall imsCall) { in onRttModifyRequestReceived() argument
445 public void onRttModifyResponseReceived(ImsCall imsCall, int status) { in onRttModifyResponseReceived() argument
454 public void onRttMessageReceived(ImsCall imsCall, String message) { in onRttMessageReceived() argument
465 public void onCallHandoverFailed(ImsCall imsCall, int srcAccessTech, int targetAccessTech, in onCallHandoverFailed() argument
476 public void onMultipartyStateChanged(ImsCall imsCall, boolean isMultiParty) { in onMultipartyStateChanged() argument
485 public void onRttAudioIndicatorChanged(ImsCall imsCall, ImsStreamMediaProfile profile) { in onRttAudioIndicatorChanged() argument
494 public void onCallQualityChanged(ImsCall imsCall, CallQuality callQuality) { in onCallQualityChanged() argument
1370 private boolean isUpdatePending(ImsCall imsCall) { in isUpdatePending() argument
1371 if (imsCall != null && imsCall.mUpdateRequest != UPDATE_NONE) { in isUpdatePending()