/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | GsmCdmaCallTrackerTest.java | 108 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 …]
|
D | GsmCdmaConnectionTest.java | 46 mCT.mForegroundCall = new GsmCdmaCall(mCT); in setUp()
|
D | GsmCdmaPhoneTest.java | 298 mCT.mForegroundCall = mGsmCdmaCall; in testHandleInCallMmiCommands() 326 mCT.mForegroundCall = mGsmCdmaCall; in testDial()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/ |
D | SipPhone.java | 62 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/ |
D | ImsPhoneCallTracker.java | 186 + " 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 …]
|
D | ImsPhoneConnection.java | 743 mParent = mOwner.mForegroundCall; in update()
|
D | ImsPhone.java | 431 return mCT.mForegroundCall; in getForegroundCall()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | GsmCdmaCallTracker.java | 87 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 …]
|
D | GsmCdmaConnection.java | 973 return mOwner.mForegroundCall; in parentFromDCState()
|
D | ServiceStateTracker.java | 4490 mPhone.mCT.mForegroundCall.hangupIfAlive(); in powerOffRadioSafely() 4693 mPhone.mCT.mForegroundCall.hangupIfAlive(); in hangupAndPowerOff()
|
D | GsmCdmaPhone.java | 916 return mCT.mForegroundCall; in getForegroundCall()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/ |
D | ImsPhoneCallTrackerTest.java | 382 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 …]
|
D | ImsPhoneTest.java | 86 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/ |
D | hiddenapi-greylist.txt | 1430 Lcom/android/internal/telephony/sip/SipPhone;->mForegroundCall:Lcom/android/internal/telephony/sip/…
|