Searched refs:mCurrentState (Results 1 – 4 of 4) sorted by relevance
129 if (mCurrentState == STATE_ACTIVE) { in writeChargeLevelsToFile()353 if (mCurrentState == STATE_ACTIVE) { in updateDefenderProperties()402 stateMachine_runAction(mCurrentState, props); in update()403 const state_E nextState = stateMachine_getNextState(mCurrentState); in update()404 if (nextState != mCurrentState) { in update()407 mCurrentState = nextState; in update()417 android::base::SetProperty(kPropBatteryDefenderState, kStateStringMap[mCurrentState]); in update()
33 mCurrentState(SessionState::IDLING) { in Session()50 mCurrentState = state; in enterStateOrCrash()56 if (mCurrentState != SessionState::CLOSED) { in enterIdling()57 mCurrentState = SessionState::IDLING; in enterIdling()62 return mCurrentState == SessionState::CLOSED; in isClosed()226 mCurrentState = SessionState::CLOSED; in close()
119 std::atomic<SessionState> mCurrentState; variable
134 state_E mCurrentState = STATE_INIT; variable