Home
last modified time | relevance | path

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

/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhoneCall.java40 public class ImsPhoneCall extends Call { class
67 ImsPhoneCall() { in ImsPhoneCall() method in ImsPhoneCall
71 public ImsPhoneCall(ImsPhoneCallTracker owner, String context) { in ImsPhoneCall() method in ImsPhoneCall
287 merge(ImsPhoneCall that, State state) { in merge()
377 public void switchWith(ImsPhoneCall that) { in switchWith()
381 synchronized (ImsPhoneCall.class) { in switchWith()
382 ImsPhoneCall tmp = new ImsPhoneCall(); in switchWith()
404 private void takeOver(ImsPhoneCall that) { in takeOver()
DImsPhoneCallTracker.java235 if ((mForegroundCall.getState() != ImsPhoneCall.State.IDLE) in onIncomingCall()
236 || (mBackgroundCall.getState() != ImsPhoneCall.State.IDLE)) { in onIncomingCall()
237 conn.update(imsCall, ImsPhoneCall.State.WAITING); in onIncomingCall()
403 public ImsPhoneCall mRingingCall = new ImsPhoneCall(this, ImsPhoneCall.CONTEXT_RINGING);
405 public ImsPhoneCall mForegroundCall = new ImsPhoneCall(this,
406 ImsPhoneCall.CONTEXT_FOREGROUND);
408 public ImsPhoneCall mBackgroundCall = new ImsPhoneCall(this,
409 ImsPhoneCall.CONTEXT_BACKGROUND);
411 public ImsPhoneCall mHandoverCall = new ImsPhoneCall(this, ImsPhoneCall.CONTEXT_HANDOVER);
1094 if (mForegroundCall.getState() == ImsPhoneCall.State.ACTIVE) { in prepareForDialing()
[all …]
DImsPhoneConnection.java70 private ImsPhoneCall mParent;
180 ImsPhoneCall parent, boolean isUnknown) { in ImsPhoneConnection()
217 (mIsIncoming? ImsPhoneCall.State.INCOMING: ImsPhoneCall.State.DIALING)); in ImsPhoneConnection()
229 ImsPhoneCall parent, boolean isEmergency) { in ImsPhoneConnection()
252 parent.attachFake(this, ImsPhoneCall.State.DIALING); in ImsPhoneConnection()
269 ImsPhoneCall parent, boolean isEmergency) { in ImsPhoneConnection()
289 parent.attachFake(this, ImsPhoneCall.State.DIALING); in ImsPhoneConnection()
354 public ImsPhoneCall getCall() { in getCall()
370 if (getState() != ImsPhoneCall.State.HOLDING) { in getHoldDurationMillis()
393 public ImsPhoneCall.State getState() { in getState()
[all …]
DImsPhone.java574 public ImsPhoneCall
581 public ImsPhoneCall
588 public ImsPhoneCall
621 if (getRingingCall().getState() != ImsPhoneCall.State.IDLE) { in handleCallDeflectionIncallSupplementaryService()
629 } else if (getBackgroundCall().getState() != ImsPhoneCall.State.IDLE) { in handleCallDeflectionIncallSupplementaryService()
687 ImsPhoneCall call = getForegroundCall(); in handleCallWaitingIncallSupplementaryService()
694 if (call.getState() != ImsPhoneCall.State.IDLE) { in handleCallWaitingIncallSupplementaryService()
722 if (getRingingCall().getState() != ImsPhoneCall.State.IDLE) { in handleCallHoldIncallSupplementaryService()
725 } else if (getBackgroundCall().getState() == ImsPhoneCall.State.HOLDING) { in handleCallHoldIncallSupplementaryService()
728 if (getForegroundCall().getState() != ImsPhoneCall.State.IDLE) { in handleCallHoldIncallSupplementaryService()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
DImsPhoneCallTest.java50 private ImsPhoneCall mImsCallUT;
57 mImsCallUT = new ImsPhoneCall(mImsCT, ImsPhoneCall.CONTEXT_FOREGROUND); in setUp()
162 ImsPhoneCall mImsCallThat = new ImsPhoneCall(mImsCT, ImsPhoneCall.CONTEXT_FOREGROUND); in testSwitchWith()
DImsPhoneConnectionTest.java71 private ImsPhoneCall mForeGroundCall;
73 private ImsPhoneCall mBackGroundCall;
75 private ImsPhoneCall mRingGroundCall;
87 doReturn(ImsPhoneCall.State.IDLE).when(mForeGroundCall).getState(); in setUp()
113 assertEquals(ImsPhoneCall.State.IDLE, mConnectionUT.getState()); in testImsIncomingConnectionCorrectness()
125 eq(ImsPhoneCall.State.INCOMING)); in testImsIncomingConnectionCorrectness()
134 eq(ImsPhoneCall.State.DIALING)); in testImsIncomingConnectionCorrectness()
DImsPhoneTest.java100 private ImsPhoneCall mForegroundCall;
102 private ImsPhoneCall mBackgroundCall;
104 private ImsPhoneCall mRingingCall;
213 verify(mImsCT).hangup(any(ImsPhoneCall.class)); in testHandleInCallMmiCommandCallWaiting()
DImsPhoneCallTrackerTest.java493 assertEquals(ImsPhoneCall.State.WAITING, mCTUT.mRingingCall.getState()); in testImsMTCallAcceptHold()
1069 when(mImsPhoneConnection.getState()).thenReturn(ImsPhoneCall.State.DISCONNECTED); in testNoHoldErrorMessageWhenCallDisconnected()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/vendor/
DVendorPhoneSwitcher.java49 import com.android.internal.telephony.imsphone.ImsPhoneCall;
86 private final ImsPhoneCall[] mFgImsCalls;
87 private final ImsPhoneCall[] mBgImsCalls;
88 private final ImsPhoneCall[] mRiImsCalls;
112 mFgImsCalls = new ImsPhoneCall[mActiveModemCount]; in VendorPhoneSwitcher()
113 mBgImsCalls = new ImsPhoneCall[mActiveModemCount]; in VendorPhoneSwitcher()
114 mRiImsCalls = new ImsPhoneCall[mActiveModemCount]; in VendorPhoneSwitcher()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DTelephonyTester.java39 import com.android.internal.telephony.imsphone.ImsPhoneCall;
270 ImsPhoneCall imsPhoneCall = imsPhone.getForegroundCall(); in handleHandoverFailedIntent()
320 ImsPhoneCall imsPhoneCall = imsPhone.getForegroundCall(); in handleTestConferenceEventPackage()
499 ImsPhoneCall imsPhoneCall = imsPhone.getForegroundCall(); in testImsECall()
DPhone.java80 import com.android.internal.telephony.imsphone.ImsPhoneCall;
2711 if (call instanceof ImsPhoneCall) { in isVideoCallOrConference()
2712 ImsPhoneCall imsPhoneCall = (ImsPhoneCall) call; in isVideoCallOrConference()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/
DVoiceCallSessionStatsTest.java59 import com.android.internal.telephony.imsphone.ImsPhoneCall;
102 @Mock private ImsPhoneCall mImsCall0;
103 @Mock private ImsPhoneCall mImsCall1;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DTelephonyMetrics.java79 import com.android.internal.telephony.imsphone.ImsPhoneCall;
1986 ImsPhoneCall.State callState) { in writeImsCallState()
/frameworks/base/config/
Dpreloaded-classes5029 com.android.internal.telephony.imsphone.ImsPhoneCall
Dboot-image-profile.txt23531 …phony/imsphone/ImsPhone;->getBackgroundCall()Lcom/android/internal/telephony/imsphone/ImsPhoneCall;
23535 …phony/imsphone/ImsPhone;->getForegroundCall()Lcom/android/internal/telephony/imsphone/ImsPhoneCall;
23540 …elephony/imsphone/ImsPhone;->getRingingCall()Lcom/android/internal/telephony/imsphone/ImsPhoneCall;
23563 HPLcom/android/internal/telephony/imsphone/ImsPhoneCall;->getPhone()Lcom/android/internal/telephony…
37959 Lcom/android/internal/telephony/imsphone/ImsPhoneCall;