Home
last modified time | relevance | path

Searched refs:mAudioOn (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/
DHeadsetStateMachine.java122 private final AudioOn mAudioOn = new AudioOn(); field in HeadsetStateMachine
187 addState(mAudioOn); in HeadsetStateMachine()
341 || mPrevState == mConnected || mPrevState == mAudioOn in enforceValidConnectionStateTransition()
349 || mPrevState == mAudioConnecting || mPrevState == mAudioOn in enforceValidConnectionStateTransition()
356 || mPrevState == mAudioOn || mPrevState == mDisconnected; in enforceValidConnectionStateTransition()
360 result = mPrevState == mAudioOn; in enforceValidConnectionStateTransition()
361 } else if (this == mAudioOn) { in enforceValidConnectionStateTransition()
1106 transitionTo(mAudioOn); in processAudioEvent()
1186 transitionTo(mAudioOn); in processAudioEvent()
1377 transitionTo(mAudioOn); in processAudioEvent()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/
DHeadsetClientStateMachine.java130 private final AudioOn mAudioOn; field in HeadsetClientStateMachine
730 mAudioOn = new AudioOn(); in HeadsetClientStateMachine()
735 addState(mAudioOn, mConnected); in HeadsetClientStateMachine()
850 } else if (mPrevState == mConnected || mPrevState == mAudioOn) { in enter()
1127 } else if (mPrevState != mAudioOn) { in enter()
1557 transitionTo(mAudioOn); in processAudioEvent()
1740 if (currentState == mConnected || currentState == mAudioOn) { in getConnectionState()
1831 return (currentState == mConnected || currentState == mAudioOn); in isConnected()
1872 return (getCurrentState() == mAudioOn); in isAudioOn()