Home
last modified time | relevance | path

Searched refs:phoneStateChanged (Results 1 – 6 of 6) sorted by relevance

/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DBluetoothPhoneServiceTest.java331 verify(mMockBluetoothHeadset).phoneStateChanged(eq(1), eq(1), eq(CALL_STATE_IDLE), in testConferenceInProgressCDMA()
335 verify(mMockBluetoothHeadset).phoneStateChanged(eq(1), eq(0), eq(CALL_STATE_IDLE), in testConferenceInProgressCDMA()
341 verify(mMockBluetoothHeadset, times(2)).phoneStateChanged(any(int.class), in testConferenceInProgressCDMA()
634 verify(mMockBluetoothHeadset).phoneStateChanged(eq(0), eq(0), eq(CALL_STATE_INCOMING), in testQueryPhoneState()
655 verify(mMockBluetoothHeadset).phoneStateChanged(eq(1), eq(0), eq(CALL_STATE_IDLE), in testCDMAConferenceQueryState()
795 verify(mMockBluetoothHeadset).phoneStateChanged(eq(1), eq(1), eq(CALL_STATE_IDLE), eq(""), in testProcessChldHoldActiveSwapConference()
809 verify(mMockBluetoothHeadset).phoneStateChanged(eq(0), eq(0), eq(CALL_STATE_INCOMING), in testOnCallAddedRinging()
822 verify(mMockBluetoothHeadset).phoneStateChanged(eq(0), eq(0), eq(CALL_STATE_IDLE), in testSilentRingingCallState()
843 verify(mMockBluetoothHeadset).phoneStateChanged(eq(1), eq(1), eq(CALL_STATE_IDLE), in testOnCallAddedCdmaActiveHold()
855 verify(mMockBluetoothHeadset).phoneStateChanged(eq(0), eq(0), eq(CALL_STATE_IDLE), in testOnCallRemoved()
[all …]
/packages/services/Telecomm/src/com/android/server/telecom/
DBluetoothHeadsetProxy.java45 public void phoneStateChanged(int numActive, int numHeld, int callState, String number, in phoneStateChanged() method in BluetoothHeadsetProxy
48 mBluetoothHeadset.phoneStateChanged(numActive, numHeld, callState, number, type, in phoneStateChanged()
DBluetoothPhoneServiceImpl.java799 mBluetoothHeadset.phoneStateChanged( in updateHeadsetWithCallState()
822 mBluetoothHeadset.phoneStateChanged( in updateHeadsetWithCallState()
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/
DHeadsetService.java605 public void phoneStateChanged(int numActive, int numHeld, int callState, String number, in phoneStateChanged() method in HeadsetService.BluetoothHeadsetBinder
611 service.phoneStateChanged(numActive, numHeld, callState, number, type, name, false); in phoneStateChanged()
1256 phoneStateChanged(0, 0, HeadsetHalConstants.CALL_STATE_DIALING, "", 0, "", true); in startScoUsingVirtualVoiceCall()
1257 phoneStateChanged(0, 0, HeadsetHalConstants.CALL_STATE_ALERTING, "", 0, "", true); in startScoUsingVirtualVoiceCall()
1258 phoneStateChanged(1, 0, HeadsetHalConstants.CALL_STATE_IDLE, "", 0, "", true); in startScoUsingVirtualVoiceCall()
1274 phoneStateChanged(0, 0, HeadsetHalConstants.CALL_STATE_IDLE, "", 0, "", true); in stopScoUsingVirtualVoiceCall()
1486 private void phoneStateChanged(int numActive, int numHeld, int callState, String number, in phoneStateChanged() method in HeadsetService
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hfp/
DHeadsetServiceAndStateMachineTest.java488 mHeadsetServiceBinder.phoneStateChanged(0, 0, HeadsetHalConstants.CALL_STATE_INCOMING, in testVirtualCall_preemptedByTelecomCall()
590 mHeadsetServiceBinder.phoneStateChanged(0, 0, HeadsetHalConstants.CALL_STATE_DIALING, in testDialingOutCall_NormalDialingOut()
599 mHeadsetServiceBinder.phoneStateChanged(1, 0, HeadsetHalConstants.CALL_STATE_IDLE, in testDialingOutCall_NormalDialingOut()
1107 mHeadsetServiceBinder.phoneStateChanged(0, 0, HeadsetHalConstants.CALL_STATE_INCOMING, in testPhoneStateChangedWithIncomingCallState()
DHeadsetServiceTest.java714 mHeadsetServiceBinder.phoneStateChanged(headsetCallState.mNumActive, in testPhoneStateChange_noDeviceSaveState()
768 mHeadsetServiceBinder.phoneStateChanged(headsetCallState.mNumActive, in testPhoneStateChange_oneDeviceSaveState()
831 mHeadsetServiceBinder.phoneStateChanged(headsetCallState.mNumActive, in testPhoneStateChange_multipleDevicesSaveState()