/foundation/window/window_manager/wmserver/src/ |
H A D | window_node_state_machine.cpp | 73 currState_ = state; in TransitionTo() 109 WLOGFD("IsRemoteAnimationPlaying id:%{public}u state:%{public}u", windowId_, static_cast<uint32_t>(currState_)); in IsRemoteAnimationPlaying() 110 if (currState_ == WindowNodeState::SHOW_ANIMATION_PLAYING || in IsRemoteAnimationPlaying() 111 currState_ == WindowNodeState::HIDE_ANIMATION_PLAYING) { in IsRemoteAnimationPlaying() 120 WLOGFD("IsShowAnimationPlaying id:%{public}u state:%{public}u", windowId_, static_cast<uint32_t>(currState_)); in IsShowAnimationPlaying() 121 return currState_ == WindowNodeState::SHOW_ANIMATION_PLAYING; in IsShowAnimationPlaying() 127 WLOGFD("IsHideAnimationPlaying id:%{public}u state:%{public}u", windowId_, static_cast<uint32_t>(currState_)); in IsHideAnimationPlaying() 128 return currState_ == WindowNodeState::HIDE_ANIMATION_PLAYING; in IsHideAnimationPlaying() 134 WLOGFD("IsWindowNodeShownOrShowing id:%{public}u state:%{public}u", windowId_, static_cast<uint32_t>(currState_)); in IsWindowNodeShownOrShowing() 135 if (currState_ in IsWindowNodeShownOrShowing() [all...] |
/foundation/multimedia/av_codec/services/engine/codec/video/hcodec/ |
H A D | state_machine.cpp | 22 if (currState_ == targetState) { in ChangeStateTo() 23 LOGI("already %s", currState_->stateName_.c_str()); in ChangeStateTo() 26 std::shared_ptr<State> lastState = currState_; in ChangeStateTo() 27 currState_ = targetState; in ChangeStateTo() 29 LOGI("change to %s", currState_->stateName_.c_str()); in ChangeStateTo() 31 LOGI("%s -> %s", lastState->stateName_.c_str(), currState_->stateName_.c_str()); in ChangeStateTo() 34 currState_->OnStateEntered(); in ChangeStateTo() 39 currState_->OnMsgReceived(info); in OnMsgReceived()
|
H A D | state_machine.h | 50 std::shared_ptr<State> currState_; member in OHOS::MediaAVCodec::StateMachine
|
H A D | hcodec_log.h | 119 compUniqueStr_.c_str(), currState_->GetName().c_str(), __FUNCTION__, __LINE__, ##__VA_ARGS__)
|
H A D | hcodec_dfx.cpp | 100 s << " " << compUniqueStr_ << "[" << currState_->GetName() << "]" << endl; in OnGetHidumperInfo()
|
/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/src/hardware/imagecodec/ |
H A D | state_machine.cpp | 22 if (currState_ == targetState) { in ChangeStateTo() 23 LOGI("already %{public}s", currState_->stateName_.c_str()); in ChangeStateTo() 26 std::shared_ptr<State> lastState = currState_; in ChangeStateTo() 27 currState_ = targetState; in ChangeStateTo() 29 LOGD("change to %{public}s", currState_->stateName_.c_str()); in ChangeStateTo() 31 LOGD("%{public}s -> %{public}s", lastState->stateName_.c_str(), currState_->stateName_.c_str()); in ChangeStateTo() 34 currState_->OnStateEntered(); in ChangeStateTo() 39 currState_->OnMsgReceived(info); in OnMsgReceived()
|
/foundation/ai/intelligent_voice_framework/utils/ |
H A D | state_manager.cpp | 38 currState_ = states_.begin(); in ModuleStates() 59 currState_ = states_.end(); in ForState() 87 StateActions* action = currState_->second; in ToState() 93 (currState_->first).ToStr().c_str(), (nextIt->first).ToStr().c_str()); in ToState() 95 currState_ = nextIt; in ToState() 114 if ((currState_ == states_.end()) || (currState_->second == nullptr)) { in HandleMsg() 119 State nextState = currState_->first; in HandleMsg() 120 int ret = currState_->second->Handle(msg, nextState); in HandleMsg() 126 currState_ in HandleMsg() [all...] |
H A D | state_manager.h | 171 std::map<State, StateActions*>::iterator currState_; member
|
/foundation/window/window_manager/window_scene/test/dms_unittest/ |
H A D | fold_screen_state_machine_test.cpp | 73 ASSERT_EQ(fsm.GetCurrentState(), fsm.currState_); in HWTEST_F() 86 ASSERT_EQ(fsm.GetCurrentState(), fsm.currState_); in HWTEST_F() 100 ASSERT_EQ(fsm.GetCurrentState(), fsm.currState_); in HWTEST_F() 117 ASSERT_EQ(fsm.GetCurrentState(), fsm.currState_); in HWTEST_F() 130 ASSERT_EQ(fsm.GetCurrentState(), fsm.currState_); in HWTEST_F() 143 ASSERT_EQ(fsm.GetCurrentState(), fsm.currState_); in HWTEST_F() 157 ASSERT_EQ(fsm.GetCurrentState(), fsm.currState_); in HWTEST_F() 176 ASSERT_EQ(fsm.GetCurrentState(), fsm.currState_); in HWTEST_F() 189 ASSERT_EQ(fsm.GetCurrentState(), fsm.currState_); in HWTEST_F() 192 ASSERT_EQ(fsm.GetCurrentState(), fsm.currState_); in HWTEST_F() [all...] |
/foundation/multimedia/player_framework/services/services/avmetadatahelper/server/ |
H A D | avmetadatahelper_server.cpp | 87 currState_ = ret == MSERR_OK ? HELPER_PREPARED : HELPER_STATE_ERROR; in SetSource() 111 currState_ = ret == MSERR_OK ? HELPER_PREPARED : HELPER_STATE_ERROR; in SetSource() 132 currState_ = ret == MSERR_OK ? HELPER_PREPARED : HELPER_STATE_ERROR; in SetSource() 166 CHECK_AND_RETURN_RET(currState_ == HELPER_PREPARED || currState_ == HELPER_CALL_DONE, err); in ResolveMetadata() 187 CHECK_AND_RETURN_RET(currState_ == HELPER_PREPARED || currState_ == HELPER_CALL_DONE, err); in ResolveMetadata() 205 CHECK_AND_RETURN_RET(currState_ == HELPER_PREPARED || currState_ == HELPER_CALL_DONE, err); in GetAVMetadata() 223 CHECK_AND_RETURN_RET(currState_ in FetchArtPicture() [all...] |
H A D | avmetadatahelper_server.h | 74 HelperStates currState_ = HelperStates::HELPER_IDLE; member in OHOS::Media::AVMetadataHelperServer
|
/foundation/window/window_manager/window_scene/screen_session_manager/src/fold_screen_controller/ |
H A D | fold_screen_state_machine.cpp | 63 callback->OnTransitionEnter(currState_, state); in TransitionTo() 66 auto previous = currState_; in TransitionTo() 67 currState_ = state; in TransitionTo() 69 static_cast<int32_t>(currState_), static_cast<int32_t>(state)); in TransitionTo() 72 callback->OnTransitionExit(previous, currState_); in TransitionTo() 79 return currState_; in GetCurrentState() 86 << ", currentState: " << static_cast<int32_t>(currState_) << ";"; in GenStateMachineInfo()
|
/foundation/multimedia/player_framework/test/unittest/avmetadatahelper_test/ |
H A D | avmetadatahelper_server_unit_test.cpp | 55 avmetadataHelperServer_->currState_ = HelperStates::HELPER_IDLE; in HWTEST_F() 57 avmetadataHelperServer_->currState_ = HelperStates::HELPER_STATE_ERROR; in HWTEST_F() 72 avmetadataHelperServer_->currState_ = HelperStates::HELPER_IDLE; in HWTEST_F() 74 avmetadataHelperServer_->currState_ = HelperStates::HELPER_RELEASED; in HWTEST_F() 77 avmetadataHelperServer_->currState_ = HelperStates::HELPER_CALL_DONE; in HWTEST_F() 79 avmetadataHelperServer_->currState_ = HelperStates::HELPER_PREPARED; in HWTEST_F() 82 avmetadataHelperServer_->currState_ = HelperStates::HELPER_IDLE; in HWTEST_F() 84 avmetadataHelperServer_->currState_ = HelperStates::HELPER_PREPARED; in HWTEST_F() 86 avmetadataHelperServer_->currState_ = HelperStates::HELPER_CALL_DONE; in HWTEST_F() 90 EXPECT_EQ(avmetadataHelperServer_->currState_, HelperState in HWTEST_F() [all...] |
/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/include/hardware/imagecodec/ |
H A D | image_codec_log.h | 52 currState_->GetName().c_str(), __FUNCTION__, __LINE__, ##__VA_ARGS__) 54 currState_->GetName().c_str(), __FUNCTION__, __LINE__, ##__VA_ARGS__) 56 currState_->GetName().c_str(), __FUNCTION__, __LINE__, ##__VA_ARGS__) 61 currState_->GetName().c_str(), __FUNCTION__, __LINE__, ##__VA_ARGS__); \
|
H A D | state_machine.h | 50 std::shared_ptr<State> currState_; member in OHOS::ImagePlugin::StateMachine
|
/foundation/window/window_manager/window_scene/screen_session_manager/include/fold_screen_controller/ |
H A D | fold_screen_state_machine.h | 64 FoldScreenState currState_ = FoldScreenState::UNKNOWN; member in OHOS::Rosen::FoldScreenStateMachine
|
/foundation/window/window_manager/wmserver/include/ |
H A D | window_node_state_machine.h | 91 WindowNodeState currState_ = WindowNodeState::INITIAL; member in OHOS::Rosen::WindowNodeStateMachine
|
/foundation/window/window_manager/wmserver/test/unittest/ |
H A D | remote_animation_test.cpp | 310 EXPECT_EQ(true, node_->stateMachine_.currState_ == WindowNodeState::SHOW_ANIMATION_DONE); in HWTEST_F() 409 EXPECT_NE(WindowNodeState::HIDE_ANIMATION_DONE, node_->stateMachine_.currState_); in HWTEST_F() 416 EXPECT_EQ(WindowNodeState::HIDE_ANIMATION_DONE, node_->stateMachine_.currState_); in HWTEST_F() 423 EXPECT_EQ(WindowNodeState::HIDE_ANIMATION_DONE, node_->stateMachine_.currState_); in HWTEST_F() 431 EXPECT_EQ(WindowNodeState::STARTING_CREATED, node_->stateMachine_.currState_); in HWTEST_F() 489 EXPECT_EQ(WindowNodeState::STARTING_CREATED, node_->stateMachine_.currState_); in HWTEST_F() 495 EXPECT_EQ(WindowNodeState::HIDE_ANIMATION_DONE, node_->stateMachine_.currState_); in HWTEST_F() 501 EXPECT_EQ(WindowNodeState::HIDE_ANIMATION_DONE, node_->stateMachine_.currState_); in HWTEST_F() 508 EXPECT_EQ(WindowNodeState::SHOW_ANIMATION_DONE, node_->stateMachine_.currState_); in HWTEST_F() 521 EXPECT_EQ(WindowNodeState::SHOW_ANIMATION_DONE, node_->stateMachine_.currState_); in HWTEST_F() [all...] |
H A D | window_controller_test.cpp | 122 node_->stateMachine_.currState_ = WindowNodeState::SHOW_ANIMATION_PLAYING; in HWTEST_F() 126 node_->stateMachine_.currState_ = WindowNodeState::STARTING_CREATED; in HWTEST_F() 184 srcNode->stateMachine_.currState_ = WindowNodeState::HIDDEN; in HWTEST_F() 188 srcNode->stateMachine_.currState_ = WindowNodeState::STARTING_CREATED; in HWTEST_F() 193 srcNode->stateMachine_.currState_ = WindowNodeState::STARTING_CREATED; in HWTEST_F() 198 srcNode->stateMachine_.currState_ = WindowNodeState::STARTING_CREATED; in HWTEST_F() 203 dstNode->stateMachine_.currState_ = WindowNodeState::STARTING_CREATED; in HWTEST_F() 209 dstNode->stateMachine_.currState_ = WindowNodeState::STARTING_CREATED; in HWTEST_F()
|
/foundation/multimedia/player_framework/services/services/player/server/ |
H A D | player_server.cpp | 1730 if (currState_ != nullptr) { in HandleMessage() 1731 return currState_->OnMessageReceived(type, extra, infoBody); in HandleMessage() 1738 currState_ = state; in Init() 1747 if (state == nullptr || (state == currState_)) { in ChangeState() 1751 if (currState_) { in ChangeState() 1752 MEDIA_LOGD("exit state %{public}s", currState_->name_.c_str()); in ChangeState() 1753 currState_->StateExit(); in ChangeState() 1756 currState_ = state; in ChangeState() 1764 return currState_; in GetCurrState()
|
H A D | player_server.h | 66 std::shared_ptr<PlayerServerState> currState_ = nullptr; member in OHOS::Media::PlayerServerStateMachine
|