Home
last modified time | relevance | path

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

/frameworks/av/services/audioflinger/fastpath/
DFastCapture.cpp33 /*static*/ const FastCaptureState FastCapture::sInitial{};
59 mPreIdle = *(const FastCaptureState *)mCurrent; in onIdle()
70 switch ((FastCaptureState::Command) command) { in isSubClassCommand()
71 case FastCaptureState::READ: in isSubClassCommand()
72 case FastCaptureState::WRITE: in isSubClassCommand()
73 case FastCaptureState::READ_WRITE: in isSubClassCommand()
82 const FastCaptureState * const current = (const FastCaptureState *) mCurrent; in onStateChange()
83 const FastCaptureState * const previous = (const FastCaptureState *) mPrevious; in onStateChange()
154 const FastCaptureState * const current = (const FastCaptureState *) mCurrent; in onWork()
156 const FastCaptureState::Command command = mCommand; in onWork()
[all …]
DFastCaptureState.cpp22 const char *FastCaptureState::commandToString(Command command) in commandToString()
29 case FastCaptureState::READ: return "READ"; in commandToString()
30 case FastCaptureState::WRITE: return "WRITE"; in commandToString()
31 case FastCaptureState::READ_WRITE: return "READ_WRITE"; in commandToString()
DFastCapture.h26 using FastCaptureStateQueue = StateQueue<FastCaptureState>;
47 static const FastCaptureState sInitial;
49 FastCaptureState mPreIdle; // copy of state before we went into idle
DFastCaptureDumpState.cpp29 if (mCommand == FastCaptureState::INITIAL) { in dump()
40 FastCaptureState::commandToString(mCommand), mReadSequence, mFramesRead, in dump()
DFastCaptureState.h28 struct FastCaptureState : FastThreadState { struct
57 static_assert(!std::is_polymorphic_v<FastCaptureState>);
DAndroid.bp41 "FastCaptureState.cpp",
DStateQueue.cpp181 template class StateQueue<FastCaptureState>;
/frameworks/av/services/audioflinger/
DThreads.cpp8180 FastCaptureState *state = sq->begin(); in RecordThread()
8187 state->mCommand = FastCaptureState::COLD_IDLE; in RecordThread()
8226 FastCaptureState *state = sq->begin(); in ~RecordThread()
8227 if (state->mCommand == FastCaptureState::COLD_IDLE) { in ~RecordThread()
8233 state->mCommand = FastCaptureState::EXIT; in ~RecordThread()
8469 FastCaptureState *state = sq->begin(); in threadLoop()
8472 if (state->mCommand != FastCaptureState::READ_WRITE /* FIXME && in threadLoop()
8474 if (state->mCommand == FastCaptureState::COLD_IDLE) { in threadLoop()
8480 state->mCommand = FastCaptureState::READ_WRITE; in threadLoop()
8855 FastCaptureState *state = sq->begin(); in inputStandBy()
[all …]