Searched refs:mRingingCall (Results 1 - 14 of 14) sorted by relevance

/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DGsmCdmaCallTracker.java81 public GsmCdmaCall mRingingCall = new GsmCdmaCall(this); field in class:GsmCdmaCallTracker
123 toNotify.addAll(mRingingCall.getConnections());
523 if (mRingingCall.getState() == GsmCdmaCall.State.INCOMING) {
528 } else if (mRingingCall.getState() == GsmCdmaCall.State.WAITING) {
532 GsmCdmaConnection cwConn = (GsmCdmaConnection)(mRingingCall.getLatestConnection());
538 cwConn.updateParent(mRingingCall, mForegroundCall);
551 if (mRingingCall.getState().isRinging()) {
567 if (mRingingCall.getState() == GsmCdmaCall.State.INCOMING) {
622 && !mRingingCall.isRinging()
641 !mRingingCall
[all...]
H A DGsmCdmaConnection.java921 return mParent == null || mParent == mOwner.mRingingCall
941 return mOwner.mRingingCall;
H A DServiceStateTracker.java3952 mPhone.mCT.mRingingCall.hangupIfAlive();
4168 mPhone.mCT.mRingingCall.hangupIfAlive();
H A DGsmCdmaPhone.java840 return mCT.mRingingCall;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/
H A DSipPhone.java61 private SipCall mRingingCall = new SipCall(); field in class:SipPhone
74 mRingingCall = new SipCall();
106 if (mRingingCall.getState().isAlive()) {
128 SipConnection connection = mRingingCall.initIncomingCall(sipAudioCall,
133 mRingingCall.reset();
143 mRingingCall.reset();
153 if ((mRingingCall.getState() == Call.State.INCOMING) ||
154 (mRingingCall.getState() == Call.State.WAITING)) {
157 mRingingCall.setMute(false);
158 mRingingCall
[all...]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A DCallManagerTest.java57 GsmCdmaCall mRingingCall; field in class:CallManagerTest
106 doReturn(mRingingCall).when(mPhone).getRingingCall();
109 doReturn(mPhone).when(mRingingCall).getPhone();
112 doReturn(Call.State.IDLE).when(mRingingCall).getState();
115 doReturn(true).when(mRingingCall).isIdle();
157 CallManager.getInstance().acceptCall(mRingingCall);
164 CallManager.getInstance().rejectCall(mRingingCall);
H A DDefaultPhoneNotifierTest.java61 GsmCdmaCall mRingingCall; field in class:DefaultPhoneNotifierTest
196 doReturn(Call.State.IDLE).when(mRingingCall).getState();
212 doReturn(mRingingCall).when(mPhone).getRingingCall();
233 doReturn(Call.State.ALERTING).when(mRingingCall).getState();
H A DGsmCdmaCallTrackerTest.java241 assertEquals(0, mCTUT.mRingingCall.getConnections().size());
248 assertEquals(1, mCTUT.mRingingCall.getConnections().size());
271 assertEquals(0, mCTUT.mRingingCall.getConnections().size());
280 Connection connection = mCTUT.mRingingCall.getConnections().get(0);
412 assertEquals(GsmCdmaCall.State.IDLE, mCTUT.mRingingCall.getState());
H A DGsmCdmaConnectionTest.java48 mCT.mRingingCall = new GsmCdmaCall(mCT);
H A DGsmCdmaPhoneTest.java334 mCT.mRingingCall = mGsmCdmaCall;
362 mCT.mRingingCall = mGsmCdmaCall;
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
H A DImsPhoneCallTrackerTest.java346 assertFalse(mCTUT.mRingingCall.isRinging());
352 assertTrue(mCTUT.mRingingCall.isRinging());
353 assertEquals(1, mCTUT.mRingingCall.getConnections().size());
355 (ImsPhoneConnection) mCTUT.mRingingCall.getConnections().get(0);
363 assertTrue(mCTUT.mRingingCall.isRinging());
372 assertFalse(mCTUT.mRingingCall.isRinging());
382 assertTrue(mCTUT.mRingingCall.isRinging());
390 assertFalse(mCTUT.mRingingCall.isRinging());
391 assertEquals(0, mCTUT.mRingingCall.getConnections().size());
431 assertEquals(ImsPhoneCall.State.WAITING, mCTUT.mRingingCall
[all...]
H A DImsPhoneTest.java85 private ImsPhoneCall mRingingCall; field in class:ImsPhoneTest
120 mImsCT.mRingingCall = mRingingCall;
123 doReturn(Call.State.IDLE).when(mRingingCall).getState();
155 doReturn(Call.State.INCOMING).when(mRingingCall).getState();
165 doReturn(Call.State.IDLE).when(mRingingCall).getState();
193 doReturn(Call.State.INCOMING).when(mRingingCall).getState();
219 doReturn(Call.State.INCOMING).when(mRingingCall).getState();
330 assertEquals(mRingingCall, mImsPhoneUT.getRingingCall());
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
H A DImsPhoneCallTracker.java177 (isUnknown ? mForegroundCall : mRingingCall), isUnknown);
290 public ImsPhoneCall mRingingCall = new ImsPhoneCall(this, ImsPhoneCall.CONTEXT_RINGING); field in class:ImsPhoneCallTracker
817 mRingingCall.dispose();
1236 if ((mRingingCall.getState() == ImsPhoneCall.State.WAITING)
1242 ImsCall ringingCall = mRingingCall.getImsCall();
1243 if (mForegroundCall.hasConnections() && mRingingCall.hasConnections()) {
1262 } else if (mRingingCall.getState().isRinging()) {
1267 ImsCall imsCall = mRingingCall.getImsCall();
1286 if (mRingingCall.getState().isRinging()) {
1287 hangup(mRingingCall);
[all...]
H A DImsPhone.java406 return mCT.mRingingCall;

Completed in 76 milliseconds