/aosp12/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ |
H A D | ImsPhoneCallTracker.java | 1907 if (imsCall != null) { in unholdHeldCall() 1914 imsCall.resume(); in unholdHeldCall() 1930 if (imsCall != null) { in resumeForegroundCall() 1931 imsCall.resume(); in resumeForegroundCall() 1940 if (imsCall != null) { in answerWaitingCall() 1942 imsCall.accept( in answerWaitingCall() 2987 if (imsCall != null && imsCall.getCallProfile() != null) { 3905 imsCall.close(); 4840 if (imsCall != null && imsCall.isVideoCall() && !imsCall.isWifiCall()) { in maybeNotifyDataDisabled() 4875 if (imsCall != null && imsCall.isVideoCall() && !imsCall.isWifiCall()) { in handleDataEnabledChange() [all …]
|
H A D | ImsPhoneCall.java | 108 ImsCall imsCall = getImsCall(); in isMultiparty() local 109 if (imsCall == null) { in isMultiparty() 113 return imsCall.isMultiparty(); in isMultiparty() 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() 350 maybeChangeRingbackState(imsCall, state); in update() 370 public void maybeChangeRingbackState(ImsCall imsCall) { in maybeChangeRingbackState() argument 371 maybeChangeRingbackState(imsCall, mState); in maybeChangeRingbackState() [all …]
|
H A D | ImsPhoneConnection.java | 204 mImsCall = imsCall; in ImsPhoneConnection() 207 if ((imsCall != null) && (imsCall.getCallProfile() != null)) { in ImsPhoneConnection() 229 updateExtras(imsCall); in ImsPhoneConnection() 809 mImsCall = imsCall; in setImsCall() 882 ImsCall imsCall = getImsCall(); in onDisconnectConferenceParticipant() local 883 if (imsCall == null) { in onDisconnectConferenceParticipant() 920 if (imsCall == null) { in updateAddressDisplay() 984 if (imsCall == null) { in updateMediaCapabilities() 1162 if (imsCall != null) { in startRtt() 1185 if (imsCall != null) { in sendRttModifyResponse() [all …]
|
/aosp12/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/ |
H A 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 …]
|
H A D | ImsPhoneCallTrackerTest.java | 155 }).when(imsCall).accept(anyInt()); in imsCallMocking() 168 }).when(imsCall).reject(anyInt()); in imsCallMocking() 180 }).when(imsCall).terminate(anyInt()); in imsCallMocking() 190 }).when(imsCall).hold(); in imsCallMocking() 192 imsCall.attachSession(mImsCallSession); in imsCallMocking() 827 imsCallMocking(imsCall); in testRewriteOutgoingNumber() 828 return imsCall; in testRewriteOutgoingNumber() 1419 imsCallMocking(imsCall); in placeCallAndMakeActive() 1420 return imsCall; in placeCallAndMakeActive() 1439 imsCall.getImsCallSessionListenerProxy().callSessionProgressing(imsCall.getSession(), in placeCallAndMakeActive() [all …]
|
H A 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()
|
H A D | ImsPhoneCallTest.java | 253 ImsCall imsCall = mImsCallUT.getImsCall(); in testGetImsCall() local 254 assertEquals(mImsCall, imsCall); in testGetImsCall()
|
/aosp12/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | TelephonyTester.java | 277 ImsCall imsCall = getImsCall(); in handleHandoverFailedIntent() local 278 if (imsCall == null) { in handleHandoverFailedIntent() 282 imsCall.getImsCallSessionListenerProxy().callSessionHandoverFailed(imsCall.getCallSession(), in handleHandoverFailedIntent() 328 if (imsCall == null) { in handleTestConferenceEventPackage() 496 ImsCall imsCall = getImsCall(); in testImsECall() local 497 if (imsCall == null) return; in testImsECall() 506 imsCall.getImsCallSessionListenerProxy().callSessionUpdated(imsCall.getSession(), in testImsECall() 522 if (imsCall == null) { in getImsCall() 525 return imsCall; in getImsCall() 534 ImsCall imsCall = getImsCall(); in testImsReceiveDtmf() local [all …]
|
H A D | Phone.java | 2957 ImsCall imsCall = imsPhoneCall.getImsCall(); in isVideoCallOrConference() local 2958 return imsCall != null && (imsCall.isVideoCall() || in isVideoCallOrConference() 2959 imsCall.wasVideoCall()); in isVideoCallOrConference()
|
/aosp12/frameworks/opt/net/ims/src/java/com/android/ims/ |
H A 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 492 public void onMultipartyStateChanged(ImsCall imsCall, boolean isMultiParty) { in onMultipartyStateChanged() argument 509 public void onCallSessionTransferred(ImsCall imsCall) { in onCallSessionTransferred() argument 520 public void onCallSessionDtmfReceived(ImsCall imsCall, char digit) { in onCallSessionDtmfReceived() argument 529 public void onCallQualityChanged(ImsCall imsCall, CallQuality callQuality) { in onCallQualityChanged() argument 537 public void onCallSessionRtpHeaderExtensionsReceived(ImsCall imsCall, in onCallSessionRtpHeaderExtensionsReceived() argument 1469 private boolean isUpdatePending(ImsCall imsCall) { in isUpdatePending() argument [all …]
|
/aosp12/packages/services/Telephony/src/com/android/services/telephony/ |
H A D | PstnIncomingCallNotifier.java | 297 ImsCall imsCall = ((ImsPhoneConnection) connection).getImsCall(); in sendIncomingCallIntent() local 298 if (imsCall != null) { in sendIncomingCallIntent() 299 ImsCallProfile imsCallProfile = imsCall.getCallProfile(); in sendIncomingCallIntent()
|
H A D | TelephonyConnection.java | 3052 ImsCall imsCall = isImsConnection() in refreshConferenceSupported() local 3085 } else if ((imsCall != null) && (imsCall.wasVideoCall() && downGradedVideoCall) in refreshConferenceSupported()
|