/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | GsmCdmaCallTracker.java | 77 public GsmCdmaCall mRingingCall = new GsmCdmaCall(this); field in GsmCdmaCallTracker 119 toNotify.addAll(mRingingCall.getConnections()); 498 if (mRingingCall.getState() == GsmCdmaCall.State.INCOMING) { in acceptCall() 503 } else if (mRingingCall.getState() == GsmCdmaCall.State.WAITING) { in acceptCall() 507 GsmCdmaConnection cwConn = (GsmCdmaConnection)(mRingingCall.getLatestConnection()); in acceptCall() 513 cwConn.updateParent(mRingingCall, mForegroundCall); in acceptCall() 526 if (mRingingCall.getState().isRinging()) { in rejectCall() 542 if (mRingingCall.getState() == GsmCdmaCall.State.INCOMING) { in switchWaitingOrHoldingAndActive() 597 && !mRingingCall.isRinging() in canDial() 616 !mRingingCall.isRinging(), in canDial() [all …]
|
D | GsmCdmaConnection.java | 872 return mParent == null || mParent == mOwner.mRingingCall in isConnectingInOrOut() 892 return mOwner.mRingingCall; in parentFromDCState()
|
D | ServiceStateTracker.java | 4202 mPhone.mCT.mRingingCall.hangupIfAlive(); in powerOffRadioSafely() 4329 mPhone.mCT.mRingingCall.hangupIfAlive(); in hangupAndPowerOff()
|
D | GsmCdmaPhone.java | 848 return mCT.mRingingCall; in getRingingCall()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/ |
D | SipPhone.java | 61 private SipCall mRingingCall = new SipCall(); field in SipPhone 74 mRingingCall = new SipCall(); in SipPhone() 106 if (mRingingCall.getState().isAlive()) { in takeIncomingCall() 128 SipConnection connection = mRingingCall.initIncomingCall(sipAudioCall, in takeIncomingCall() 133 mRingingCall.reset(); in takeIncomingCall() 143 mRingingCall.reset(); in takeIncomingCall() 153 if ((mRingingCall.getState() == Call.State.INCOMING) || in acceptCall() 154 (mRingingCall.getState() == Call.State.WAITING)) { in acceptCall() 157 mRingingCall.setMute(false); in acceptCall() 158 mRingingCall.acceptCall(); in acceptCall() [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/ |
D | ImsPhoneCallTrackerTest.java | 226 assertFalse(mCTUT.mRingingCall.isRinging()); in testImsMTCall() 233 assertTrue(mCTUT.mRingingCall.isRinging()); in testImsMTCall() 234 assertEquals(1, mCTUT.mRingingCall.getConnections().size()); in testImsMTCall() 241 assertTrue(mCTUT.mRingingCall.isRinging()); in testImsMTCallAccept() 250 assertFalse(mCTUT.mRingingCall.isRinging()); in testImsMTCallAccept() 260 assertTrue(mCTUT.mRingingCall.isRinging()); in testImsMTCallReject() 268 assertFalse(mCTUT.mRingingCall.isRinging()); in testImsMTCallReject() 269 assertEquals(0, mCTUT.mRingingCall.getConnections().size()); in testImsMTCallReject() 310 assertEquals(ImsPhoneCall.State.WAITING, mCTUT.mRingingCall.getState()); in testImsMTCallAcceptHold() 324 assertFalse(mCTUT.mRingingCall.isRinging()); in testImsMTCallAcceptHold()
|
D | ImsPhoneTest.java | 78 private ImsPhoneCall mRingingCall; field in ImsPhoneTest 112 mImsCT.mRingingCall = mRingingCall; in setUp() 115 doReturn(Call.State.IDLE).when(mRingingCall).getState(); in setUp() 145 doReturn(Call.State.INCOMING).when(mRingingCall).getState(); in testHandleInCallMmiCommandCallDeflection() 155 doReturn(Call.State.IDLE).when(mRingingCall).getState(); in testHandleInCallMmiCommandCallDeflection() 183 doReturn(Call.State.INCOMING).when(mRingingCall).getState(); in testHandleInCallMmiCommandCallWaiting() 209 doReturn(Call.State.INCOMING).when(mRingingCall).getState(); in testHandleInCallMmiCommandCallHold() 320 assertEquals(mRingingCall, mImsPhoneUT.getRingingCall()); in testGettersAndPassThroughs()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | CallManagerTest.java | 57 GsmCdmaCall mRingingCall; field in CallManagerTest 106 doReturn(mRingingCall).when(mPhone).getRingingCall(); in setUp() 109 doReturn(mPhone).when(mRingingCall).getPhone(); in setUp() 112 doReturn(Call.State.IDLE).when(mRingingCall).getState(); in setUp() 115 doReturn(true).when(mRingingCall).isIdle(); in setUp() 155 CallManager.getInstance().acceptCall(mRingingCall); in testBasicAcceptCall() 162 CallManager.getInstance().rejectCall(mRingingCall); in testBasicRejectCall()
|
D | DefaultPhoneNotifierTest.java | 59 GsmCdmaCall mRingingCall; field in DefaultPhoneNotifierTest 194 doReturn(Call.State.IDLE).when(mRingingCall).getState(); in testNotifyPreciseCallState() 210 doReturn(mRingingCall).when(mPhone).getRingingCall(); in testNotifyPreciseCallState() 231 doReturn(Call.State.ALERTING).when(mRingingCall).getState(); in testNotifyPreciseCallState()
|
D | GsmCdmaCallTrackerTest.java | 227 assertEquals(0, mCTUT.mRingingCall.getConnections().size()); in testMTCallRinging() 234 assertEquals(1, mCTUT.mRingingCall.getConnections().size()); in testMTCallRinging() 255 assertEquals(0, mCTUT.mRingingCall.getConnections().size()); in testMTCallAccept() 264 Connection mConnection = mCTUT.mRingingCall.getConnections().get(0); in testMTCallReject()
|
D | GsmCdmaConnectionTest.java | 48 mCT.mRingingCall = new GsmCdmaCall(mCT); in setUp()
|
D | GsmCdmaPhoneTest.java | 261 mCT.mRingingCall = mGsmCdmaCall; in testHandleInCallMmiCommands() 289 mCT.mRingingCall = mGsmCdmaCall; in testDial()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ |
D | ImsPhoneCallTracker.java | 131 (isUnknown? mForegroundCall: mRingingCall), isUnknown); 186 public ImsPhoneCall mRingingCall = new ImsPhoneCall(this, ImsPhoneCall.CONTEXT_RINGING); field in ImsPhoneCallTracker 285 mRingingCall.dispose(); in dispose() 548 if ((mRingingCall.getState() == ImsPhoneCall.State.WAITING) in acceptCall() 554 } else if (mRingingCall.getState().isRinging()) { in acceptCall() 559 ImsCall imsCall = mRingingCall.getImsCall(); in acceptCall() 577 if (mRingingCall.getState().isRinging()) { in rejectCall() 578 hangup(mRingingCall); in rejectCall() 598 if (mRingingCall.getState() == ImsPhoneCall.State.INCOMING) { in switchWaitingOrHoldingAndActive() 710 && !mRingingCall.isRinging() in canDial() [all …]
|
D | ImsPhone.java | 323 return mCT.mRingingCall; in getRingingCall()
|