Home
last modified time | relevance | path

Searched refs:imsCall (Results 1 – 9 of 9) 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()
248 setVideoCallProvider(conn, imsCall); in onIncomingCall()
251 imsCall.getSession()); in onIncomingCall()
259 conn.update(imsCall, ImsPhoneCall.State.WAITING); in onIncomingCall()
1522 ImsCall imsCall = mImsManager.makeCall(profile, in dialInternal() local
1525 conn.setImsCall(imsCall); in dialInternal()
1527 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()
279 ImsCall imsCall = connection == null ? null : connection.getImsCall(); in setMute() local
280 if (imsCall != null) { in setMute()
282 imsCall.setMute(mute); in setMute()
329 /*package*/ static boolean isLocalTone(ImsCall imsCall) { in isLocalTone() argument
330 if ((imsCall == null) || (imsCall.getCallProfile() == null) in isLocalTone()
331 || (imsCall.getCallProfile().mMediaProfile == null)) { in isLocalTone()
335 ImsStreamMediaProfile mediaProfile = imsCall.getCallProfile().mMediaProfile; in isLocalTone()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
DImsCallTest.java72 ImsCall imsCall = new ImsCall(mContext, null /* imsCallProfile */); in testNullCallProfile() local
73 assertNotNull(imsCall); in testNullCallProfile()
74 assertFalse(imsCall.wasVideoCall()); in testNullCallProfile()
83 ImsCall imsCall = new ImsCall(mContext, profile); in testNonNulllVideoProfile() local
84 assertNotNull(imsCall); in testNonNulllVideoProfile()
85 assertTrue(imsCall.wasVideoCall()); in testNonNulllVideoProfile()
DImsPhoneCallTrackerTest.java130 private void imsCallMocking(final ImsCall imsCall) throws Exception { in imsCallMocking() argument
137 mImsCallListener.onCallStarted(imsCall); in imsCallMocking()
141 }).when(imsCall).accept(anyInt()); in imsCallMocking()
149 mImsCallListener.onCallStartFailed(imsCall, new ImsReasonInfo(reasonCode, -1)); in imsCallMocking()
150 mImsCallListener.onCallTerminated(imsCall, new ImsReasonInfo(reasonCode, -1)); in imsCallMocking()
154 }).when(imsCall).reject(anyInt()); in imsCallMocking()
162 mImsCallListener.onCallTerminated(imsCall, new ImsReasonInfo(reasonCode, -1)); in imsCallMocking()
166 }).when(imsCall).terminate(anyInt()); in imsCallMocking()
172 mImsCallListener.onCallHeld(imsCall); in imsCallMocking()
176 }).when(imsCall).hold(); in imsCallMocking()
[all …]
DImsPhoneCallTest.java195 ImsCall imsCall = mImsCallUT.getImsCall(); in testGetImsCall() local
196 assertEquals(mImsCall, imsCall); in testGetImsCall()
/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.java2721 ImsCall imsCall = imsPhoneCall.getImsCall(); in isVideoCallOrConference() local
2722 return imsCall != null && (imsCall.isVideoCall() || in isVideoCallOrConference()
2723 imsCall.wasVideoCall()); in isVideoCallOrConference()
/frameworks/opt/net/ims/src/java/com/android/ims/
DImsCall.java430 public void onCallHandover(ImsCall imsCall, int srcAccessTech, int targetAccessTech, in onCallHandover() argument
439 public void onRttModifyRequestReceived(ImsCall imsCall) { in onRttModifyRequestReceived() argument
449 public void onRttModifyResponseReceived(ImsCall imsCall, int status) { in onRttModifyResponseReceived() argument
458 public void onRttMessageReceived(ImsCall imsCall, String message) { in onRttMessageReceived() argument
469 public void onCallHandoverFailed(ImsCall imsCall, int srcAccessTech, int targetAccessTech, in onCallHandoverFailed() argument
480 public void onMultipartyStateChanged(ImsCall imsCall, boolean isMultiParty) { in onMultipartyStateChanged() argument
489 public void onRttAudioIndicatorChanged(ImsCall imsCall, ImsStreamMediaProfile profile) { in onRttAudioIndicatorChanged() argument
497 public void onCallSessionTransferred(ImsCall imsCall) { in onCallSessionTransferred() argument
500 public void onCallSessionTransferFailed(ImsCall imsCall, ImsReasonInfo reasonInfo) { in onCallSessionTransferFailed() argument
509 public void onCallQualityChanged(ImsCall imsCall, CallQuality callQuality) { in onCallQualityChanged() argument
[all …]