Home
last modified time | relevance | path

Searched refs:ImsPhoneCall (Results 1 – 20 of 20) sorted by relevance

/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhoneCall.java43 public class ImsPhoneCall extends Call { class
70 ImsPhoneCall() { in ImsPhoneCall() method in ImsPhoneCall
74 public ImsPhoneCall(ImsPhoneCallTracker owner, String context) { in ImsPhoneCall() method in ImsPhoneCall
294 merge(ImsPhoneCall that, State state) { in merge()
445 public void switchWith(ImsPhoneCall that) { in switchWith()
449 synchronized (ImsPhoneCall.class) { in switchWith()
450 ImsPhoneCall tmp = new ImsPhoneCall(); in switchWith()
481 private void takeOver(ImsPhoneCall that) { in takeOver()
DImsPhoneCallTracker.java368 if ((mForegroundCall.getState() != ImsPhoneCall.State.IDLE) in processIncomingCall()
369 || (mBackgroundCall.getState() != ImsPhoneCall.State.IDLE)) { in processIncomingCall()
370 conn.update(imsCall, ImsPhoneCall.State.WAITING); in processIncomingCall()
710 public ImsPhoneCall mRingingCall = new ImsPhoneCall(this, ImsPhoneCall.CONTEXT_RINGING);
712 public ImsPhoneCall mForegroundCall = new ImsPhoneCall(this,
713 ImsPhoneCall.CONTEXT_FOREGROUND);
715 public ImsPhoneCall mBackgroundCall = new ImsPhoneCall(this,
716 ImsPhoneCall.CONTEXT_BACKGROUND);
718 public ImsPhoneCall mHandoverCall = new ImsPhoneCall(this, ImsPhoneCall.CONTEXT_HANDOVER);
1516 connection.update(connection.getImsCall(), ImsPhoneCall.State.DISCONNECTED); in hangupAllOrphanedConnections()
[all …]
DImsPhoneConnection.java82 private ImsPhoneCall mParent;
208 ImsPhoneCall parent, boolean isUnknown) { in ImsPhoneConnection()
249 (mIsIncoming? ImsPhoneCall.State.INCOMING: ImsPhoneCall.State.DIALING)); in ImsPhoneConnection()
261 ImsPhoneCall parent, boolean isEmergency, boolean isWpsCall, in ImsPhoneConnection()
285 parent.attachFake(this, ImsPhoneCall.State.DIALING); in ImsPhoneConnection()
311 ImsPhoneCall parent, boolean isEmergency) { in ImsPhoneConnection()
331 parent.attachFake(this, ImsPhoneCall.State.DIALING); in ImsPhoneConnection()
406 public ImsPhoneCall getCall() { in getCall()
422 if (getState() != ImsPhoneCall.State.HOLDING) { in getHoldDurationMillis()
456 public ImsPhoneCall.State getState() { in getState()
[all …]
DImsPhoneBase.java210 ImsPhoneCall ringingCall = (ImsPhoneCall) getRingingCall(); in notifyPreciseCallStateToNotifier()
211 ImsPhoneCall foregroundCall = (ImsPhoneCall) getForegroundCall(); in notifyPreciseCallStateToNotifier()
212 ImsPhoneCall backgroundCall = (ImsPhoneCall) getBackgroundCall(); in notifyPreciseCallStateToNotifier()
DImsPhone.java660 public ImsPhoneCall
667 public ImsPhoneCall
674 public ImsPhoneCall
712 if (getRingingCall().getState() != ImsPhoneCall.State.IDLE) { in handleCallDeflectionIncallSupplementaryService()
720 } else if (getBackgroundCall().getState() != ImsPhoneCall.State.IDLE) { in handleCallDeflectionIncallSupplementaryService()
778 ImsPhoneCall call = getForegroundCall(); in handleCallWaitingIncallSupplementaryService()
785 if (call.getState() != ImsPhoneCall.State.IDLE) { in handleCallWaitingIncallSupplementaryService()
813 if (getRingingCall().getState() != ImsPhoneCall.State.IDLE) { in handleCallHoldIncallSupplementaryService()
820 } else if (getBackgroundCall().getState() == ImsPhoneCall.State.HOLDING) { in handleCallHoldIncallSupplementaryService()
823 if (getForegroundCall().getState() != ImsPhoneCall.State.IDLE) { in handleCallHoldIncallSupplementaryService()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
DImsPhoneCallTest.java55 private ImsPhoneCall mImsCallUT;
64 mImsCallUT = new ImsPhoneCall(mImsCT, ImsPhoneCall.CONTEXT_FOREGROUND); in setUp()
227 ImsPhoneCall mImsCallThat = new ImsPhoneCall(mImsCT, ImsPhoneCall.CONTEXT_FOREGROUND); in testSwitchWith()
DImsPhoneConnectionTest.java91 private ImsPhoneCall mForeGroundCall;
92 private ImsPhoneCall mBackGroundCall;
93 private ImsPhoneCall mRingGroundCall;
98 mForeGroundCall = mock(ImsPhoneCall.class); in setUp()
99 mBackGroundCall = mock(ImsPhoneCall.class); in setUp()
100 mRingGroundCall = mock(ImsPhoneCall.class); in setUp()
110 doReturn(ImsPhoneCall.State.IDLE).when(mForeGroundCall).getState(); in setUp()
142 assertEquals(ImsPhoneCall.State.IDLE, mConnectionUT.getState()); in testImsIncomingConnectionCorrectness()
154 eq(ImsPhoneCall.State.INCOMING)); in testImsIncomingConnectionCorrectness()
164 eq(ImsPhoneCall.State.DIALING)); in testImsIncomingConnectionCorrectness()
DImsNrSaModeHandlerTest.java74 @Mock private ImsPhoneCall mForegroundCall;
75 @Mock private ImsPhoneCall mBackgroundCall;
76 private Call.State mActiveState = ImsPhoneCall.State.ACTIVE;
77 private Call.State mIdleState = ImsPhoneCall.State.IDLE;
DImsPhoneTest.java126 private ImsPhoneCall mForegroundCall;
127 private ImsPhoneCall mBackgroundCall;
128 private ImsPhoneCall mRingingCall;
150 mForegroundCall = mock(ImsPhoneCall.class); in setUp()
151 mBackgroundCall = mock(ImsPhoneCall.class); in setUp()
152 mRingingCall = mock(ImsPhoneCall.class); in setUp()
241 verify(mImsCT).hangup(any(ImsPhoneCall.class)); in testHandleInCallMmiCommandCallWaiting()
DImsPhoneCallTrackerTest.java736 assertEquals(ImsPhoneCall.State.WAITING, mCTUT.mRingingCall.getState()); in testImsMTCallAcceptHold()
774 assertEquals(ImsPhoneCall.State.WAITING, mCTUT.mRingingCall.getState()); in testImsMTActiveHoldServiceDisconnect()
1760 when(mImsPhoneConnection.getState()).thenReturn(ImsPhoneCall.State.DISCONNECTED); in testNoHoldErrorMessageWhenCallDisconnected()
2821 ImsPhoneCall call = mock(ImsPhoneCall.class); in getImsPhoneConnection()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DDefaultPhoneNotifierTest.java41 import com.android.internal.telephony.imsphone.ImsPhoneCall;
67 ImsPhoneCall mImsForeGroundCall;
68 ImsPhoneCall mImsBackGroundCall;
69 ImsPhoneCall mImsRingingCall;
80 mImsForeGroundCall = mock(ImsPhoneCall.class); in setUp()
81 mImsBackGroundCall = mock(ImsPhoneCall.class); in setUp()
82 mImsRingingCall = mock(ImsPhoneCall.class); in setUp()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DTelephonyTester.java45 import com.android.internal.telephony.imsphone.ImsPhoneCall;
331 ImsPhoneCall imsPhoneCall = imsPhone.getForegroundCall(); in handleTestConferenceEventPackage()
621 ImsPhoneCall imsPhoneCall = imsPhone.getForegroundCall(); in getImsCall()
DPhone.java100 import com.android.internal.telephony.imsphone.ImsPhoneCall;
3079 if (call instanceof ImsPhoneCall) { in isVideoCallOrConference()
3080 ImsPhoneCall imsPhoneCall = (ImsPhoneCall) call; in isVideoCallOrConference()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/data/
DPhoneSwitcherTest.java93 import com.android.internal.telephony.imsphone.ImsPhoneCall;
1810 ImsPhoneCall testImsPhoneCall = mock(ImsPhoneCall.class); in testReceivingImsRegistrationTech()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/
DVoiceCallSessionStatsTest.java80 import com.android.internal.telephony.imsphone.ImsPhoneCall;
124 private ImsPhoneCall mImsCall0;
125 private ImsPhoneCall mImsCall1;
172 mImsCall0 = mock(ImsPhoneCall.class); in setUp()
173 mImsCall1 = mock(ImsPhoneCall.class); in setUp()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DTelephonyMetrics.java90 import com.android.internal.telephony.imsphone.ImsPhoneCall;
2068 ImsPhoneCall.State callState) { in writeImsCallState()
/frameworks/base/boot/
Dpreloaded-classes12478 com.android.internal.telephony.imsphone.ImsPhoneCall
Dboot-image-profile.txt34917 Lcom/android/internal/telephony/imsphone/ImsPhoneCall;
/frameworks/base/config/
Dpreloaded-classes12509 com.android.internal.telephony.imsphone.ImsPhoneCall
Dboot-image-profile.txt45078 Lcom/android/internal/telephony/imsphone/ImsPhoneCall;