Home
last modified time | relevance | path

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

/frameworks/av/services/audioflinger/
DFastThreadState.cpp22 FastThreadState::FastThreadState() : in FastThreadState() function in android::FastThreadState
28 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()
DAutoPark.h26 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;
DFastThread.h43 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;
DFastThread.cpp71 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()
DFastThreadState.h29 struct FastThreadState { struct
30 FastThreadState();
31 /*virtual*/ ~FastThreadState();
DFastCaptureState.cpp21 FastCaptureState::FastCaptureState() : FastThreadState(), in FastCaptureState()
33 const char *str = FastThreadState::commandToString(command); in commandToString()
DFastCapture.h41 virtual const FastThreadState *poll();
45 virtual bool isSubClassCommand(FastThreadState::Command command);
DFastMixerState.cpp35 FastMixerState::FastMixerState() : FastThreadState(), in FastMixerState()
59 const char *str = FastThreadState::commandToString(command); in commandToString()
DFastMixer.h54 virtual const FastThreadState *poll();
58 virtual bool isSubClassCommand(FastThreadState::Command command);
DFastCaptureState.h28 struct FastCaptureState : FastThreadState {
DFastThreadDumpState.h35 FastThreadState::Command mCommand; // current command
DFastThreadDumpState.cpp23 mCommand(FastThreadState::INITIAL), mUnderruns(0), mOverruns(0), in FastThreadDumpState()
DFastMixerState.h57 struct FastMixerState : FastThreadState {
DFastCapture.cpp56 const FastThreadState *FastCapture::poll() in poll()
76 bool FastCapture::isSubClassCommand(FastThreadState::Command command) in isSubClassCommand()
DAndroid.bp22 "FastThreadState.cpp",
DFastMixer.cpp104 const FastThreadState *FastMixer::poll() in poll()
126 bool FastMixer::isSubClassCommand(FastThreadState::Command command) in isSubClassCommand()