Searched refs:state_machine (Results 1 – 2 of 2) sorted by relevance
29 state_machine: ManagerStateMachine<PM>, field38 StateMachineContext { tx: tx, rx: rx, state_machine: state_machine } in new()44 state: self.state_machine.state.clone(), in get_proxy()458 state_machine.action_stop_bluetooth(0); in off_turnoff_should_noop()468 state_machine.action_start_bluetooth(0); in off_turnon_should_turningon()478 state_machine.action_start_bluetooth(0); in turningon_turnon_again_noop()487 state_machine.action_start_bluetooth(0); in turningon_bluetooth_started()514 state_machine.action_stop_bluetooth(0); in turningon_turnoff_should_turningoff_and_send_command()527 state_machine.action_stop_bluetooth(0); in on_turnoff_should_turningoff_and_send_command()552 state_machine.action_stop_bluetooth(0); in turningoff_bluetooth_down_should_off()[all …]
1 mod state_machine; module10 let context = state_machine::start_new_state_machine_context(); in main()46 cr.data_mut::<state_machine::StateMachineProxy>(ctx.path()).unwrap().clone(); in main()61 cr.data_mut::<state_machine::StateMachineProxy>(ctx.path()).unwrap().clone(); in main()75 cr.data_mut::<state_machine::StateMachineProxy>(ctx.path()).unwrap().clone(); in main()79 state_machine::State::Off => 0, in main()80 state_machine::State::TurningOn => 1, in main()81 state_machine::State::On => 2, in main()82 state_machine::State::TurningOff => 3, in main()93 cr.data_mut::<state_machine::StateMachineProxy>(ctx.path()).unwrap().clone(); in main()[all …]