Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/telephony/
DCallInfoTest.java171 assertThat(mMockCallInfo.getForegroundCall()).isEqualTo(connectingCall); in getForegroundCall_withConnectingCall()
183 assertThat(mMockCallInfo.getForegroundCall()).isEqualTo(pullingCall); in getForegroundCall_withPullingCall()
195 assertThat(mMockCallInfo.getForegroundCall()).isEqualTo(ringingCall); in getForegroundCall_withRingingCall()
207 assertThat(mMockCallInfo.getForegroundCall()).isNull(); in getForegroundCall_withNoMatchingCall()
DBluetoothInCallServiceTest.java200 when(mMockCallInfo.getForegroundCall()).thenReturn(null); in testHeadsetHangupCallNull()
219 when(mMockCallInfo.getForegroundCall()).thenReturn(null); in testHeadsetSendDTMFNull()
236 when(mMockCallInfo.getForegroundCall()).thenReturn(null); in testGetNetworkOperatorNoPhoneAccount()
2057 when(mMockCallInfo.getForegroundCall()).thenReturn(call); in createForegroundCall()
/packages/services/Telephony/tests/src/com/android/phone/
DNumberVerificationManagerTest.java62 when(mPhone1.getForegroundCall()).thenReturn(mForegroundCall); in setUp()
66 when(mPhone2.getForegroundCall()).thenReturn(mForegroundCall); in setUp()
155 when(mPhone1.getForegroundCall()).thenReturn(fakeCall); in testVerificationWorksWithOnePhoneFull()
/packages/services/Telecomm/src/com/android/server/telecom/
DCallAudioRouteStateMachine.java169 Log.addEvent(mCallsManager.getForegroundCall(), LogUtils.Events.AUDIO_ROUTE, in enter()
172 Log.addEvent(mCallsManager.getForegroundCall(), in enter()
179 Log.addEvent(mCallsManager.getForegroundCall(), LogUtils.Events.AUDIO_ROUTE, in exit()
194 Log.addEvent(mCallsManager.getForegroundCall(), LogUtils.Events.AUDIO_ROUTE, in processMessage()
200 Log.addEvent(mCallsManager.getForegroundCall(), LogUtils.Events.AUDIO_ROUTE, in processMessage()
208 Log.addEvent(mCallsManager.getForegroundCall(), LogUtils.Events.AUDIO_ROUTE, in processMessage()
212 Log.addEvent(mCallsManager.getForegroundCall(), LogUtils.Events.AUDIO_ROUTE, in processMessage()
216 Log.addEvent(mCallsManager.getForegroundCall(), LogUtils.Events.AUDIO_ROUTE, in processMessage()
1822 Log.addEvent(mCallsManager.getForegroundCall(), mute ? in setMuteOn()
2109 if (mCallsManager.getForegroundCall() != null) { in getCurrentCallSupportedRoutes()
[all …]
DCallAudioManager.java396 if (call != getForegroundCall()) { in onVideoStateChanged()
421 public Call getForegroundCall() { in getForegroundCall() method in CallAudioManager
1020 Call foregroundCall = getForegroundCall(); in shouldPlayHoldTone()
DCallAudioRouteController.java925 Log.addEvent(mCallsManager.getForegroundCall(), LogUtils.Events.AUDIO_ROUTE, in handleExitPendingRoute()
1041 Call foregroundCall = mCallAudioManager.getForegroundCall(); in getPreferredAudioRouteFromDefault()
DCallsManager.java1366 public Call getForegroundCall() { in getForegroundCall() method in CallsManager
1371 return mCallAudioManager.getForegroundCall(); in getForegroundCall()
1632 if (getForegroundCall() != null) { in processIncomingCallIntent()
1633 getForegroundCall().getAnalytics().setCallIsInterrupted(true); in processIncomingCallIntent()
2118 Call foregroundCall = getForegroundCall(); in startOutgoingCall()
4311 Log.addEvent(getForegroundCall(),
4325 Log.addEvent(getForegroundCall(), LogUtils.Events.INFO,
4448 Call foregroundCall = getForegroundCall();
DTransactionalServiceWrapper.java446 Call foregroundCallBeforeSwap = mCallsManager.getForegroundCall(); in handleCallEventCallbackNewFocus()
DTelecomServiceImpl.java2843 Call call = mCallsManager.getForegroundCall(); in endCallInternal()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DCallAudioManagerTest.java270 assertEquals(call, mCallAudioManager.getForegroundCall());
335 assertEquals(call, mCallAudioManager.getForegroundCall());
438 assertEquals(call, mCallAudioManager.getForegroundCall());
488 assertEquals(call, mCallAudioManager.getForegroundCall());
659 assertNull(mCallAudioManager.getForegroundCall());
832 assertEquals(call, mCallAudioManager.getForegroundCall());
861 assertEquals(call, mCallAudioManager.getForegroundCall());
DCallAudioRouteStateMachineTest.java131 when(mockCallsManager.getForegroundCall()).thenReturn(fakeCall); in setUp()
1364 when(mockCallsManager.getForegroundCall()).thenReturn(fakeCall); in resetMocks()
DTelecomServiceImplTest.java2178 when(mFakeCallsManager.getForegroundCall()).thenReturn(call); in testEndCallWithRingingForegroundCall()
2188 when(mFakeCallsManager.getForegroundCall()).thenReturn(call); in testEndCallWithSimulatedRingingForegroundCall()
2198 when(mFakeCallsManager.getForegroundCall()).thenReturn(call); in testEndCallWithNonRingingForegroundCall()
DCallAudioRouteTransitionTests.java190 when(mockCallsManager.getForegroundCall()).thenReturn(fakeCall); in setUp()
DCallAudioRouteControllerTest.java172 when(mCallAudioManager.getForegroundCall()).thenReturn(mCall); in setUp()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/telephony/
DBluetoothInCallService.java383 BluetoothCall call = mCallInfo.getForegroundCall(); in hangupCall()
408 BluetoothCall call = mCallInfo.getForegroundCall(); in sendDtmf()
624 BluetoothCall call = mCallInfo.getForegroundCall(); in sendBluetoothCallQualityReport()
914 boolean isForeground = mCallInfo.getForegroundCall() == call; in sendClccForCall()
1404 public BluetoothCall getForegroundCall() { in getForegroundCall() method in BluetoothInCallService.CallInfo
1510 BluetoothCall call = getForegroundCall(); in getBestPhoneAccount()
/packages/services/Telephony/src/com/android/phone/
DNumberVerificationManager.java143 && (phone.getForegroundCall().getState() == Call.State.IDLE in checkNumberVerificationFeasibility()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/tbs/
DTbsGeneric.java1072 private synchronized Map.Entry<Integer, TbsCall> getForegroundCall() { in getForegroundCall() method in TbsGeneric
1110 Map.Entry<Integer, TbsCall> foregroundCall = getForegroundCall(); in findNewForegroundBearer()
/packages/services/Telephony/src/com/android/services/telephony/
DTelephonyConnection.java1883 ImsPhoneCall foregroundCall = ((ImsPhone) phone).getForegroundCall(); in shouldSetDisableAddCallExtra()
2303 if (!phone.getForegroundCall().isIdle()) { in hasMultipleTopLevelCalls()
2315 return getPhone().getForegroundCall().getEarliestConnection(); in getForegroundConnection()
DTelephonyConnectionService.java1974 final Call foregroundCall = phone.getForegroundCall(); in onCreateUnknownConnection()
1980 final Call imsFgCall = phone.getImsPhone().getForegroundCall(); in onCreateUnknownConnection()