Lines Matching refs:ComponentState
381 if (mComponentState == ComponentState::ERROR) return; \
382 CHECK_EQ(mComponentState, ComponentState::x); \
387 if (mComponentState == ComponentState::ERROR) return; \
388 CHECK_NE(mComponentState, ComponentState::UNINITIALIZED); \
405 mComponentState(ComponentState::UNINITIALIZED), in C2VDAComponent()
448 CHECK_EQ(mComponentState, ComponentState::UNINITIALIZED); in onStart()
458 mComponentState = ComponentState::STARTED; in onStart()
494 if (mComponentState == ComponentState::DRAINING || in onDequeueWork()
495 mComponentState == ComponentState::FLUSHING) { in onDequeueWork()
499 if (mComponentState != ComponentState::STARTED) { in onDequeueWork()
550 mComponentState = ComponentState::DRAINING; in onDequeueWork()
588 if (mComponentState == ComponentState::UNINITIALIZED) { in onOutputBufferReturned()
719 if (mComponentState == ComponentState::STARTED) { in onDrain()
721 mComponentState = ComponentState::DRAINING; in onDrain()
735 if (mComponentState == ComponentState::DRAINING) { in onDrainDone()
736 mComponentState = ComponentState::STARTED; in onDrainDone()
737 } else if (mComponentState == ComponentState::STOPPING) { in onDrainDone()
740 } else if (mComponentState != ComponentState::FLUSHING) { in onDrainDone()
767 if (mComponentState == ComponentState::FLUSHING || in onFlush()
768 mComponentState == ComponentState::STOPPING) { in onFlush()
779 mComponentState = ComponentState::FLUSHING; in onFlush()
789 if (mComponentState != ComponentState::FLUSHING) { in onStop()
800 mComponentState = ComponentState::STOPPING; in onStop()
805 if (mComponentState == ComponentState::ERROR) { in onResetDone()
808 if (mComponentState == ComponentState::FLUSHING) { in onResetDone()
810 } else if (mComponentState == ComponentState::STOPPING) { in onResetDone()
821 mComponentState = ComponentState::STARTED; in onFlushDone()
847 mComponentState = ComponentState::UNINITIALIZED; in onStopDone()
1323 if (mComponentState == ComponentState::UNINITIALIZED) { in onSurfaceChanged()