Home
last modified time | relevance | path

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

/aosp12/frameworks/av/services/audioflinger/
H A 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()
H A 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 …]
H A DFastCaptureState.h28 struct FastCaptureState : FastThreadState { struct
29 FastCaptureState();
30 /*virtual*/ ~FastCaptureState();
H A DFastCapture.h27 typedef StateQueue<FastCaptureState> FastCaptureStateQueue;
49 static const FastCaptureState sInitial;
51 FastCaptureState mPreIdle; // copy of state before we went into idle
H A DFastCaptureDumpState.cpp38 if (mCommand == FastCaptureState::INITIAL) { in dump()
49 FastCaptureState::commandToString(mCommand), mReadSequence, mFramesRead, in dump()
H A DStateQueueInstantiations.cpp27 template class StateQueue<FastCaptureState>; // typedef FastCaptureStateQueue
H A DAndroid.bp35 "FastCaptureState.cpp",
H A DThreads.cpp7410 FastCaptureState *state = sq->begin(); in RecordThread()
7417 state->mCommand = FastCaptureState::COLD_IDLE; in RecordThread()
7455 FastCaptureState *state = sq->begin(); in ~RecordThread()
7456 if (state->mCommand == FastCaptureState::COLD_IDLE) { in ~RecordThread()
7462 state->mCommand = FastCaptureState::EXIT; in ~RecordThread()
7683 FastCaptureState *state = sq->begin(); in threadLoop()
7688 if (state->mCommand == FastCaptureState::COLD_IDLE) { in threadLoop()
7694 state->mCommand = FastCaptureState::READ_WRITE; in threadLoop()
8081 FastCaptureState *state = sq->begin(); in inputStandBy()
8082 if (!(state->mCommand & FastCaptureState::IDLE)) { in inputStandBy()
[all …]