/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/src/java/com/android/internal/telephony/ |
D | GsmCdmaCallTracker.java | 81 public GsmCdmaCall mRingingCall = new GsmCdmaCall(this); field in GsmCdmaCallTracker 123 toNotify.addAll(mRingingCall.getConnections()); 523 if (mRingingCall.getState() == GsmCdmaCall.State.INCOMING) { in acceptCall() 528 } else if (mRingingCall.getState() == GsmCdmaCall.State.WAITING) { in acceptCall() 532 GsmCdmaConnection cwConn = (GsmCdmaConnection)(mRingingCall.getLatestConnection()); in acceptCall() 538 cwConn.updateParent(mRingingCall, mForegroundCall); in acceptCall() 551 if (mRingingCall.getState().isRinging()) { in rejectCall() 567 if (mRingingCall.getState() == GsmCdmaCall.State.INCOMING) { in switchWaitingOrHoldingAndActive() 622 && !mRingingCall.isRinging() in canDial() 641 !mRingingCall.isRinging(), in canDial() [all …]
|
D | GsmCdmaConnection.java | 921 return mParent == null || mParent == mOwner.mRingingCall in isConnectingInOrOut() 941 return mOwner.mRingingCall; in parentFromDCState()
|
D | ServiceStateTracker.java | 3952 mPhone.mCT.mRingingCall.hangupIfAlive(); in powerOffRadioSafely() 4168 mPhone.mCT.mRingingCall.hangupIfAlive(); in hangupAndPowerOff()
|
D | GsmCdmaPhone.java | 840 return mCT.mRingingCall; in getRingingCall()
|
/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() 157 CallManager.getInstance().acceptCall(mRingingCall); in testBasicAcceptCall() 164 CallManager.getInstance().rejectCall(mRingingCall); in testBasicRejectCall()
|
D | DefaultPhoneNotifierTest.java | 61 GsmCdmaCall mRingingCall; field in DefaultPhoneNotifierTest 196 doReturn(Call.State.IDLE).when(mRingingCall).getState(); in testNotifyPreciseCallState() 212 doReturn(mRingingCall).when(mPhone).getRingingCall(); in testNotifyPreciseCallState() 233 doReturn(Call.State.ALERTING).when(mRingingCall).getState(); in testNotifyPreciseCallState()
|
D | GsmCdmaCallTrackerTest.java | 241 assertEquals(0, mCTUT.mRingingCall.getConnections().size()); in testMTCallRinging() 248 assertEquals(1, mCTUT.mRingingCall.getConnections().size()); in testMTCallRinging() 271 assertEquals(0, mCTUT.mRingingCall.getConnections().size()); in testMTCallAccept() 280 Connection connection = mCTUT.mRingingCall.getConnections().get(0); in testMTCallReject() 412 assertEquals(GsmCdmaCall.State.IDLE, mCTUT.mRingingCall.getState()); in testUpdatePhoneType()
|
D | GsmCdmaConnectionTest.java | 48 mCT.mRingingCall = new GsmCdmaCall(mCT); in setUp()
|
D | GsmCdmaPhoneTest.java | 334 mCT.mRingingCall = mGsmCdmaCall; in testHandleInCallMmiCommands() 362 mCT.mRingingCall = mGsmCdmaCall; in testDial()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/ |
D | ImsPhoneCallTrackerTest.java | 346 assertFalse(mCTUT.mRingingCall.isRinging()); in testImsMTCall() 352 assertTrue(mCTUT.mRingingCall.isRinging()); in testImsMTCall() 353 assertEquals(1, mCTUT.mRingingCall.getConnections().size()); in testImsMTCall() 355 (ImsPhoneConnection) mCTUT.mRingingCall.getConnections().get(0); in testImsMTCall() 363 assertTrue(mCTUT.mRingingCall.isRinging()); in testImsMTCallAccept() 372 assertFalse(mCTUT.mRingingCall.isRinging()); in testImsMTCallAccept() 382 assertTrue(mCTUT.mRingingCall.isRinging()); in testImsMTCallReject() 390 assertFalse(mCTUT.mRingingCall.isRinging()); in testImsMTCallReject() 391 assertEquals(0, mCTUT.mRingingCall.getConnections().size()); in testImsMTCallReject() 431 assertEquals(ImsPhoneCall.State.WAITING, mCTUT.mRingingCall.getState()); in testImsMTCallAcceptHold() [all …]
|
D | ImsPhoneTest.java | 85 private ImsPhoneCall mRingingCall; field in ImsPhoneTest 120 mImsCT.mRingingCall = mRingingCall; in setUp() 123 doReturn(Call.State.IDLE).when(mRingingCall).getState(); in setUp() 155 doReturn(Call.State.INCOMING).when(mRingingCall).getState(); in testHandleInCallMmiCommandCallDeflection() 165 doReturn(Call.State.IDLE).when(mRingingCall).getState(); in testHandleInCallMmiCommandCallDeflection() 193 doReturn(Call.State.INCOMING).when(mRingingCall).getState(); in testHandleInCallMmiCommandCallWaiting() 219 doReturn(Call.State.INCOMING).when(mRingingCall).getState(); in testHandleInCallMmiCommandCallHold() 330 assertEquals(mRingingCall, mImsPhoneUT.getRingingCall()); in testGettersAndPassThroughs()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ |
D | ImsPhoneCallTracker.java | 177 (isUnknown ? mForegroundCall : mRingingCall), isUnknown); in onIncomingCall() 290 public ImsPhoneCall mRingingCall = new ImsPhoneCall(this, ImsPhoneCall.CONTEXT_RINGING); field in ImsPhoneCallTracker 817 mRingingCall.dispose(); in dispose() 1236 if ((mRingingCall.getState() == ImsPhoneCall.State.WAITING) in acceptCall() 1242 ImsCall ringingCall = mRingingCall.getImsCall(); in acceptCall() 1243 if (mForegroundCall.hasConnections() && mRingingCall.hasConnections()) { in acceptCall() 1262 } else if (mRingingCall.getState().isRinging()) { in acceptCall() 1267 ImsCall imsCall = mRingingCall.getImsCall(); in acceptCall() 1286 if (mRingingCall.getState().isRinging()) { in rejectCall() 1287 hangup(mRingingCall); in rejectCall() [all …]
|
D | ImsPhone.java | 406 return mCT.mRingingCall; in getRingingCall()
|