/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ |
D | ImsPhoneCall.java | 108 ImsCall imsCall = getImsCall(); in isMultiparty() local 109 if (imsCall == null) { in isMultiparty() 113 return imsCall.isMultiparty(); in isMultiparty() 280 ImsCall imsCall = connection == null ? null : connection.getImsCall(); in setMute() local 281 if (imsCall != null) { in setMute() 283 imsCall.setMute(mute); in setMute() 330 /*package*/ static boolean isLocalTone(ImsCall imsCall) { in isLocalTone() argument 331 if ((imsCall == null) || (imsCall.getCallProfile() == null) in isLocalTone() 332 || (imsCall.getCallProfile().mMediaProfile == null)) { in isLocalTone() 336 ImsStreamMediaProfile mediaProfile = imsCall.getCallProfile().mMediaProfile; in isLocalTone() [all …]
|
D | ImsPhoneCallTracker.java | 226 ImsCall imsCall = mImsManager.takeCall(c, mImsCallListener); in onIncomingCall() local 227 ImsPhoneConnection conn = new ImsPhoneConnection(mPhone, imsCall, in onIncomingCall() 234 if (activeCall != null && imsCall != null) { in onIncomingCall() 239 shouldDisconnectActiveCallOnAnswer(activeCall, imsCall); in onIncomingCall() 269 setVideoCallProvider(conn, imsCall); in onIncomingCall() 272 imsCall.getSession()); in onIncomingCall() 280 conn.update(imsCall, ImsPhoneCall.State.WAITING); in onIncomingCall() 1694 ImsCall imsCall = mImsManager.makeCall(profile, in dialInternal() local 1697 conn.setImsCall(imsCall); in dialInternal() 1699 mMetrics.writeOnImsCallStart(mPhone.getPhoneId(), imsCall.getSession()); in dialInternal() [all …]
|
D | ImsPhoneConnection.java | 195 public ImsPhoneConnection(Phone phone, ImsCall imsCall, ImsPhoneCallTracker ct, in ImsPhoneConnection() argument 204 mImsCall = imsCall; in ImsPhoneConnection() 207 if ((imsCall != null) && (imsCall.getCallProfile() != null)) { in ImsPhoneConnection() 208 mAddress = imsCall.getCallProfile().getCallExtra(ImsCallProfile.EXTRA_OI); in ImsPhoneConnection() 209 mCnapName = imsCall.getCallProfile().getCallExtra(ImsCallProfile.EXTRA_CNA); in ImsPhoneConnection() 211 imsCall.getCallProfile().getCallExtraInt(ImsCallProfile.EXTRA_OIR)); in ImsPhoneConnection() 213 imsCall.getCallProfile().getCallExtraInt(ImsCallProfile.EXTRA_CNAP)); in ImsPhoneConnection() 215 imsCall.getCallProfile().getCallerNumberVerificationStatus())); in ImsPhoneConnection() 216 updateMediaCapabilities(imsCall); in ImsPhoneConnection() 229 updateExtras(imsCall); in ImsPhoneConnection() [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/ |
D | ImsCallTest.java | 108 ImsCall imsCall = new ImsCall(mContext, null /* imsCallProfile */); in testNullCallProfile() local 109 assertNotNull(imsCall); in testNullCallProfile() 110 assertFalse(imsCall.wasVideoCall()); in testNullCallProfile() 119 ImsCall imsCall = new ImsCall(mContext, profile); in testNonNulllVideoProfile() local 120 assertNotNull(imsCall); in testNonNulllVideoProfile() 121 assertTrue(imsCall.wasVideoCall()); in testNonNulllVideoProfile() 130 ImsCall imsCall = new ImsCall(mContext, profile); in testNullCallProfileAfterNonNull() local 131 assertNotNull(imsCall); in testNullCallProfileAfterNonNull() 132 assertTrue(imsCall.wasVideoCall()); in testNullCallProfileAfterNonNull() 134 imsCall.setCallProfile(null); in testNullCallProfileAfterNonNull() [all …]
|
D | ImsPhoneCallTrackerTest.java | 144 private void imsCallMocking(final ImsCall imsCall) throws Exception { in imsCallMocking() argument 151 mImsCallListener.onCallStarted(imsCall); in imsCallMocking() 155 }).when(imsCall).accept(anyInt()); in imsCallMocking() 163 mImsCallListener.onCallStartFailed(imsCall, new ImsReasonInfo(reasonCode, -1)); in imsCallMocking() 164 mImsCallListener.onCallTerminated(imsCall, new ImsReasonInfo(reasonCode, -1)); in imsCallMocking() 168 }).when(imsCall).reject(anyInt()); in imsCallMocking() 176 mImsCallListener.onCallTerminated(imsCall, new ImsReasonInfo(reasonCode, -1)); in imsCallMocking() 180 }).when(imsCall).terminate(anyInt()); in imsCallMocking() 186 mImsCallListener.onCallHeld(imsCall); in imsCallMocking() 190 }).when(imsCall).hold(); in imsCallMocking() [all …]
|
D | ImsPhoneConnectionTest.java | 450 ImsCall imsCall = mock(ImsCall.class); in testReportMediaCodecChange() local 455 when(imsCall.getLocalCallProfile()).thenReturn(profile); in testReportMediaCodecChange() 462 mConnectionUT = new ImsPhoneConnection(mImsPhone, imsCall, mImsCT, mForeGroundCall, false); in testReportMediaCodecChange() 474 mConnectionUT.updateMediaCapabilities(imsCall); in testReportMediaCodecChange() 478 mConnectionUT.updateMediaCapabilities(imsCall); in testReportMediaCodecChange()
|
D | ImsPhoneCallTest.java | 253 ImsCall imsCall = mImsCallUT.getImsCall(); in testGetImsCall() local 254 assertEquals(mImsCall, imsCall); in testGetImsCall()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | TelephonyTester.java | 277 ImsCall imsCall = getImsCall(); in handleHandoverFailedIntent() local 278 if (imsCall == null) { in handleHandoverFailedIntent() 282 imsCall.getImsCallSessionListenerProxy().callSessionHandoverFailed(imsCall.getCallSession(), in handleHandoverFailedIntent() 327 ImsCall imsCall = imsPhoneCall.getImsCall(); in handleTestConferenceEventPackage() local 328 if (imsCall == null) { in handleTestConferenceEventPackage() 332 imsCall.conferenceStateUpdated(imsConferenceState); in handleTestConferenceEventPackage() 496 ImsCall imsCall = getImsCall(); in testImsECall() local 497 if (imsCall == null) return; in testImsECall() 499 ImsCallProfile callProfile = imsCall.getCallProfile(); in testImsECall() 506 imsCall.getImsCallSessionListenerProxy().callSessionUpdated(imsCall.getSession(), in testImsECall() [all …]
|
D | Phone.java | 2955 ImsCall imsCall = imsPhoneCall.getImsCall(); in isVideoCallOrConference() local 2956 return imsCall != null && (imsCall.isVideoCall() || in isVideoCallOrConference() 2957 imsCall.wasVideoCall()); in isVideoCallOrConference()
|
/frameworks/opt/net/ims/src/java/com/android/ims/ |
D | ImsCall.java | 442 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 …]
|