Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hfp/
DHeadsetStateMachine.java118 private final AudioOn mAudioOn = new AudioOn(); field in HeadsetStateMachine
224 addState(mAudioOn); in HeadsetStateMachine()
403 || mPrevState == mAudioOn in enforceValidConnectionStateTransition()
415 || mPrevState == mAudioOn in enforceValidConnectionStateTransition()
426 || mPrevState == mAudioOn in enforceValidConnectionStateTransition()
431 result = mPrevState == mAudioOn; in enforceValidConnectionStateTransition()
432 } else if (this == mAudioOn) { in enforceValidConnectionStateTransition()
1377 transitionTo(mAudioOn); in processAudioEvent()
1473 transitionTo(mAudioOn); in processAudioEvent()
1717 transitionTo(mAudioOn); in processMessage()
[all …]
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hfpclient/
DHeadsetClientStateMachine.java134 private final AudioOn mAudioOn; field in HeadsetClientStateMachine
943 mAudioOn = new AudioOn(); in HeadsetClientStateMachine()
948 addState(mAudioOn, mConnected); in HeadsetClientStateMachine()
1086 } else if (mPrevState == mConnected || mPrevState == mAudioOn) { in enter()
1428 } else if (mPrevState != mAudioOn) { in enter()
1940 transitionTo(mAudioOn); in processAudioEvent()
2110 if (currentState == mConnected || currentState == mAudioOn) { in getConnectionState()
2265 return (currentState == mConnected || currentState == mAudioOn); in isConnected()
2306 return (getCurrentState() == mAudioOn); in isAudioOn()