Home
last modified time | relevance | path

Searched refs:mForegroundCall (Results 1 – 15 of 15) sorted by relevance

/aosp12/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A DGsmCdmaCallTrackerTest.java105 assertEquals(0, mCTUT.mForegroundCall.getConnections().size()); in testMOCallDial()
116 assertEquals(1, mCTUT.mForegroundCall.getConnections().size()); in testMOCallDial()
146 assertEquals(1, mCTUT.mForegroundCall.getConnections().size()); in testMOCallHangup()
149 mCTUT.hangup(mCTUT.mForegroundCall); in testMOCallHangup()
156 assertEquals(0, mCTUT.mForegroundCall.getConnections().size()); in testMOCallHangup()
168 assertEquals(1, mCTUT.mForegroundCall.getConnections().size()); in testMOCallDialPickUpHangup()
174 mCTUT.hangup(mCTUT.mForegroundCall); in testMOCallDialPickUpHangup()
197 mCTUT.hangup(mCTUT.mForegroundCall); in testMOCallPendingHangUp()
265 assertEquals(mCTUT.mForegroundCall.getConnections().size(),0); in testMTCallAccept()
320 mCTUT.hangup(mCTUT.mForegroundCall); in testMOCallSwitchHangupForeGround()
[all …]
H A DGsmCdmaConnectionTest.java58 mCT.mForegroundCall = new GsmCdmaCall(mCT); in setUp()
H A DGsmCdmaPhoneTest.java464 mCT.mForegroundCall = mGsmCdmaCall; in testHandleInCallMmiCommands()
492 mCT.mForegroundCall = mGsmCdmaCall; in testDial()
1583 mCT.mForegroundCall = mGsmCdmaCall; in setupForWpsCallTest()
/aosp12/packages/services/Telecomm/src/com/android/server/telecom/
H A DCallAudioManager.java61 private Call mForegroundCall; field in CallAudioManager
249 if (call != mForegroundCall) { in onSessionModifyRequestReceived()
268 if (call != mForegroundCall) { in playRttUpgradeTone()
290 if (call != mForegroundCall) { in onIsVoipAudioModeChanged()
361 return mForegroundCall; in getPossiblyHeldForegroundCall()
365 if (mForegroundCall != null && mForegroundCall.getState() != CallState.ON_HOLD) { in getForegroundCall()
366 return mForegroundCall; in getForegroundCall()
538 pw.println(mForegroundCall); in dump()
711 mForegroundCall = null; in updateForegroundCall()
731 mForegroundCall != null && mForegroundCall.getIsVoipAudioMode()) in makeArgsForModeStateMachine()
[all …]
/aosp12/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/
H A DSipPhone.java65 private SipCall mForegroundCall = new SipCall(); field in SipPhone
79 mForegroundCall = new SipCall(); in SipPhone()
117 if (mForegroundCall.getState().isAlive() in takeIncomingCall()
220 mForegroundCall.setMute(false); in dialInternal()
243 if (mForegroundCall.getState().isAlive()) mForegroundCall.unhold(); in switchHoldingAndActive()
273 mForegroundCall.merge((SipCall) that); in conference()
291 mForegroundCall.clearDisconnected(); in clearDisconnected()
305 mForegroundCall.sendDtmf(c); in sendDtmf()
372 mForegroundCall.setMute(muted); in setMute()
379 ? mForegroundCall.getMute() in getMute()
[all …]
/aosp12/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DGsmCdmaCallTracker.java89 public GsmCdmaCall mForegroundCall = new GsmCdmaCall(this); field in GsmCdmaCallTracker
515 if (!mForegroundCall.isIdle()) { in dialThreeWay()
645 if (mForegroundCall.getConnectionsCount() > 1) { in switchWaitingOrHoldingAndActive()
683 && !mForegroundCall.isFull(); in canConference()
718 && mForegroundCall.getState().isAlive() in checkForDialIssues()
747 mForegroundCall.clearDisconnected(); in internalClearDisconnected()
1076 + mForegroundCall.getState()); in handlePollCalls()
1234 l = mForegroundCall.getConnections(); in dumpState()
1336 } else if (call == mForegroundCall) { in hangup()
1809 || (mForegroundCall.getConnections().stream() in isInOtaspCall()
[all …]
H A DGsmCdmaConnection.java1013 return mOwner.mForegroundCall; in parentFromDCState()
H A DServiceStateTracker.java5076 mPhone.mCT.mForegroundCall.hangupIfAlive(); in powerOffRadioSafely()
5366 mPhone.mCT.mForegroundCall.hangupIfAlive(); in hangupAndPowerOff()
H A DGsmCdmaPhone.java1029 return mCT.mForegroundCall; in getForegroundCall()
/aosp12/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
H A DImsPhoneCallTracker.java1158 mForegroundCall.dispose(); in dispose()
1724 if (mForegroundCall.getState().isAlive() in acceptCall()
1746 mForegroundCall.hangup(); in acceptCall()
2130 && !mForegroundCall.isFull(); in canConference()
2188 mForegroundCall.clearDisconnected(); in internalClearDisconnected()
2255 l = mForegroundCall.getConnections(); in dumpState()
2306 mForegroundCall.setMute(mute); in setMute()
2389 } else if (call == mForegroundCall) { in hangup()
3038 mForegroundCall.detach(conn);
4072 mForegroundCall.maybeStopRingback(); in notifySrvccState()
[all …]
H A DImsPhoneConnection.java842 mParent = mOwner.mForegroundCall; in update()
H A DImsPhone.java608 return mCT.mForegroundCall; in getForegroundCall()
/aosp12/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
H A DImsPhoneCallTrackerTest.java391 assertEquals(Call.State.ACTIVE, mCTUT.mForegroundCall.getState()); in testImsMTCallAccept()
392 assertEquals(1, mCTUT.mForegroundCall.getConnections().size()); in testImsMTCallAccept()
486 mCTUT.hangup(mCTUT.mForegroundCall); in testImsMTCallAcceptHangUp()
492 assertEquals(Call.State.IDLE, mCTUT.mForegroundCall.getState()); in testImsMTCallAcceptHangUp()
672 assertEquals(Call.State.IDLE, mCTUT.mForegroundCall.getState()); in startOutgoingCall()
693 assertEquals(Call.State.IDLE, mCTUT.mForegroundCall.getState()); in testImsMTActiveMODial()
719 mCTUT.hangup(mCTUT.mForegroundCall); in testImsMOCallHangup()
725 assertEquals(Call.State.IDLE, mCTUT.mForegroundCall.getState()); in testImsMOCallHangup()
779 assertEquals(Call.State.IDLE, mCTUT.mForegroundCall.getState()); in testDialImsServiceUnavailable()
1204 assertTrue(mCTUT.mForegroundCall.isRingbackTonePlaying()); in testEndRingbackOnSrvcc()
[all …]
H A DImsPhoneTest.java103 private ImsPhoneCall mForegroundCall; field in ImsPhoneTest
137 mImsCT.mForegroundCall = mForegroundCall; in setUp()
140 doReturn(Call.State.IDLE).when(mForegroundCall).getState(); in setUp()
203 doReturn(Call.State.ACTIVE).when(mForegroundCall).getState(); in testHandleInCallMmiCommandCallWaiting()
221 doReturn(Call.State.IDLE).when(mForegroundCall).getState(); in testHandleInCallMmiCommandCallWaiting()
230 doReturn(Call.State.ACTIVE).when(mForegroundCall).getState(); in testHandleInCallMmiCommandCallHold()
244 doReturn(Call.State.ACTIVE).when(mForegroundCall).getState(); in testHandleInCallMmiCommandCallHold()
250 doReturn(Call.State.IDLE).when(mForegroundCall).getState(); in testHandleInCallMmiCommandCallHold()
255 doReturn(Call.State.ACTIVE).when(mForegroundCall).getState(); in testHandleInCallMmiCommandCallHold()
260 doReturn(Call.State.IDLE).when(mForegroundCall).getState(); in testHandleInCallMmiCommandCallHold()
[all …]
/aosp12/packages/services/Telephony/tests/src/com/android/phone/
H A DNumberVerificationManagerTest.java52 @Mock private Call mForegroundCall; field in NumberVerificationManagerTest
62 when(mPhone1.getForegroundCall()).thenReturn(mForegroundCall); in setUp()
66 when(mPhone2.getForegroundCall()).thenReturn(mForegroundCall); in setUp()
70 when(mForegroundCall.getState()).thenReturn(Call.State.IDLE); in setUp()