Home
last modified time | relevance | path

Searched refs:current_state_ (Results 1 – 5 of 5) sorted by relevance

/packages/modules/Bluetooth/system/common/
Dstate_machine.h106 current_state_(nullptr) {} in StateMachine()
119 void Quit() { previous_state_ = current_state_ = nullptr; } in Quit()
127 if (current_state_ != nullptr) { in StateId()
128 return current_state_->StateId(); in StateId()
155 if (current_state_ == nullptr) return false; in ProcessEvent()
156 return current_state_->ProcessEvent(event, p_data); in ProcessEvent()
180 if (current_state_ != nullptr) { in TransitionTo()
181 current_state_->OnExit(); in TransitionTo()
183 previous_state_ = current_state_; in TransitionTo()
184 current_state_ = dest_state; in TransitionTo()
[all …]
/packages/modules/Bluetooth/system/bta/le_audio/
Ddevice_groups.h133 current_state_(types::AseState::BTA_LE_AUDIO_ASE_STATE_IDLE),
250 inline types::AseState GetState(void) const { return current_state_; } in GetState()
253 bluetooth::common::ToString(current_state_), in SetState()
257 bluetooth::common::ToString(current_state_) + "->" + in SetState()
259 current_state_ = state; in SetState()
261 if (target_state_ == current_state_) { in SetState()
286 in_transition_ = target_state_ != current_state_; in SetTargetState()
482 types::AseState current_state_; variable
Ddevice_groups.cc980 return current_state_ == AseState::BTA_LE_AUDIO_ASE_STATE_STREAMING; in IsStreaming()
985 (current_state_ == AseState::BTA_LE_AUDIO_ASE_STATE_IDLE); in IsReleasingOrIdle()
/packages/modules/Bluetooth/tools/rootcanal/model/devices/
Dscripted_beacon.cc109 current_state_ = state; in set_state()
125 switch (current_state_) { in Tick()
200 if (current_state_ == PlaybackEvent::INITIALIZED) { in ReceiveLinkLayerPacket()
Dscripted_beacon.h70 PlaybackEvent::PlaybackEventType current_state_{PlaybackEvent::UNKNOWN};