Home
last modified time | relevance | path

Searched refs:FastThreadState (Results 1 – 15 of 15) sorted by relevance

/frameworks/av/services/audioflinger/fastpath/
DAutoPark.h30 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;
DFastThreadState.cpp23 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()
DFastThread.h41 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;
DFastThread.cpp71 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()
DFastThreadState.h29 struct FastThreadState { struct
52 static_assert(!std::is_polymorphic_v<FastThreadState>);
DFastThreadDumpState.h35 FastThreadState::Command mCommand = FastThreadState::INITIAL; // current command
DFastCapture.h39 const FastThreadState *poll() override;
43 bool isSubClassCommand(FastThreadState::Command command) override;
DFastMixerState.cpp25 FastMixerState::FastMixerState() : FastThreadState() in FastMixerState()
42 const char *str = FastThreadState::commandToString(command); in commandToString()
DFastMixer.h52 const FastThreadState *poll() override;
56 bool isSubClassCommand(FastThreadState::Command command) override;
DFastCaptureState.cpp24 const char *str = FastThreadState::commandToString(command); in commandToString()
DFastCaptureState.h28 struct FastCaptureState : FastThreadState {
DFastMixerState.h65 struct FastMixerState : FastThreadState {
DFastCapture.cpp48 const FastThreadState *FastCapture::poll() in poll()
68 bool FastCapture::isSubClassCommand(FastThreadState::Command command) in isSubClassCommand()
DAndroid.bp47 "FastThreadState.cpp",
DFastMixer.cpp88 const FastThreadState *FastMixer::poll() in poll()
110 bool FastMixer::isSubClassCommand(FastThreadState::Command command) in isSubClassCommand()