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.java124 private final AudioOn mAudioOn = new AudioOn(); field in HeadsetStateMachine
190 addState(mAudioOn); in HeadsetStateMachine()
346 || mPrevState == mConnected || mPrevState == mAudioOn in enforceValidConnectionStateTransition()
354 || mPrevState == mAudioConnecting || mPrevState == mAudioOn in enforceValidConnectionStateTransition()
361 || mPrevState == mAudioOn || mPrevState == mDisconnected; in enforceValidConnectionStateTransition()
365 result = mPrevState == mAudioOn; in enforceValidConnectionStateTransition()
366 } else if (this == mAudioOn) { in enforceValidConnectionStateTransition()
1110 transitionTo(mAudioOn); in processAudioEvent()
1190 transitionTo(mAudioOn); in processAudioEvent()
1407 transitionTo(mAudioOn); in processAudioEvent()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/
DHeadsetClientStateMachine.java132 private final AudioOn mAudioOn; field in HeadsetClientStateMachine
700 mAudioOn = new AudioOn(); in HeadsetClientStateMachine()
705 addState(mAudioOn, mConnected); in HeadsetClientStateMachine()
816 } else if (mPrevState == mConnected || mPrevState == mAudioOn) { in enter()
1073 } else if (mPrevState != mAudioOn) { in enter()
1503 transitionTo(mAudioOn); in processAudioEvent()
1672 if (currentState == mConnected || currentState == mAudioOn) { in getConnectionState()
1760 return (currentState == mConnected || currentState == mAudioOn); in isConnected()
1801 return (getCurrentState() == mAudioOn); in isAudioOn()