Home
last modified time | relevance | path

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

/system/bt/common/
Dstate_machine.h31 class StateMachine {
39 friend class StateMachine; variable
48 State(StateMachine& sm, int state_id) : sm_(sm), state_id_(state_id) {} in State()
94 void TransitionTo(StateMachine::State* dest_state) { in TransitionTo()
99 StateMachine& sm_;
103 StateMachine() in StateMachine() function
107 ~StateMachine() { in ~StateMachine()
178 void TransitionTo(StateMachine::State* dest_state) { in TransitionTo()
Dstate_machine_unittest.cc23 using bluetooth::common::StateMachine;
36 class StateMachineImpl : public StateMachine {
46 StateZero(StateMachine& sm) in StateZero()
75 StateOne(StateMachine& sm) in StateOne()
104 StateTwo(StateMachine& sm) in StateTwo()
/system/bt/btif/src/
Dbtif_av.cc119 class BtifAvStateMachine : public bluetooth::common::StateMachine {
270 BtifAvStateMachine& StateMachine() { return state_machine_; } in StateMachine() function in BtifAvPeer
271 const BtifAvStateMachine& StateMachine() const { return state_machine_; } in StateMachine() function in BtifAvPeer
1086 switch (peer->StateMachine().StateId()) { in AllowedToConnect()
1292 switch (peer->StateMachine().StateId()) { in AllowedToConnect()
1432 peer_.StateMachine().TransitionTo(BtifAvStateMachine::kStateIdle); in ProcessEvent()
1443 peer_.StateMachine().TransitionTo(BtifAvStateMachine::kStateIdle); in ProcessEvent()
1471 peer_.StateMachine().TransitionTo(BtifAvStateMachine::kStateOpening); in ProcessEvent()
1575 peer_.StateMachine().TransitionTo(av_state); in ProcessEvent()
1668 peer_.StateMachine().TransitionTo(BtifAvStateMachine::kStateIdle); in ProcessEvent()
[all …]