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.cpp33 /*static*/ const FastCaptureState FastCapture::sInitial;
67 mPreIdle = *(const FastCaptureState *)mCurrent; in onIdle()
78 switch ((FastCaptureState::Command) command) { in isSubClassCommand()
79 case FastCaptureState::READ: in isSubClassCommand()
80 case FastCaptureState::WRITE: in isSubClassCommand()
81 case FastCaptureState::READ_WRITE: in isSubClassCommand()
90 const FastCaptureState * const current = (const FastCaptureState *) mCurrent; in onStateChange()
91 const FastCaptureState * const previous = (const FastCaptureState *) mPrevious; in onStateChange()
162 const FastCaptureState * const current = (const FastCaptureState *) mCurrent; in onWork()
164 const FastCaptureState::Command command = mCommand; in onWork()
[all …]
DFastCaptureState.h28 struct FastCaptureState : FastThreadState { struct
29 FastCaptureState();
30 /*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.bp16 "FastCaptureState.cpp",
DThreads.cpp6816 FastCaptureState *state = sq->begin(); in RecordThread()
6823 state->mCommand = FastCaptureState::COLD_IDLE; in RecordThread()
6861 FastCaptureState *state = sq->begin(); in ~RecordThread()
6862 if (state->mCommand == FastCaptureState::COLD_IDLE) { in ~RecordThread()
6868 state->mCommand = FastCaptureState::EXIT; in ~RecordThread()
7055 FastCaptureState *state = sq->begin(); in threadLoop()
7058 if (state->mCommand != FastCaptureState::READ_WRITE /* FIXME && in threadLoop()
7060 if (state->mCommand == FastCaptureState::COLD_IDLE) { in threadLoop()
7066 state->mCommand = FastCaptureState::READ_WRITE; in threadLoop()
7444 FastCaptureState *state = sq->begin(); in inputStandBy()
[all …]