Home
last modified time | relevance | path

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

/system/bt/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()
179 if (current_state_ != nullptr) { in TransitionTo()
180 current_state_->OnExit(); in TransitionTo()
182 previous_state_ = current_state_; in TransitionTo()
183 current_state_ = dest_state; in TransitionTo()
[all …]
/system/bt/vendor_libs/test_vendor_lib/model/devices/
Dscripted_beacon.cc109 current_state_ = state; in set_state()
123 switch (current_state_) { in TimerTick()
198 if (current_state_ == PlaybackEvent::INITIALIZED) { in IncomingPacket()
Dscripted_beacon.h76 PlaybackEvent::PlaybackEventType current_state_{PlaybackEvent::UNKNOWN};