Home
last modified time | relevance | path

Searched refs:listenForPhoneState (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hfp/
DHeadsetPhoneStateTest.java107 mHeadsetPhoneState.listenForPhoneState(device1, PhoneStateListener.LISTEN_NONE); in testListenForPhoneState_NoneResultsNoListen()
118 mHeadsetPhoneState.listenForPhoneState(device1, PhoneStateListener.LISTEN_SERVICE_STATE); in testListenForPhoneState_ServiceOnly()
131 mHeadsetPhoneState.listenForPhoneState(device1, PhoneStateListener.LISTEN_SERVICE_STATE in testListenForPhoneState_ServiceAndSignalStrength()
144 mHeadsetPhoneState.listenForPhoneState(device1, PhoneStateListener.LISTEN_SERVICE_STATE in testListenForPhoneState_ServiceAndSignalStrengthUpdateTurnOffSignalStrengh()
148 mHeadsetPhoneState.listenForPhoneState(device1, PhoneStateListener.LISTEN_SERVICE_STATE); in testListenForPhoneState_ServiceAndSignalStrengthUpdateTurnOffSignalStrengh()
159 mHeadsetPhoneState.listenForPhoneState(device1, PhoneStateListener.LISTEN_SERVICE_STATE in testListenForPhoneState_ServiceAndSignalStrengthUpdateTurnOffAll()
163 mHeadsetPhoneState.listenForPhoneState(device1, PhoneStateListener.LISTEN_NONE); in testListenForPhoneState_ServiceAndSignalStrengthUpdateTurnOffAll()
177 mHeadsetPhoneState.listenForPhoneState(device1, PhoneStateListener.LISTEN_SERVICE_STATE in testListenForPhoneState_MultiDevice_AllUpAllDown()
182 mHeadsetPhoneState.listenForPhoneState(device2, PhoneStateListener.LISTEN_SERVICE_STATE in testListenForPhoneState_MultiDevice_AllUpAllDown()
185 mHeadsetPhoneState.listenForPhoneState(device1, PhoneStateListener.LISTEN_NONE); in testListenForPhoneState_MultiDevice_AllUpAllDown()
[all …]
DHeadsetStateMachineTest.java838 verify(mPhoneState).listenForPhoneState(mTestDevice, PhoneStateListener.LISTEN_SERVICE_STATE in testAtBiaEvent_initialSubscriptionWithUpdates()
843 verify(mPhoneState, timeout(ASYNC_CALL_TIMEOUT_MILLIS)).listenForPhoneState(mTestDevice, in testAtBiaEvent_initialSubscriptionWithUpdates()
848 verify(mPhoneState, timeout(ASYNC_CALL_TIMEOUT_MILLIS)).listenForPhoneState(mTestDevice, in testAtBiaEvent_initialSubscriptionWithUpdates()
853 verify(mPhoneState, timeout(ASYNC_CALL_TIMEOUT_MILLIS)).listenForPhoneState(mTestDevice, in testAtBiaEvent_initialSubscriptionWithUpdates()
1022 doNothing().when(mPhoneState).listenForPhoneState(any(BluetoothDevice.class), anyInt()); in testSetSilenceDevice()
1025 verify(mPhoneState, times(2)).listenForPhoneState(mTestDevice, in testSetSilenceDevice()
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/
DHeadsetPhoneState.java125 public void listenForPhoneState(BluetoothDevice device, int events) { in listenForPhoneState() method in HeadsetPhoneState
DHeadsetStateMachine.java1480 mSystemInterface.getHeadsetPhoneState().listenForPhoneState(mDevice, in setSilenceDevice()
2038 mSystemInterface.getHeadsetPhoneState().listenForPhoneState(mDevice, events); in updateAgIndicatorEnableState()