/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/ |
D | SipPhone.java | 61 private SipCall mRingingCall = new SipCall(); field in SipPhone 76 mRingingCall = new SipCall(); in SipPhone() 108 if (mRingingCall.getState().isAlive()) { in takeIncomingCall() 130 SipConnection connection = mRingingCall.initIncomingCall(sipAudioCall, in takeIncomingCall() 135 mRingingCall.reset(); in takeIncomingCall() 145 mRingingCall.reset(); in takeIncomingCall() 155 if ((mRingingCall.getState() == Call.State.INCOMING) || in acceptCall() 156 (mRingingCall.getState() == Call.State.WAITING)) { in acceptCall() 159 mRingingCall.setMute(false); in acceptCall() 160 mRingingCall.acceptCall(); in acceptCall() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | GsmCdmaCallTracker.java | 84 public GsmCdmaCall mRingingCall = new GsmCdmaCall(this); field in GsmCdmaCallTracker 131 toNotify.addAll(mRingingCall.getConnections()); 551 if (mRingingCall.getState() == GsmCdmaCall.State.INCOMING) { in acceptCall() 555 mPhone.getVoiceCallSessionStats().onRilAcceptCall(mRingingCall.getConnections()); in acceptCall() 557 } else if (mRingingCall.getState() == GsmCdmaCall.State.WAITING) { in acceptCall() 561 GsmCdmaConnection cwConn = (GsmCdmaConnection)(mRingingCall.getLatestConnection()); in acceptCall() 567 cwConn.updateParent(mRingingCall, mForegroundCall); in acceptCall() 580 if (mRingingCall.getState().isRinging()) { in rejectCall() 597 if (mRingingCall.getState() == GsmCdmaCall.State.INCOMING) { in switchWaitingOrHoldingAndActive() 665 if (mRingingCall.isRinging()) { in checkForDialIssues() [all …]
|
D | GsmCdmaConnection.java | 973 return mParent == null || mParent == mOwner.mRingingCall in isConnectingInOrOut() 993 return mOwner.mRingingCall; in parentFromDCState()
|
D | GsmCdmaPhone.java | 1032 if (!mCT.mRingingCall.isRinging() in getRingingCall() 1038 return mCT.mRingingCall; in getRingingCall()
|
D | ServiceStateTracker.java | 4683 mPhone.mCT.mRingingCall.hangupIfAlive(); in powerOffRadioSafely() 4919 mPhone.mCT.mRingingCall.hangupIfAlive(); in hangupAndPowerOff()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | CallManagerTest.java | 60 GsmCdmaCall mRingingCall; field in CallManagerTest 72 doReturn(mRingingCall).when(mPhone).getRingingCall(); in setUp() 75 doReturn(mPhone).when(mRingingCall).getPhone(); in setUp() 78 doReturn(Call.State.IDLE).when(mRingingCall).getState(); in setUp() 81 doReturn(true).when(mRingingCall).isIdle(); in setUp() 123 CallManager.getInstance().rejectCall(mRingingCall); in testBasicRejectCall()
|
D | DefaultPhoneNotifierTest.java | 62 GsmCdmaCall mRingingCall; field in DefaultPhoneNotifierTest 198 doReturn(Call.State.IDLE).when(mRingingCall).getState(); in testNotifyPreciseCallState() 214 doReturn(mRingingCall).when(mPhone).getRingingCall(); in testNotifyPreciseCallState() 241 doReturn(Call.State.ALERTING).when(mRingingCall).getState(); in testNotifyPreciseCallState()
|
D | GsmCdmaCallTrackerTest.java | 232 assertEquals(0, mCTUT.mRingingCall.getConnections().size()); in setupRingingCall() 240 assertEquals(1, mCTUT.mRingingCall.getConnections().size()); in setupRingingCall() 266 assertEquals(0, mCTUT.mRingingCall.getConnections().size()); in testMTCallAccept() 279 Connection connection = mCTUT.mRingingCall.getConnections().get(0); in testMTCallReject() 405 assertEquals(GsmCdmaCall.State.IDLE, mCTUT.mRingingCall.getState()); in testUpdatePhoneType()
|
D | GsmCdmaConnectionTest.java | 55 mCT.mRingingCall = new GsmCdmaCall(mCT); in setUp()
|
D | GsmCdmaPhoneTest.java | 454 mCT.mRingingCall = mGsmCdmaCall; in testHandleInCallMmiCommands() 482 mCT.mRingingCall = mGsmCdmaCall; in testDial()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/ |
D | ImsPhoneCallTrackerTest.java | 340 assertFalse(mCTUT.mRingingCall.isRinging()); in testImsMTCall() 346 assertTrue(mCTUT.mRingingCall.isRinging()); in testImsMTCall() 347 assertEquals(1, mCTUT.mRingingCall.getConnections().size()); in testImsMTCall() 349 (ImsPhoneConnection) mCTUT.mRingingCall.getConnections().get(0); in testImsMTCall() 359 assertTrue(mCTUT.mRingingCall.isRinging()); in testImsMTCallAccept() 368 assertFalse(mCTUT.mRingingCall.isRinging()); in testImsMTCallAccept() 445 assertTrue(mCTUT.mRingingCall.isRinging()); in testImsMTCallReject() 453 assertFalse(mCTUT.mRingingCall.isRinging()); in testImsMTCallReject() 454 assertEquals(0, mCTUT.mRingingCall.getConnections().size()); in testImsMTCallReject() 494 assertEquals(ImsPhoneCall.State.WAITING, mCTUT.mRingingCall.getState()); in testImsMTCallAcceptHold() [all …]
|
D | ImsPhoneTest.java | 101 private ImsPhoneCall mRingingCall; field in ImsPhoneTest 132 mImsCT.mRingingCall = mRingingCall; in setUp() 135 doReturn(Call.State.IDLE).when(mRingingCall).getState(); in setUp() 176 doReturn(Call.State.INCOMING).when(mRingingCall).getState(); in testHandleInCallMmiCommandCallDeflection() 186 doReturn(Call.State.IDLE).when(mRingingCall).getState(); in testHandleInCallMmiCommandCallDeflection() 214 doReturn(Call.State.INCOMING).when(mRingingCall).getState(); in testHandleInCallMmiCommandCallWaiting() 254 doReturn(Call.State.INCOMING).when(mRingingCall).getState(); in testHandleInCallMmiCommandCallHold() 359 assertEquals(mRingingCall, mImsPhoneUT.getRingingCall()); in testGettersAndPassThroughs()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ |
D | ImsPhoneCallTracker.java | 208 (isUnknown ? mForegroundCall : mRingingCall), isUnknown); in onIncomingCall() 425 public ImsPhoneCall mRingingCall = new ImsPhoneCall(this, ImsPhoneCall.CONTEXT_RINGING); field in ImsPhoneCallTracker 1038 mRingingCall.dispose(); in dispose() 1558 if ((mRingingCall.getState() == ImsPhoneCall.State.WAITING) in acceptCall() 1564 ImsCall ringingCall = mRingingCall.getImsCall(); in acceptCall() 1565 if (mForegroundCall.hasConnections() && mRingingCall.hasConnections()) { in acceptCall() 1576 mPhone.getVoiceCallSessionStats().onImsAcceptCall(mRingingCall.getConnections()); in acceptCall() 1585 } else if (mRingingCall.getState().isRinging()) { in acceptCall() 1590 ImsCall imsCall = mRingingCall.getImsCall(); in acceptCall() 1593 mRingingCall.getConnections()); in acceptCall() [all …]
|
D | ImsPhone.java | 497 return mCT.mRingingCall; in getRingingCall()
|