Home | History | Annotate | Download | only in cryptotoken

Lines Matching defs:State

55   /** @private {SingleGnubbySigner.State} */
56 this.state_ = SingleGnubbySigner.State.INIT;
80 SingleGnubbySigner.State = {
81 /** Initial state. */
106 if (this.state_ == SingleGnubbySigner.State.INIT) {
107 this.state_ = SingleGnubbySigner.State.OPENING;
120 this.state_ = SingleGnubbySigner.State.CLOSING;
130 this.state_ = SingleGnubbySigner.State.CLOSED;
158 case SingleGnubbySigner.State.INIT:
161 case SingleGnubbySigner.State.OPENING:
165 case SingleGnubbySigner.State.IDLE:
184 case SingleGnubbySigner.State.SIGNING:
206 if (this.state_ != SingleGnubbySigner.State.OPENING &&
207 this.state_ != SingleGnubbySigner.State.BUSY) {
224 this.state_ = SingleGnubbySigner.State.BUSY;
259 this.state_ = SingleGnubbySigner.State.IDLE;
272 // state machine (see signCallback's cases for OK_STATUS and
280 this.state_ = SingleGnubbySigner.State.SIGNING;
316 if (this.state_ != SingleGnubbySigner.State.SIGNING) {
364 this.state_ = SingleGnubbySigner.State.IDLE;
388 this.state_ = SingleGnubbySigner.State.IDLE;
396 * Switches to the error state, and notifies caller.
401 this.state_ = SingleGnubbySigner.State.ERROR;
410 * Switches to the success state, and notifies caller.
418 this.state_ = SingleGnubbySigner.State.SUCCESS;