Lines Matching defs:StateMachine
54 * which initializes and starts the state machine. The first action the StateMachine
139 class HelloWorld extends StateMachine {
237 class Hsm1 extends StateMachine {
421 public class StateMachine {
446 * StateMachine logging record.
450 private StateMachine mSm;
468 LogRec(StateMachine sm, Message msg, String info, IState state, IState orgState,
479 public void update(StateMachine sm, Message msg, String info, IState state, IState orgState,
659 synchronized void add(StateMachine sm, Message msg, String messageInfo, IState state,
677 /** true if StateMachine has quit */
713 /** Reference to the StateMachine */
714 private StateMachine mSm;
798 throw new RuntimeException("StateMachine.handleMessage: "
1171 private SmHandler(Looper looper, StateMachine sm) {
1179 /** @see StateMachine#setInitialState(State) */
1185 /** @see StateMachine#transitionTo(IState) */
1191 /** @see StateMachine#deferMessage(Message) */
1202 /** @see StateMachine#quit() */
1208 /** @see StateMachine#quitNow() */
1219 /** @see StateMachine#isDbg() */
1224 /** @see StateMachine#setDbg(boolean) */
1246 * Constructor creates a StateMachine with its own thread.
1250 protected StateMachine(String name) {
1259 * Constructor creates a StateMachine using the looper.
1263 protected StateMachine(String name, Looper looper) {
1268 * Constructor creates a StateMachine using the handler.
1272 protected StateMachine(String name, Handler handler) {
1384 * {@link StateMachine#haltedProcessMessage(Message)}
1391 * the derived StateMachine. The StateMachine will stop and any subsequent messages will be
1392 * ignored. In addition, if this StateMachine created the thread, the thread will
1518 * StateMachine#sendMessage the message will just be ignored.
1532 * StateMachine#sendMessage the message will just be ignored.
1548 * StateMachine#sendMessage the message will just be ignored.
1565 * StateMachine#sendMessage the message will just be ignored.
1583 * StateMachine#sendMessage the message will just be ignored.
1601 * StateMachine#sendMessage the message will just be ignored.
1772 * Protected, may only be called by instances of StateMachine.
1786 * Protected, may only be called by instances of StateMachine.
1800 * Protected, may only be called by instances of StateMachine.
1815 * Protected, may only be called by instances of StateMachine.
1829 * Protected, may only be called by instances of StateMachine.
1843 * Protected, may only be called by instances of StateMachine.
1857 * Protected, may only be called by instances of StateMachine.
1883 * {@link StateMachine#quit} or {@link StateMachine#quitNow}.