Home
last modified time | relevance | path

Searched refs:getForegroundCall (Results 1 – 15 of 15) 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.java61 public abstract Call getForegroundCall(); in getForegroundCall() method in SipPhoneBase
215 Rlog.v(LOG_TAG, "canDial(): foregndCall: " + getForegroundCall().getState()); in canDial()
218 && (!getForegroundCall().getState().isAlive() in canDial()
228 Call.State foregroundCallState = getForegroundCall().getState(); in isInCall()
514 } else if (getForegroundCall().isIdle() in updatePhoneState()
DSipPhone.java372 public Call getForegroundCall() { in getForegroundCall() method in SipPhone
979 : (SipCall) getForegroundCall(); in separate()
1000 call = (SipCall) getForegroundCall(); in separate()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhoneBase.java252 Rlog.v(LOG_TAG, "canDial(): foregndCall: " + getForegroundCall().getState()); in canDial()
255 && (!getForegroundCall().getState().isAlive() in canDial()
265 Call.State foregroundCallState = getForegroundCall().getState(); in isInCall()
542 } else if (getForegroundCall().isIdle() in updatePhoneState()
DImsPhone.java310 getForegroundCall() { in getForegroundCall() method in ImsPhone
360 ImsPhoneCall call = getForegroundCall(); in handleCallWaitingIncallSupplementaryService()
494 ImsPhoneCall.State foregroundCallState = getForegroundCall().getState(); in isInCall()
1023 connList.addAll(getForegroundCall().mConnections); in getHandoverConnection()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DTelephonyTester.java150 ImsPhoneCall imsPhoneCall = imsPhone.getForegroundCall(); in handleTestConferenceEventPackage()
DCallManager.java382 mForegroundCalls.add(phone.getForegroundCall()); in registerPhone()
409 mForegroundCalls.remove(phone.getForegroundCall()); in unregisterPhone()
1866 : mDefaultPhone.getForegroundCall(); in getActiveFgCall()
1877 : phone.getForegroundCall(); in getActiveFgCall()
2401 call = phone.getForegroundCall(); in toString()
DPhoneInternalInterface.java368 Call getForegroundCall(); in getForegroundCall() method
DDefaultPhoneNotifier.java253 Call foregroundCall = sender.getForegroundCall(); in notifyPreciseCallState()
DGsmCdmaPhone.java826 public GsmCdmaCall getForegroundCall() { in getForegroundCall() method in GsmCdmaPhone
882 GsmCdmaCall call = getForegroundCall(); in handleCallWaitingIncallSupplementaryService()
919 GsmCdmaCall call = getForegroundCall(); in handleCallHoldIncallSupplementaryService()
1041 GsmCdmaCall.State foregroundCallState = getForegroundCall().getState(); in isInCall()
DPhone.java2072 isVideoCallActive = isVideoCall(mImsPhone.getForegroundCall()) || in isVideoCallPresent()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DDefaultPhoneNotifierTest.java200 doReturn(mForeGroundCall).when(mPhone).getForegroundCall(); in testNotifyPreciseCallState()
DCallManagerTest.java105 doReturn(mFgCall).when(mPhone).getForegroundCall(); in setUp()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
DImsPhoneTest.java318 assertEquals(mForegroundCall, mImsPhoneUT.getForegroundCall()); in testGettersAndPassThroughs()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/mocks/
DPhoneMock.java1125 public Call getForegroundCall() { in getForegroundCall() method in PhoneMock