Home
last modified time | relevance | path

Searched refs:getForegroundCall (Results 1 – 17 of 17) sorted by relevance

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/
DGSMPhoneTest.java.broken146 assertEquals(0, mGSMPhone.getForegroundCall().getConnections().size());
150 assertEquals(Call.State.IDLE, mGSMPhone.getForegroundCall().getState());
153 assertEquals(0, mGSMPhone.getForegroundCall().getEarliestCreateTime());
154 assertEquals(0, mGSMPhone.getForegroundCall().getEarliestConnectTime());
169 assertEquals(Call.State.DIALING, mGSMPhone.getForegroundCall().getState());
170 assertTrue(mGSMPhone.getForegroundCall().isDialingOrAlerting());
174 } while (mGSMPhone.getForegroundCall().getConnections().size() == 0);*/
177 assertEquals(1, mGSMPhone.getForegroundCall().getConnections().size());
182 mGSMPhone.getForegroundCall().getState());
185 assertTrue(mGSMPhone.getForegroundCall().getEarliestCreateTime() > 0);
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/
DSipPhoneBase.java58 public abstract Call getForegroundCall(); in getForegroundCall() method in SipPhoneBase
195 Rlog.v(LOG_TAG, "canDial(): foregndCall: " + getForegroundCall().getState()); in canDial()
198 && (!getForegroundCall().getState().isAlive() in canDial()
208 Call.State foregroundCallState = getForegroundCall().getState(); in isInCall()
491 } else if (getForegroundCall().isIdle() in updatePhoneState()
DSipPhone.java372 public Call getForegroundCall() { in getForegroundCall() method in SipPhone
982 : (SipCall) getForegroundCall(); in separate()
1003 call = (SipCall) getForegroundCall(); in separate()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DTelephonyTester.java252 ImsPhoneCall imsPhoneCall = imsPhone.getForegroundCall(); in handleHandoverFailedIntent()
281 ImsPhoneCall imsPhoneCall = imsPhone.getForegroundCall(); in handleTestConferenceEventPackage()
413 ImsPhoneCall imsPhoneCall = imsPhone.getForegroundCall(); in testImsECall()
442 mPhone.getForegroundCall().getConnections() in testChangeNumber()
DCallManager.java371 mForegroundCalls.add(phone.getForegroundCall()); in registerPhone()
399 mForegroundCalls.remove(phone.getForegroundCall()); in unregisterPhone()
1740 : mDefaultPhone.getForegroundCall(); in getActiveFgCall()
1752 : phone.getForegroundCall(); in getActiveFgCall()
DPhoneInternalInterface.java376 Call getForegroundCall(); in getForegroundCall() method
DDefaultPhoneNotifier.java271 Call foregroundCall = sender.getForegroundCall(); in notifyPreciseCallState()
DPhoneSwitcher.java1244 return (phone.getForegroundCall().getState() == Call.State.ACTIVE in isCallActive()
1245 || phone.getForegroundCall().getState() == Call.State.ALERTING); in isCallActive()
DGsmCdmaPhone.java915 public GsmCdmaCall getForegroundCall() { in getForegroundCall() method in GsmCdmaPhone
997 GsmCdmaCall call = getForegroundCall(); in handleCallWaitingIncallSupplementaryService()
1034 GsmCdmaCall call = getForegroundCall(); in handleCallHoldIncallSupplementaryService()
1158 GsmCdmaCall.State foregroundCallState = getForegroundCall().getState(); in isInCall()
DPhone.java2462 isPresent = isVideoCallOrConference(mImsPhone.getForegroundCall()) || in isImsVideoCallOrConferencePresent()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhoneBase.java246 Rlog.v(LOG_TAG, "canDial(): foregndCall: " + getForegroundCall().getState()); in canDial()
249 && (!getForegroundCall().getState().isAlive() in canDial()
259 Call.State foregroundCallState = getForegroundCall().getState(); in isInCall()
538 } else if (getForegroundCall().isIdle() in updatePhoneState()
DImsPhone.java430 getForegroundCall() { in getForegroundCall() method in ImsPhone
542 ImsPhoneCall call = getForegroundCall(); in handleCallWaitingIncallSupplementaryService()
677 ImsPhoneCall.State foregroundCallState = getForegroundCall().getState(); in isInCall()
1309 connList.addAll(getForegroundCall().mConnections); in getHandoverConnection()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DPhoneSwitcherTest.java867 doReturn(mInactiveCall).when(mPhone).getForegroundCall(); in setAllPhonesInactive()
870 doReturn(mInactiveCall).when(mPhone2).getForegroundCall(); in setAllPhonesInactive()
876 doReturn(mActiveCall).when(phone).getForegroundCall(); in notifyPhoneAsInCall()
882 doReturn(mInactiveCall).when(phone).getForegroundCall(); in notifyPhoneAsInactive()
906 doReturn(mInactiveCall).when(phone).getForegroundCall(); in notifyEcbmStart()
DDefaultPhoneNotifierTest.java196 doReturn(mForeGroundCall).when(mPhone).getForegroundCall(); in testNotifyPreciseCallState()
DCallManagerTest.java104 doReturn(mFgCall).when(mPhone).getForegroundCall(); in setUp()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/mocks/
DPhoneMock.java1131 public Call getForegroundCall() { in getForegroundCall() method in PhoneMock
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
DImsPhoneTest.java331 assertEquals(mForegroundCall, mImsPhoneUT.getForegroundCall()); in testGettersAndPassThroughs()