Lines Matching refs:mState
35 mState(BL_STATE_IDLE), mCmd(BL_CMD_NONE), in BubbleLevelImpl()
115 if (mState == BL_STATE_IDLE) { in threadLoop()
122 mState = BL_STATE_POLLING; in threadLoop()
124 mState = BL_STATE_POLLING_ONCE; in threadLoop()
127 if ((mCmd == BL_CMD_START_POLL) && (mState == BL_STATE_POLLING_ONCE)) { in threadLoop()
128 mState = BL_STATE_POLLING; in threadLoop()
132 if (mState == BL_STATE_POLLING || in threadLoop()
133 mState == BL_STATE_POLLING_ONCE || in threadLoop()
134 mState == BL_STATE_SLEEPING) { in threadLoop()
136 mState = BL_STATE_IDLE; in threadLoop()
148 switch (mState) { in threadLoop()
158 if (mState == BL_STATE_POLLING_ONCE) { in threadLoop()
161 mState = BL_STATE_SLEEPING; in threadLoop()
168 mState = BL_STATE_POLLING; in threadLoop()
172 ALOGE("unknown state: %d", mState); in threadLoop()
173 mState = BL_STATE_IDLE; in threadLoop()
178 if (mState == BL_STATE_SLEEPING) { in threadLoop()