Home
last modified time | relevance | path

Searched refs:getForegroundCall (Results 1 – 18 of 18) 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.java57 public abstract Call getForegroundCall(); in getForegroundCall() method in SipPhoneBase
193 Rlog.v(LOG_TAG, "canDial(): foregndCall: " + getForegroundCall().getState()); in canDial()
196 && (!getForegroundCall().getState().isAlive() in canDial()
206 Call.State foregroundCallState = getForegroundCall().getState(); in isInCall()
500 } else if (getForegroundCall().isIdle() in updatePhoneState()
DSipPhone.java380 public Call getForegroundCall() { in getForegroundCall() method in SipPhone
996 : (SipCall) getForegroundCall(); in separate()
1017 call = (SipCall) getForegroundCall(); in separate()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhoneBase.java239 Rlog.v(LOG_TAG, "canDial(): foregndCall: " + getForegroundCall().getState()); in canDial()
242 && (!getForegroundCall().getState().isAlive() in canDial()
252 Call.State foregroundCallState = getForegroundCall().getState(); in isInCall()
537 } else if (getForegroundCall().isIdle() in updatePhoneState()
DImsPhone.java575 getForegroundCall() { in getForegroundCall() method in ImsPhone
687 ImsPhoneCall call = getForegroundCall(); in handleCallWaitingIncallSupplementaryService()
728 if (getForegroundCall().getState() != ImsPhoneCall.State.IDLE) { in handleCallHoldIncallSupplementaryService()
735 } else if (getForegroundCall().getState() != ImsPhoneCall.State.IDLE) { in handleCallHoldIncallSupplementaryService()
834 ImsPhoneCall.State foregroundCallState = getForegroundCall().getState(); in isInCall()
1520 connList.addAll(getForegroundCall().getConnections()); in getHandoverConnection()
2434 return (getForegroundCall().getState() != Call.State.IDLE || in hasAliveCall()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DTelephonyTester.java270 ImsPhoneCall imsPhoneCall = imsPhone.getForegroundCall(); in handleHandoverFailedIntent()
320 ImsPhoneCall imsPhoneCall = imsPhone.getForegroundCall(); in handleTestConferenceEventPackage()
499 ImsPhoneCall imsPhoneCall = imsPhone.getForegroundCall(); in testImsECall()
528 mPhone.getForegroundCall().getConnections() in testChangeNumber()
DCallManager.java368 mForegroundCalls.add(phone.getForegroundCall()); in registerPhone()
396 mForegroundCalls.remove(phone.getForegroundCall()); in unregisterPhone()
1737 : mDefaultPhone.getForegroundCall(); in getActiveFgCall()
1749 : phone.getForegroundCall(); in getActiveFgCall()
DPhoneInternalInterface.java392 Call getForegroundCall(); in getForegroundCall() method
DDefaultPhoneNotifier.java159 Call foregroundCall = sender.getForegroundCall(); in notifyPreciseCallState()
DPhoneSwitcher.java1338 return (phone.getForegroundCall().getState() == Call.State.ACTIVE in isPhoneInVoiceCall()
1339 || phone.getForegroundCall().getState() == Call.State.ALERTING in isPhoneInVoiceCall()
DGsmCdmaPhone.java999 public GsmCdmaCall getForegroundCall() { in getForegroundCall() method in GsmCdmaPhone
1088 GsmCdmaCall call = getForegroundCall(); in handleCallWaitingIncallSupplementaryService()
1125 GsmCdmaCall call = getForegroundCall(); in handleCallHoldIncallSupplementaryService()
1249 GsmCdmaCall.State foregroundCallState = getForegroundCall().getState(); in isInCall()
DPhone.java2726 isPresent = isVideoCallOrConference(mImsPhone.getForegroundCall()) || in isImsVideoCallOrConferencePresent()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DPhoneSwitcherTest.java1002 doReturn(mInactiveCall).when(mPhone).getForegroundCall(); in setAllPhonesInactive()
1005 doReturn(mInactiveCall).when(mPhone2).getForegroundCall(); in setAllPhonesInactive()
1011 doReturn(mActiveCall).when(phone).getForegroundCall(); in notifyPhoneAsInCall()
1023 doReturn(mInactiveCall).when(phone).getForegroundCall(); in notifyPhoneAsInactive()
1048 doReturn(mInactiveCall).when(phone).getForegroundCall(); in notifyEcbmStart()
DDefaultPhoneNotifierTest.java198 doReturn(mForeGroundCall).when(mPhone).getForegroundCall(); in testNotifyPreciseCallState()
DCallManagerTest.java71 doReturn(mFgCall).when(mPhone).getForegroundCall(); in setUp()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/vendor/
DVendorPhoneSwitcher.java118 mFgCsCalls[i] = (GsmCdmaCall) PhoneFactory.getPhone(i).getForegroundCall(); in VendorPhoneSwitcher()
124 mFgImsCalls[i] = mImsPhones[i].getForegroundCall(); in VendorPhoneSwitcher()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
DImsPhoneTest.java360 assertEquals(mForegroundCall, mImsPhoneUT.getForegroundCall()); in testGettersAndPassThroughs()
/frameworks/base/config/
Dboot-image-profile.txt22041 HSPLcom/android/internal/telephony/GsmCdmaPhone;->getForegroundCall()Lcom/android/internal/telephon…
22042 HSPLcom/android/internal/telephony/GsmCdmaPhone;->getForegroundCall()Lcom/android/internal/telephon…
23534 HSPLcom/android/internal/telephony/imsphone/ImsPhone;->getForegroundCall()Lcom/android/internal/tel…
23535 HSPLcom/android/internal/telephony/imsphone/ImsPhone;->getForegroundCall()Lcom/android/internal/tel…