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.java129 private final AudioOn mAudioOn = new AudioOn(); field in HeadsetStateMachine
195 addState(mAudioOn); in HeadsetStateMachine()
351 || mPrevState == mConnected || mPrevState == mAudioOn in enforceValidConnectionStateTransition()
359 || mPrevState == mAudioConnecting || mPrevState == mAudioOn in enforceValidConnectionStateTransition()
366 || mPrevState == mAudioOn || mPrevState == mDisconnected; in enforceValidConnectionStateTransition()
370 result = mPrevState == mAudioOn; in enforceValidConnectionStateTransition()
371 } else if (this == mAudioOn) { in enforceValidConnectionStateTransition()
1135 transitionTo(mAudioOn); in processAudioEvent()
1217 transitionTo(mAudioOn); in processAudioEvent()
1444 transitionTo(mAudioOn); in processAudioEvent()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/
DHeadsetClientStateMachine.java142 private final AudioOn mAudioOn; field in HeadsetClientStateMachine
794 mAudioOn = new AudioOn(); in HeadsetClientStateMachine()
799 addState(mAudioOn, mConnected); in HeadsetClientStateMachine()
910 } else if (mPrevState == mConnected || mPrevState == mAudioOn) { in enter()
1170 } else if (mPrevState != mAudioOn) { in enter()
1627 transitionTo(mAudioOn); in processAudioEvent()
1794 if (currentState == mConnected || currentState == mAudioOn) { in getConnectionState()
1884 return (currentState == mConnected || currentState == mAudioOn); in isConnected()
1925 return (getCurrentState() == mAudioOn); in isAudioOn()