Searched refs:listenForPhoneState (Results 1 – 4 of 4) sorted by relevance
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hfp/ |
D | HeadsetPhoneStateTest.java | 111 mHeadsetPhoneState.listenForPhoneState(device1, PhoneStateListener.LISTEN_NONE); in testListenForPhoneState_NoneResultsNoListen() 122 mHeadsetPhoneState.listenForPhoneState(device1, PhoneStateListener.LISTEN_SERVICE_STATE); in testListenForPhoneState_ServiceOnly() 135 mHeadsetPhoneState.listenForPhoneState(device1, PhoneStateListener.LISTEN_SERVICE_STATE in testListenForPhoneState_ServiceAndSignalStrength() 148 mHeadsetPhoneState.listenForPhoneState(device1, PhoneStateListener.LISTEN_SERVICE_STATE in testListenForPhoneState_ServiceAndSignalStrengthUpdateTurnOffSignalStrengh() 152 mHeadsetPhoneState.listenForPhoneState(device1, PhoneStateListener.LISTEN_SERVICE_STATE); in testListenForPhoneState_ServiceAndSignalStrengthUpdateTurnOffSignalStrengh() 163 mHeadsetPhoneState.listenForPhoneState(device1, PhoneStateListener.LISTEN_SERVICE_STATE in testListenForPhoneState_ServiceAndSignalStrengthUpdateTurnOffAll() 167 mHeadsetPhoneState.listenForPhoneState(device1, PhoneStateListener.LISTEN_NONE); in testListenForPhoneState_ServiceAndSignalStrengthUpdateTurnOffAll() 181 mHeadsetPhoneState.listenForPhoneState(device1, PhoneStateListener.LISTEN_SERVICE_STATE in testListenForPhoneState_MultiDevice_AllUpAllDown() 186 mHeadsetPhoneState.listenForPhoneState(device2, PhoneStateListener.LISTEN_SERVICE_STATE in testListenForPhoneState_MultiDevice_AllUpAllDown() 189 mHeadsetPhoneState.listenForPhoneState(device1, PhoneStateListener.LISTEN_NONE); in testListenForPhoneState_MultiDevice_AllUpAllDown() [all …]
|
D | HeadsetStateMachineTest.java | 869 verify(mPhoneState).listenForPhoneState(mTestDevice, PhoneStateListener.LISTEN_SERVICE_STATE in testAtBiaEvent_initialSubscriptionWithUpdates() 874 verify(mPhoneState, timeout(ASYNC_CALL_TIMEOUT_MILLIS)).listenForPhoneState(mTestDevice, in testAtBiaEvent_initialSubscriptionWithUpdates() 879 verify(mPhoneState, timeout(ASYNC_CALL_TIMEOUT_MILLIS)).listenForPhoneState(mTestDevice, in testAtBiaEvent_initialSubscriptionWithUpdates() 884 verify(mPhoneState, timeout(ASYNC_CALL_TIMEOUT_MILLIS)).listenForPhoneState(mTestDevice, in testAtBiaEvent_initialSubscriptionWithUpdates() 1059 doNothing().when(mPhoneState).listenForPhoneState(any(BluetoothDevice.class), anyInt()); in testSetSilenceDevice() 1062 verify(mPhoneState, times(2)).listenForPhoneState(mTestDevice, in testSetSilenceDevice()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/ |
D | HeadsetPhoneState.java | 127 public void listenForPhoneState(BluetoothDevice device, int events) { in listenForPhoneState() method in HeadsetPhoneState
|
D | HeadsetStateMachine.java | 1517 mSystemInterface.getHeadsetPhoneState().listenForPhoneState(mDevice, in setSilenceDevice() 2085 mSystemInterface.getHeadsetPhoneState().listenForPhoneState(mDevice, events); in updateAgIndicatorEnableState()
|