Home
last modified time | relevance | path

Searched refs:mForegroundCall (Results 1 – 14 of 14) sorted by relevance

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DGsmCdmaCallTrackerTest.java108 assertEquals(GsmCdmaCall.State.IDLE, mCTUT.mForegroundCall.getState()); in testMOCallDial()
110 assertEquals(0, mCTUT.mForegroundCall.getConnections().size()); in testMOCallDial()
120 assertEquals(GsmCdmaCall.State.DIALING, mCTUT.mForegroundCall.getState()); in testMOCallDial()
121 assertEquals(1, mCTUT.mForegroundCall.getConnections().size()); in testMOCallDial()
137 assertEquals(GsmCdmaCall.State.ACTIVE, mCTUT.mForegroundCall.getState()); in testMOCallPickUp()
149 assertEquals(GsmCdmaCall.State.DIALING, mCTUT.mForegroundCall.getState()); in testMOCallHangup()
151 assertEquals(1, mCTUT.mForegroundCall.getConnections().size()); in testMOCallHangup()
154 mCTUT.hangup(mCTUT.mForegroundCall); in testMOCallHangup()
160 assertEquals(GsmCdmaCall.State.IDLE, mCTUT.mForegroundCall.getState()); in testMOCallHangup()
161 assertEquals(0, mCTUT.mForegroundCall.getConnections().size()); in testMOCallHangup()
[all …]
DGsmCdmaConnectionTest.java46 mCT.mForegroundCall = new GsmCdmaCall(mCT); in setUp()
DGsmCdmaPhoneTest.java298 mCT.mForegroundCall = mGsmCdmaCall; in testHandleInCallMmiCommands()
326 mCT.mForegroundCall = mGsmCdmaCall; in testDial()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/
DSipPhone.java62 private SipCall mForegroundCall = new SipCall(); field in SipPhone
75 mForegroundCall = new SipCall(); in SipPhone()
113 if (mForegroundCall.getState().isAlive() in takeIncomingCall()
127 boolean makeCallWait = mForegroundCall.getState().isAlive(); in takeIncomingCall()
200 if (mForegroundCall.getState() == SipCall.State.ACTIVE) { in dialInternal()
203 if (mForegroundCall.getState() != SipCall.State.IDLE) { in dialInternal()
208 mForegroundCall.setMute(false); in dialInternal()
210 Connection c = mForegroundCall.dial(dialString); in dialInternal()
229 mForegroundCall.switchWith(mBackgroundCall); in switchHoldingAndActive()
231 if (mForegroundCall.getState().isAlive()) mForegroundCall.unhold(); in switchHoldingAndActive()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhoneCallTracker.java186 + " fg = " + mForegroundCall.getState() in onIncomingCall()
194 (isUnknown ? mForegroundCall : mRingingCall), isUnknown); in onIncomingCall()
197 if (mForegroundCall.hasConnections()) { in onIncomingCall()
198 ImsCall activeCall = mForegroundCall.getFirstConnection().getImsCall(); in onIncomingCall()
219 if ((mForegroundCall.getState() != ImsPhoneCall.State.IDLE) in onIncomingCall()
340 public ImsPhoneCall mForegroundCall = new ImsPhoneCall(this, field in ImsPhoneCallTracker
693 mForegroundCall.dispose(); in dispose()
805 if (mForegroundCall.getState() == ImsPhoneCall.State.ACTIVE) { in dial()
826 fgState = mForegroundCall.getState(); in dial()
843 checkForTestEmergencyNumber(dialString), this, mForegroundCall, in dial()
[all …]
DImsPhoneConnection.java743 mParent = mOwner.mForegroundCall; in update()
DImsPhone.java431 return mCT.mForegroundCall; in getForegroundCall()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DGsmCdmaCallTracker.java87 public GsmCdmaCall mForegroundCall = new GsmCdmaCall(this); field in GsmCdmaCallTracker
132 toNotify.addAll(mForegroundCall.getConnections());
267 connCopy = (List<Connection>) mForegroundCall.mConnections.clone(); in fakeHoldForegroundBeforeDial()
297 if (mForegroundCall.getState() == GsmCdmaCall.State.ACTIVE) { in dialGsm()
319 if (mForegroundCall.getState() != GsmCdmaCall.State.IDLE) { in dialGsm()
325 this, mForegroundCall, isEmergencyCall); in dialGsm()
443 if (mForegroundCall.getState() == GsmCdmaCall.State.ACTIVE) { in dialCdma()
448 this, mForegroundCall, isEmergencyCall); in dialCdma()
499 if (!mForegroundCall.isIdle()) { in dialThreeWay()
505 checkForTestEmergencyNumber(dialString), this, mForegroundCall, in dialThreeWay()
[all …]
DGsmCdmaConnection.java973 return mOwner.mForegroundCall; in parentFromDCState()
DServiceStateTracker.java4490 mPhone.mCT.mForegroundCall.hangupIfAlive(); in powerOffRadioSafely()
4693 mPhone.mCT.mForegroundCall.hangupIfAlive(); in hangupAndPowerOff()
DGsmCdmaPhone.java916 return mCT.mForegroundCall; in getForegroundCall()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
DImsPhoneCallTrackerTest.java382 assertEquals(Call.State.ACTIVE, mCTUT.mForegroundCall.getState()); in testImsMTCallAccept()
383 assertEquals(1, mCTUT.mForegroundCall.getConnections().size()); in testImsMTCallAccept()
407 assertEquals(Call.State.ACTIVE, mCTUT.mForegroundCall.getState()); in testImsMTCallAcceptHangUp()
410 mCTUT.hangup(mCTUT.mForegroundCall); in testImsMTCallAcceptHangUp()
416 assertEquals(Call.State.IDLE, mCTUT.mForegroundCall.getState()); in testImsMTCallAcceptHangUp()
424 assertEquals(Call.State.ACTIVE, mCTUT.mForegroundCall.getState()); in testImsMTCallAcceptHold()
438 assertEquals(Call.State.ACTIVE, mCTUT.mForegroundCall.getState()); in testImsMTCallAcceptHold()
452 assertEquals(Call.State.ACTIVE, mCTUT.mForegroundCall.getState()); in testImsMTCallAcceptHold()
529 assertEquals(Call.State.ALERTING, mCTUT.mForegroundCall.getState()); in testImsMOCallDial()
533 assertEquals(Call.State.IDLE, mCTUT.mForegroundCall.getState()); in startOutgoingCall()
[all …]
DImsPhoneTest.java86 private ImsPhoneCall mForegroundCall; field in ImsPhoneTest
123 mImsCT.mForegroundCall = mForegroundCall; in setUp()
126 doReturn(Call.State.IDLE).when(mForegroundCall).getState(); in setUp()
179 doReturn(Call.State.ACTIVE).when(mForegroundCall).getState(); in testHandleInCallMmiCommandCallWaiting()
197 doReturn(Call.State.IDLE).when(mForegroundCall).getState(); in testHandleInCallMmiCommandCallWaiting()
206 doReturn(Call.State.ACTIVE).when(mForegroundCall).getState(); in testHandleInCallMmiCommandCallHold()
232 doReturn(Call.State.ACTIVE).when(mForegroundCall).getState(); in testHandleInCallMmiCommandMultiparty()
245 doReturn(Call.State.ACTIVE).when(mForegroundCall).getState(); in testHandleInCallMmiCommandCallEct()
262 doReturn(Call.State.ACTIVE).when(mForegroundCall).getState(); in testHandleInCallMmiCommandCallCcbs()
331 assertEquals(mForegroundCall, mImsPhoneUT.getForegroundCall()); in testGettersAndPassThroughs()
/frameworks/base/config/
Dhiddenapi-greylist.txt1430 Lcom/android/internal/telephony/sip/SipPhone;->mForegroundCall:Lcom/android/internal/telephony/sip/…