Home
last modified time | relevance | path

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

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
DImsCallTest.java120 ImsCall imsCall = new ImsCall(mContext, null /* imsCallProfile */); in testNullCallProfile() local
121 assertNotNull(imsCall); in testNullCallProfile()
122 assertFalse(imsCall.wasVideoCall()); in testNullCallProfile()
131 ImsCall imsCall = new ImsCall(mContext, profile); in testNonNulllVideoProfile() local
132 assertNotNull(imsCall); in testNonNulllVideoProfile()
133 assertTrue(imsCall.wasVideoCall()); in testNonNulllVideoProfile()
142 ImsCall imsCall = new ImsCall(mContext, profile); in testNullCallProfileAfterNonNull() local
143 assertNotNull(imsCall); in testNullCallProfileAfterNonNull()
144 assertTrue(imsCall.wasVideoCall()); in testNullCallProfileAfterNonNull()
146 imsCall.setCallProfile(null); in testNullCallProfileAfterNonNull()
[all …]
DImsPhoneCallTrackerTest.java180 private void imsCallMocking(final ImsCall imsCall) throws Exception { in imsCallMocking() argument
185 mImsCallListener.onCallStarted(imsCall); in imsCallMocking()
188 }).when(imsCall).accept(anyInt()); in imsCallMocking()
194 mImsCallListener.onCallStartFailed(imsCall, new ImsReasonInfo(reasonCode, -1)); in imsCallMocking()
195 mImsCallListener.onCallTerminated(imsCall, new ImsReasonInfo(reasonCode, -1)); in imsCallMocking()
198 }).when(imsCall).reject(anyInt()); in imsCallMocking()
204 mImsCallListener.onCallTerminated(imsCall, new ImsReasonInfo(reasonCode, -1)); in imsCallMocking()
207 }).when(imsCall).terminate(anyInt()); in imsCallMocking()
211 mImsCallListener.onCallHeld(imsCall); in imsCallMocking()
214 }).when(imsCall).hold(); in imsCallMocking()
[all …]
DImsPhoneConnectionTest.java551 ImsCall imsCall = mock(ImsCall.class); in testReportMediaCodecChange() local
556 when(imsCall.getLocalCallProfile()).thenReturn(profile); in testReportMediaCodecChange()
563 mConnectionUT = new ImsPhoneConnection(mImsPhone, imsCall, mImsCT, mForeGroundCall, false); in testReportMediaCodecChange()
575 mConnectionUT.updateMediaCapabilities(imsCall); in testReportMediaCodecChange()
579 mConnectionUT.updateMediaCapabilities(imsCall); in testReportMediaCodecChange()
DImsPhoneCallTest.java258 ImsCall imsCall = mImsCallUT.getImsCall(); in testGetImsCall() local
259 assertEquals(mImsCall, imsCall); in testGetImsCall()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhoneCall.java110 ImsCall imsCall = getImsCall(); in isMultiparty() local
111 if (imsCall == null) { in isMultiparty()
115 return imsCall.isMultiparty(); in isMultiparty()
282 ImsCall imsCall = connection == null ? null : connection.getImsCall(); in setMute() local
283 if (imsCall != null) { in setMute()
285 imsCall.setMute(mute); in setMute()
367 /*package*/ static boolean isLocalTone(ImsCall imsCall) { in isLocalTone() argument
368 if ((imsCall == null) || (imsCall.getCallProfile() == null) in isLocalTone()
369 || (imsCall.getCallProfile().mMediaProfile == null)) { in isLocalTone()
373 ImsStreamMediaProfile mediaProfile = imsCall.getCallProfile().mMediaProfile; in isLocalTone()
[all …]
DImsPhoneCallTracker.java299 ImsCall imsCall = mImsManager.takeCall(c, mImsCallListener); in processIncomingCall() local
300 if (callId != null) imsCall.getCallSession().setCallId(callId); in processIncomingCall()
301 iimsCallSessionListener = (IImsCallSessionListener) imsCall in processIncomingCall()
303 ImsPhoneConnection conn = new ImsPhoneConnection(mPhone, imsCall, in processIncomingCall()
310 if (activeCall != null && imsCall != null) { in processIncomingCall()
317 shouldDisconnectActiveCallOnAnswer(activeCall, imsCall, in processIncomingCall()
352 setVideoCallProvider(conn, imsCall); in processIncomingCall()
355 imsCall.getSession()); in processIncomingCall()
370 conn.update(imsCall, ImsPhoneCall.State.WAITING); in processIncomingCall()
410 ImsCall imsCall = null; in onAudioModeIsVoipChanged() local
[all …]
DImsPhoneConnection.java207 public ImsPhoneConnection(Phone phone, ImsCall imsCall, ImsPhoneCallTracker ct, in ImsPhoneConnection() argument
216 mImsCall = imsCall; in ImsPhoneConnection()
219 if ((imsCall != null) && (imsCall.getCallProfile() != null)) { in ImsPhoneConnection()
220 mAddress = imsCall.getCallProfile().getCallExtra(ImsCallProfile.EXTRA_OI); in ImsPhoneConnection()
221 mCnapName = imsCall.getCallProfile().getCallExtra(ImsCallProfile.EXTRA_CNA); in ImsPhoneConnection()
223 imsCall.getCallProfile().getCallExtraInt(ImsCallProfile.EXTRA_OIR)); in ImsPhoneConnection()
225 imsCall.getCallProfile().getCallExtraInt(ImsCallProfile.EXTRA_CNAP)); in ImsPhoneConnection()
227 imsCall.getCallProfile().getCallerNumberVerificationStatus())); in ImsPhoneConnection()
228 updateMediaCapabilities(imsCall); in ImsPhoneConnection()
245 updateExtras(imsCall); in ImsPhoneConnection()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DTelephonyTester.java286 ImsCall imsCall = getImsCall(); in handleHandoverFailedIntent() local
287 if (imsCall == null) { in handleHandoverFailedIntent()
291 imsCall.getImsCallSessionListenerProxy().callSessionHandoverFailed(imsCall.getCallSession(), in handleHandoverFailedIntent()
336 ImsCall imsCall = imsPhoneCall.getImsCall(); in handleTestConferenceEventPackage() local
337 if (imsCall == null) { in handleTestConferenceEventPackage()
341 imsCall.conferenceStateUpdated(imsConferenceState); in handleTestConferenceEventPackage()
601 ImsCall imsCall = getImsCall(); in testImsECall() local
602 if (imsCall == null) return; in testImsECall()
604 ImsCallProfile callProfile = imsCall.getCallProfile(); in testImsECall()
611 imsCall.getImsCallSessionListenerProxy().callSessionUpdated(imsCall.getSession(), in testImsECall()
[all …]
DPhone.java3081 ImsCall imsCall = imsPhoneCall.getImsCall(); in isVideoCallOrConference() local
3082 return imsCall != null && (imsCall.isVideoCall() || in isVideoCallOrConference()
3083 imsCall.wasVideoCall()); in isVideoCallOrConference()
/frameworks/opt/net/ims/src/java/com/android/ims/
DImsCall.java442 public void onCallHandover(ImsCall imsCall, int srcAccessTech, int targetAccessTech, in onCallHandover() argument
451 public void onRttModifyRequestReceived(ImsCall imsCall) { in onRttModifyRequestReceived() argument
461 public void onRttModifyResponseReceived(ImsCall imsCall, int status) { in onRttModifyResponseReceived() argument
470 public void onRttMessageReceived(ImsCall imsCall, String message) { in onRttMessageReceived() argument
481 public void onCallHandoverFailed(ImsCall imsCall, int srcAccessTech, int targetAccessTech, in onCallHandoverFailed() argument
492 public void onMultipartyStateChanged(ImsCall imsCall, boolean isMultiParty) { in onMultipartyStateChanged() argument
501 public void onRttAudioIndicatorChanged(ImsCall imsCall, ImsStreamMediaProfile profile) { in onRttAudioIndicatorChanged() argument
509 public void onCallSessionTransferred(ImsCall imsCall) { in onCallSessionTransferred() argument
512 public void onCallSessionTransferFailed(ImsCall imsCall, ImsReasonInfo reasonInfo) { in onCallSessionTransferFailed() argument
520 public void onCallSessionDtmfReceived(ImsCall imsCall, char digit) { in onCallSessionDtmfReceived() argument
[all …]