Searched refs:FastThreadState (Results 1 – 15 of 15) sorted by relevance
30 FastThreadState *state = sq->begin(); in AutoPark()31 if (!(state->mCommand & FastThreadState::IDLE)) { in AutoPark()33 state->mCommand = FastThreadState::HOT_IDLE; in AutoPark()45 if (!(mPreviousCommand & FastThreadState::IDLE)) { in ~AutoPark()48 FastThreadState *state = sq->begin(); in ~AutoPark()49 ALOG_ASSERT(state->mCommand == FastThreadState::HOT_IDLE); in ~AutoPark()59 FastThreadState::Command mPreviousCommand = FastThreadState::HOT_IDLE;
23 const char *FastThreadState::commandToString(FastThreadState::Command command) in commandToString()26 case FastThreadState::INITIAL: return "INITIAL"; in commandToString()27 case FastThreadState::HOT_IDLE: return "HOT_IDLE"; in commandToString()28 case FastThreadState::COLD_IDLE: return "COLD_IDLE"; in commandToString()29 case FastThreadState::EXIT: return "EXIT"; in commandToString()
41 virtual const FastThreadState *poll() = 0;45 virtual bool isSubClassCommand(FastThreadState::Command command) = 0;50 const FastThreadState* mPrevious = nullptr;51 const FastThreadState* mCurrent = nullptr;87 FastThreadState::Command mCommand = FastThreadState::INITIAL;
71 const FastThreadState *next = poll(); in threadLoop()98 if (!(mCurrent->mCommand & FastThreadState::IDLE)) { in threadLoop()99 if (mCommand & FastThreadState::IDLE) { in threadLoop()121 case FastThreadState::INITIAL: in threadLoop()122 case FastThreadState::HOT_IDLE: in threadLoop()125 case FastThreadState::COLD_IDLE: in threadLoop()158 case FastThreadState::EXIT: in threadLoop()
29 struct FastThreadState { struct52 static_assert(!std::is_polymorphic_v<FastThreadState>);
35 FastThreadState::Command mCommand = FastThreadState::INITIAL; // current command
39 const FastThreadState *poll() override;43 bool isSubClassCommand(FastThreadState::Command command) override;
25 FastMixerState::FastMixerState() : FastThreadState() in FastMixerState()42 const char *str = FastThreadState::commandToString(command); in commandToString()
52 const FastThreadState *poll() override;56 bool isSubClassCommand(FastThreadState::Command command) override;
24 const char *str = FastThreadState::commandToString(command); in commandToString()
28 struct FastCaptureState : FastThreadState {
65 struct FastMixerState : FastThreadState {
48 const FastThreadState *FastCapture::poll() in poll()68 bool FastCapture::isSubClassCommand(FastThreadState::Command command) in isSubClassCommand()
47 "FastThreadState.cpp",
88 const FastThreadState *FastMixer::poll() in poll()110 bool FastMixer::isSubClassCommand(FastThreadState::Command command) in isSubClassCommand()