HomeSort by relevance Sort by last modified time
    Searched refs:mForegroundCall (Results 1 - 17 of 17) sorted by null

  /frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
GsmCdmaCallTrackerTest.java 93 assertEquals(GsmCdmaCall.State.IDLE, mCTUT.mForegroundCall.getState());
95 assertEquals(0, mCTUT.mForegroundCall.getConnections().size());
104 assertEquals(GsmCdmaCall.State.DIALING, mCTUT.mForegroundCall.getState());
105 assertEquals(1, mCTUT.mForegroundCall.getConnections().size());
122 assertEquals(GsmCdmaCall.State.ACTIVE, mCTUT.mForegroundCall.getState());
132 assertEquals(GsmCdmaCall.State.DIALING, mCTUT.mForegroundCall.getState());
134 assertEquals(1, mCTUT.mForegroundCall.getConnections().size());
137 mCTUT.hangup(mCTUT.mForegroundCall);
143 assertEquals(GsmCdmaCall.State.IDLE, mCTUT.mForegroundCall.getState());
144 assertEquals(0, mCTUT.mForegroundCall.getConnections().size())
    [all...]
GsmCdmaConnectionTest.java 46 mCT.mForegroundCall = new GsmCdmaCall(mCT);
GsmCdmaPhoneTest.java 259 mCT.mForegroundCall = mGsmCdmaCall;
287 mCT.mForegroundCall = mGsmCdmaCall;
  /packages/services/Telecomm/src/com/android/server/telecom/
CallAudioManager.java 56 private Call mForegroundCall;
220 if (mForegroundCall == call) {
243 if (call != mForegroundCall) {
276 if (call != mForegroundCall) {
286 if (call == mForegroundCall && shouldRingback) {
350 return mForegroundCall;
354 if (mForegroundCall != null && mForegroundCall.getState() != CallState.ON_HOLD) {
355 return mForegroundCall;
426 mRinger.startRinging(mForegroundCall);
    [all...]
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/
SipPhone.java 62 private SipCall mForegroundCall = new SipCall();
75 mForegroundCall = new SipCall();
113 if (mForegroundCall.getState().isAlive()
127 boolean makeCallWait = mForegroundCall.getState().isAlive();
200 if (mForegroundCall.getState() == SipCall.State.ACTIVE) {
203 if (mForegroundCall.getState() != SipCall.State.IDLE) {
208 mForegroundCall.setMute(false);
210 Connection c = mForegroundCall.dial(dialString);
229 mForegroundCall.switchWith(mBackgroundCall);
231 if (mForegroundCall.getState().isAlive()) mForegroundCall.unhold()
    [all...]
  /frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
ImsPhoneCallTrackerTest.java 252 assertEquals(Call.State.ACTIVE, mCTUT.mForegroundCall.getState());
253 assertEquals(1, mCTUT.mForegroundCall.getConnections().size());
277 assertEquals(Call.State.ACTIVE, mCTUT.mForegroundCall.getState());
280 mCTUT.hangup(mCTUT.mForegroundCall);
286 assertEquals(Call.State.IDLE, mCTUT.mForegroundCall.getState());
294 assertEquals(Call.State.ACTIVE, mCTUT.mForegroundCall.getState());
309 assertEquals(Call.State.ACTIVE, mCTUT.mForegroundCall.getState());
323 assertEquals(Call.State.ACTIVE, mCTUT.mForegroundCall.getState());
331 assertEquals(Call.State.IDLE, mCTUT.mForegroundCall.getState());
342 assertEquals(Call.State.DIALING, mCTUT.mForegroundCall.getState())
    [all...]
ImsPhoneTest.java 80 private ImsPhoneCall mForegroundCall;
116 mImsCT.mForegroundCall = mForegroundCall;
119 doReturn(Call.State.IDLE).when(mForegroundCall).getState();
170 doReturn(Call.State.ACTIVE).when(mForegroundCall).getState();
188 doReturn(Call.State.IDLE).when(mForegroundCall).getState();
197 doReturn(Call.State.ACTIVE).when(mForegroundCall).getState();
223 doReturn(Call.State.ACTIVE).when(mForegroundCall).getState();
236 doReturn(Call.State.ACTIVE).when(mForegroundCall).getState();
253 doReturn(Call.State.ACTIVE).when(mForegroundCall).getState()
    [all...]
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/
GsmCdmaCallTracker.java 79 public GsmCdmaCall mForegroundCall = new GsmCdmaCall(this);
120 toNotify.addAll(mForegroundCall.getConnections());
246 connCopy = (List<Connection>) mForegroundCall.mConnections.clone();
275 if (mForegroundCall.getState() == GsmCdmaCall.State.ACTIVE) {
297 if (mForegroundCall.getState() != GsmCdmaCall.State.IDLE) {
304 this, mForegroundCall, isEmergencyCall);
410 if (mForegroundCall.getState() == GsmCdmaCall.State.ACTIVE) {
415 this, mForegroundCall, isEmergencyCall);
457 if (!mForegroundCall.isIdle()) {
463 checkForTestEmergencyNumber(dialString), this, mForegroundCall,
    [all...]
GsmCdmaConnection.java 895 return mOwner.mForegroundCall;
    [all...]
ServiceStateTracker.java     [all...]
GsmCdmaPhone.java 840 return mCT.mForegroundCall;
    [all...]
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
ImsPhoneCallTracker.java 143 " fg = " + mForegroundCall.getState() +
151 (isUnknown? mForegroundCall: mRingingCall), isUnknown);
154 if (mForegroundCall.hasConnections()) {
155 ImsCall activeCall = mForegroundCall.getFirstConnection().getImsCall();
170 if ((mForegroundCall.getState() != ImsPhoneCall.State.IDLE) ||
227 public ImsPhoneCall mForegroundCall = new ImsPhoneCall(this,
386 mForegroundCall.dispose();
471 if (mForegroundCall.getState() == ImsPhoneCall.State.ACTIVE) {
491 fgState = mForegroundCall.getState();
506 checkForTestEmergencyNumber(dialString), this, mForegroundCall,
    [all...]
ImsPhoneConnection.java 664 //mForegroundCall should be IDLE
669 mParent = mOwner.mForegroundCall;
    [all...]
ImsPhone.java 323 return mCT.mForegroundCall;
    [all...]
  /external/robolectric/v3/runtime/
android-all-4.4_r1-robolectric-1.jar 
android-all-5.0.0_r2-robolectric-1.jar 
android-all-5.1.1_r9-robolectric-1.jar 

Completed in 1338 milliseconds