Lines Matching refs:mState
33 : mState(STATE_IDLE),
76 if (mState != STATE_IDLE) {
80 mState = STATE_SET_DATASOURCE_PENDING;
84 while (mState == STATE_SET_DATASOURCE_PENDING) {
94 if (mState != STATE_IDLE) {
98 mState = STATE_SET_DATASOURCE_PENDING;
102 while (mState == STATE_SET_DATASOURCE_PENDING) {
112 if (mState != STATE_IDLE) {
116 mState = STATE_SET_DATASOURCE_PENDING;
120 while (mState == STATE_SET_DATASOURCE_PENDING) {
135 switch (mState) {
161 switch (mState) {
163 mState = STATE_PREPARING;
170 while (mState == STATE_PREPARING) {
173 return (mState == STATE_PREPARED) ? OK : UNKNOWN_ERROR;
182 switch (mState) {
184 mState = STATE_PREPARING;
196 switch (mState) {
205 CHECK_EQ(mState, STATE_PREPARED);
240 mState = STATE_RUNNING;
252 switch (mState) {
266 mState = STATE_PAUSED;
272 return mState == STATE_RUNNING && !mAtEOS;
280 switch (mState) {
331 switch (mState) {
353 mState = STATE_RESET_IN_PROGRESS;
356 while (mState == STATE_RESET_IN_PROGRESS) {
461 CHECK_EQ(mState, STATE_RESET_IN_PROGRESS);
462 mState = STATE_IDLE;
527 CHECK_EQ(mState, STATE_SET_DATASOURCE_PENDING);
530 mState = (err == OK) ? STATE_UNPREPARED : STATE_IDLE;
537 if (mState != STATE_PREPARING) {
541 CHECK(mState == STATE_RESET_IN_PROGRESS || mState == STATE_IDLE);
545 CHECK_EQ(mState, STATE_PREPARING);
553 mState = STATE_PREPARED;
558 mState = STATE_UNPREPARED;