Lines Matching defs:StateMachine

54  * which initializes and starts the state machine. The first action the StateMachine
57 * of the StateMachine's Handler, not in the context of the call to start, and they
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,
663 synchronized void add(StateMachine sm, Message msg, String messageInfo, IState state,
681 /** true if StateMachine has quit */
717 /** Reference to the StateMachine */
718 private StateMachine mSm;
806 throw new RuntimeException("StateMachine.handleMessage: "
1183 private SmHandler(Looper looper, StateMachine sm) {
1191 /** @see StateMachine#setInitialState(State) */
1197 /** @see StateMachine#transitionTo(IState) */
1203 /** @see StateMachine#deferMessage(Message) */
1214 /** @see StateMachine#quit() */
1220 /** @see StateMachine#quitNow() */
1231 /** @see StateMachine#isDbg() */
1236 /** @see StateMachine#setDbg(boolean) */
1258 * Constructor creates a StateMachine with its own thread.
1262 protected StateMachine(String name) {
1271 * Constructor creates a StateMachine using the looper.
1275 protected StateMachine(String name, Looper looper) {
1280 * Constructor creates a StateMachine using the handler.
1284 protected StateMachine(String name, Handler handler) {
1289 * Notifies subclass that the StateMachine handler is about to process the Message msg
1296 * Notifies subclass that the StateMachine handler has finished processing the Message msg and
1411 * {@link StateMachine#haltedProcessMessage(Message)}
1418 * the derived StateMachine. The StateMachine will stop and any subsequent messages will be
1419 * ignored. In addition, if this StateMachine created the thread, the thread will
1545 * StateMachine#sendMessage the message will just be ignored.
1559 * StateMachine#sendMessage the message will just be ignored.
1575 * StateMachine#sendMessage the message will just be ignored.
1592 * StateMachine#sendMessage the message will just be ignored.
1610 * StateMachine#sendMessage the message will just be ignored.
1628 * StateMachine#sendMessage the message will just be ignored.
1799 * Protected, may only be called by instances of StateMachine.
1813 * Protected, may only be called by instances of StateMachine.
1827 * Protected, may only be called by instances of StateMachine.
1842 * Protected, may only be called by instances of StateMachine.
1856 * Protected, may only be called by instances of StateMachine.
1870 * Protected, may only be called by instances of StateMachine.
1884 * Protected, may only be called by instances of StateMachine.
1937 * {@link StateMachine#quit} or {@link StateMachine#quitNow}.