Home
last modified time | relevance | path

Searched refs:FastCaptureState (Results 1 – 8 of 8) sorted by relevance

/frameworks/av/services/audioflinger/
DFastCaptureState.cpp21 FastCaptureState::FastCaptureState() : FastThreadState(), in FastCaptureState() function in android::FastCaptureState
26 FastCaptureState::~FastCaptureState() in ~FastCaptureState()
31 const char *FastCaptureState::commandToString(Command command) in commandToString()
38 case FastCaptureState::READ: return "READ"; in commandToString()
39 case FastCaptureState::WRITE: return "WRITE"; in commandToString()
40 case FastCaptureState::READ_WRITE: return "READ_WRITE"; in commandToString()
DFastCapture.cpp32 /*static*/ const FastCaptureState FastCapture::sInitial;
66 mPreIdle = *(const FastCaptureState *)mCurrent; in onIdle()
77 switch ((FastCaptureState::Command) command) { in isSubClassCommand()
78 case FastCaptureState::READ: in isSubClassCommand()
79 case FastCaptureState::WRITE: in isSubClassCommand()
80 case FastCaptureState::READ_WRITE: in isSubClassCommand()
89 const FastCaptureState * const current = (const FastCaptureState *) mCurrent; in onStateChange()
90 const FastCaptureState * const previous = (const FastCaptureState *) mPrevious; in onStateChange()
157 const FastCaptureState * const current = (const FastCaptureState *) mCurrent; in onWork()
159 const FastCaptureState::Command command = mCommand; in onWork()
[all …]
DFastCaptureState.h27 struct FastCaptureState : FastThreadState { struct
28 FastCaptureState();
29 /*virtual*/ ~FastCaptureState();
DFastCapture.h27 typedef StateQueue<FastCaptureState> FastCaptureStateQueue;
49 static const FastCaptureState sInitial;
51 FastCaptureState mPreIdle; // copy of state before we went into idle
DFastCaptureDumpState.cpp38 if (mCommand == FastCaptureState::INITIAL) { in dump()
48 FastCaptureState::commandToString(mCommand), mReadSequence, mFramesRead, in dump()
DStateQueueInstantiations.cpp27 template class StateQueue<FastCaptureState>; // typedef FastCaptureStateQueue
DAndroid.mk81 FastCaptureState.cpp \
DThreads.cpp5539 FastCaptureState *state = sq->begin(); in RecordThread()
5546 state->mCommand = FastCaptureState::COLD_IDLE; in RecordThread()
5579 FastCaptureState *state = sq->begin(); in ~RecordThread()
5580 if (state->mCommand == FastCaptureState::COLD_IDLE) { in ~RecordThread()
5586 state->mCommand = FastCaptureState::EXIT; in ~RecordThread()
5772 FastCaptureState *state = sq->begin(); in threadLoop()
5775 if (state->mCommand != FastCaptureState::READ_WRITE /* FIXME && in threadLoop()
5777 if (state->mCommand == FastCaptureState::COLD_IDLE) { in threadLoop()
5783 state->mCommand = FastCaptureState::READ_WRITE; in threadLoop()
6012 FastCaptureState *state = sq->begin(); in inputStandBy()
[all …]