Searched refs:mHeadsetPhoneState (Results 1 – 2 of 2) sorted by relevance
57 private HeadsetPhoneState mHeadsetPhoneState; field in HeadsetPhoneStateTest82 mHeadsetPhoneState = new HeadsetPhoneState(mHeadsetService); in setUp()87 mHeadsetPhoneState.cleanup(); in tearDown()103 mHeadsetPhoneState.listenForPhoneState(device1, PhoneStateListener.LISTEN_NONE); in testListenForPhoneState_NoneResultsNoListen()114 mHeadsetPhoneState.listenForPhoneState(device1, PhoneStateListener.LISTEN_SERVICE_STATE); in testListenForPhoneState_ServiceOnly()127 mHeadsetPhoneState.listenForPhoneState(device1, PhoneStateListener.LISTEN_SERVICE_STATE in testListenForPhoneState_ServiceAndSignalStrength()144 mHeadsetPhoneState.listenForPhoneState(device1, PhoneStateListener.LISTEN_SERVICE_STATE in testListenForPhoneState_ServiceAndSignalStrengthUpdateTurnOffSignalStrengh()151 mHeadsetPhoneState.listenForPhoneState(device1, PhoneStateListener.LISTEN_SERVICE_STATE); in testListenForPhoneState_ServiceAndSignalStrengthUpdateTurnOffSignalStrengh()166 mHeadsetPhoneState.listenForPhoneState(device1, PhoneStateListener.LISTEN_SERVICE_STATE in testListenForPhoneState_ServiceAndSignalStrengthUpdateTurnOffAll()173 mHeadsetPhoneState.listenForPhoneState(device1, PhoneStateListener.LISTEN_NONE); in testListenForPhoneState_ServiceAndSignalStrengthUpdateTurnOffAll()[all …]
46 private final HeadsetPhoneState mHeadsetPhoneState; field in HeadsetSystemInterface82 mHeadsetPhoneState = new HeadsetPhoneState(mHeadsetService); in HeadsetSystemInterface()111 mHeadsetPhoneState.cleanup(); in stop()142 return mHeadsetPhoneState; in getHeadsetPhoneState()331 return ((mHeadsetPhoneState.getNumActiveCall() > 0) || (mHeadsetPhoneState.getNumHeldCall() in isInCall()332 > 0) || ((mHeadsetPhoneState.getCallState() != HeadsetHalConstants.CALL_STATE_IDLE) in isInCall()333 && (mHeadsetPhoneState.getCallState() != HeadsetHalConstants.CALL_STATE_INCOMING))); in isInCall()343 return mHeadsetPhoneState.getCallState() == HeadsetHalConstants.CALL_STATE_INCOMING; in isRinging()