Searched refs:FastThreadState (Results 1 – 16 of 16) sorted by relevance
22 FastThreadState::FastThreadState() : in FastThreadState() function in android::FastThreadState28 FastThreadState::~FastThreadState() in ~FastThreadState()33 const char *FastThreadState::commandToString(FastThreadState::Command command) in commandToString()36 case FastThreadState::INITIAL: return "INITIAL"; in commandToString()37 case FastThreadState::HOT_IDLE: return "HOT_IDLE"; in commandToString()38 case FastThreadState::COLD_IDLE: return "COLD_IDLE"; in commandToString()39 case FastThreadState::EXIT: return "EXIT"; in commandToString()
26 mPreviousCommand = FastThreadState::HOT_IDLE; in AutoPark()29 FastThreadState *state = sq->begin(); in AutoPark()30 if (!(state->mCommand & FastThreadState::IDLE)) { in AutoPark()32 state->mCommand = FastThreadState::HOT_IDLE; in AutoPark()44 if (!(mPreviousCommand & FastThreadState::IDLE)) { in ~AutoPark()47 FastThreadState *state = sq->begin(); in ~AutoPark()48 ALOG_ASSERT(state->mCommand == FastThreadState::HOT_IDLE); in ~AutoPark()58 FastThreadState::Command mPreviousCommand;
43 virtual const FastThreadState *poll() = 0;47 virtual bool isSubClassCommand(FastThreadState::Command command) = 0;52 const FastThreadState* mPrevious;53 const FastThreadState* mCurrent;87 FastThreadState::Command mCommand;
71 mCommand(FastThreadState::INITIAL), in FastThread()112 const FastThreadState *next = poll(); in threadLoop()138 if (!(mCurrent->mCommand & FastThreadState::IDLE)) { in threadLoop()139 if (mCommand & FastThreadState::IDLE) { in threadLoop()161 case FastThreadState::INITIAL: in threadLoop()162 case FastThreadState::HOT_IDLE: in threadLoop()165 case FastThreadState::COLD_IDLE: in threadLoop()198 case FastThreadState::EXIT: in threadLoop()
29 struct FastThreadState { struct30 FastThreadState();31 /*virtual*/ ~FastThreadState();
21 FastCaptureState::FastCaptureState() : FastThreadState(), in FastCaptureState()33 const char *str = FastThreadState::commandToString(command); in commandToString()
41 virtual const FastThreadState *poll();45 virtual bool isSubClassCommand(FastThreadState::Command command);
35 FastMixerState::FastMixerState() : FastThreadState(), in FastMixerState()59 const char *str = FastThreadState::commandToString(command); in commandToString()
54 virtual const FastThreadState *poll();58 virtual bool isSubClassCommand(FastThreadState::Command command);
28 struct FastCaptureState : FastThreadState {
35 FastThreadState::Command mCommand; // current command
23 mCommand(FastThreadState::INITIAL), mUnderruns(0), mOverruns(0), in FastThreadDumpState()
57 struct FastMixerState : FastThreadState {
56 const FastThreadState *FastCapture::poll() in poll()76 bool FastCapture::isSubClassCommand(FastThreadState::Command command) in isSubClassCommand()
22 "FastThreadState.cpp",
104 const FastThreadState *FastMixer::poll() in poll()126 bool FastMixer::isSubClassCommand(FastThreadState::Command command) in isSubClassCommand()