Home
last modified time | relevance | path

Searched refs:fsm_ (Results 1 - 5 of 5) sorted by relevance

/foundation/multimedia/media_foundation/engine/scene/recorder/standard/
H A Dhirecorder_impl.cpp38 fsm_(*this), curFsmState_(StateId::INIT) in HiRecorderImpl()
54 fsm_.SendEvent(Intent::RESET); in ~HiRecorderImpl()
55 fsm_.Stop(); in ~HiRecorderImpl()
72 fsm_.SetStateCallback(this); in Init()
73 fsm_.Start(); in Init()
147 auto ret = fsm_.SendEvent(Intent::SET_OUTPUT_FORMAT, outputFormatType_);
171 auto ret = fsm_.SendEvent(Intent::CONFIGURE, hstRecParam); in Configure()
181 MEDIA_LOG_D("Prepare entered, current fsm state: " PUBLIC_LOG_S ".", fsm_.GetCurrentState().c_str()); in Prepare()
183 auto ret = fsm_.SendEvent(Intent::PREPARE); in Prepare()
195 MEDIA_LOG_D("Prepare finished, current fsm state: " PUBLIC_LOG "s.", fsm_ in Prepare()
[all...]
H A Dhirecorder_impl.h105 StateMachine fsm_; member in OHOS::Media::Record::HiRecorderImpl
/foundation/multimedia/media_foundation/engine/scene/player/lite/
H A Dhiplayer_impl.cpp32 : fsm_(*this), in HiPlayerImpl()
94 fsm_.SendEventAsync(Intent::STOP); in ~HiPlayerImpl()
95 fsm_.Stop(); in ~HiPlayerImpl()
120 fsm_.SetStateCallback(this); in Init()
121 fsm_.Start(); in Init()
138 ret = CppExt::to_underlying(fsm_.SendEvent(Intent::SET_SOURCE, mediaSource)); in SetSource()
149 MEDIA_LOG_I("Prepare entered, current fsm state: " PUBLIC_LOG_S ".", fsm_.GetCurrentState().c_str()); in Prepare()
151 auto ret = fsm_.SendEvent(Intent::PREPARE); in Prepare()
161 MEDIA_LOG_D("Prepare finished, current fsm state: " PUBLIC_LOG "s.", fsm_.GetCurrentState().c_str()); in Prepare()
162 PROFILE_END("Prepare finished, current fsm state: " PUBLIC_LOG "s.", fsm_ in Prepare()
[all...]
H A Dhiplayer_impl.h136 StateMachine fsm_; member in OHOS::Media::HiPlayerImpl
/foundation/multimedia/media_foundation/test/unittest/
H A DTestHiPlayer.cpp110 player->fsm_.DoTask(); in HWTEST_F()
111 ASSERT_EQ("PreparingState", player->fsm_.curState_->GetName()); in HWTEST_F()

Completed in 3 milliseconds