/foundation/systemabilitymgr/samgr/services/samgr/native/source/schedule/ |
H A D | system_ability_state_machine.cpp | 58 SystemAbilityState currentState = context->state; in AbilityStateTransitionLocked() local 59 if (currentState == nextState) { in AbilityStateTransitionLocked() 61 context->systemAbilityId, currentState, nextState); in AbilityStateTransitionLocked() 64 if (!handler->CanEnter(currentState)) { in AbilityStateTransitionLocked() 66 context->systemAbilityId, currentState, nextState); in AbilityStateTransitionLocked() 69 if (!UpdateStateCount(context->ownProcessContext, currentState, nextState)) { in AbilityStateTransitionLocked() 75 context->systemAbilityId, currentState, nextState); in AbilityStateTransitionLocked() 119 SystemProcessState currentState = context->state; in ProcessStateTransitionLocked() local 120 if (currentState == nextState) { in ProcessStateTransitionLocked() 122 Str16ToStr8(context->processName).c_str(), currentState, nextStat in ProcessStateTransitionLocked() [all...] |
/foundation/window/window_manager/window_scene/screen_session_manager/src/fold_screen_controller/sensor_fold_state_manager/ |
H A D | single_display_sensor_fold_state_manager.cpp | 73 FoldStatus currentState = GetCurrentState(); in GetNextFoldState() local 75 return currentState; in GetNextFoldState() 91 state = currentState; in GetNextFoldState() 100 state = currentState; in GetNextFoldState() 109 state = currentState; in GetNextFoldState()
|
H A D | single_display_sensor_pocket_fold_state_manager.cpp | 110 FoldStatus currentState = GetCurrentState(); in SetCameraFoldStrategy() local 126 currentState == FoldStatus::FOLDED) { in SetCameraFoldStrategy() 178 FoldStatus currentState = GetCurrentState(); in GetNextFoldState() local 180 return currentState; in GetNextFoldState() 193 state = currentState; in GetNextFoldState() 202 state = currentState; in GetNextFoldState() 211 state = currentState; in GetNextFoldState() 256 FoldStatus currentState = GetCurrentState(); in HandleTentChange() local 257 foldScreenPolicy->ChangeOnTentMode(currentState); in HandleTentChange()
|
/foundation/arkui/ace_engine_lite/frameworks/src/core/router/test/unittest/common/ |
H A D | router_module_tdd_test.cpp | 221 int8_t currentState = pageSM.GetCurrentState(); in HWTEST_F() local 222 EXPECT_EQ(currentState, READY_STATE); in HWTEST_F() 250 int8_t currentState = pageStateMachine.GetCurrentState(); in HWTEST_F() local 251 EXPECT_EQ(currentState, UNDEFINED_STATE); in HWTEST_F() 279 int8_t currentState = stateMachine.GetCurrentState(); in HWTEST_F() local 280 EXPECT_EQ(currentState, UNDEFINED_STATE); in HWTEST_F()
|
/foundation/CastEngine/castengine_cast_framework/service/src/session/src/utils/src/ |
H A D | state_machine.cpp | 69 for (auto ¤tState : currentStates) {
in TransferState() 70 currentState->Exit();
in TransferState()
|
/foundation/CastEngine/castengine_cast_plus_stream/src/utils/src/ |
H A D | state_machine.cpp | 69 for (auto ¤tState : currentStates) { in TransferState() 70 currentState->Exit(); in TransferState()
|
/foundation/distributedhardware/distributed_hardware_fwk/av_transport/av_trans_engine/av_sender/src/ |
H A D | av_sender_engine.cpp | 528 StateId currentState = GetCurrentState(); in PushData() local 529 bool isErrState = (currentState != StateId::STARTED) && (currentState != StateId::PLAYING); in PushData() 531 "current state=%{public}" PRId32 " is invalid.", currentState); in PushData() 533 if (currentState == StateId::STARTED) { in PushData() 552 StateId currentState = GetCurrentState(); in PreparePipeline() local 553 bool isErrState = ((currentState != StateId::INITIALIZED) && (currentState != StateId::CH_CREATED)); in PreparePipeline() 555 "current state=%{public}" PRId32 " is invalid.", currentState); in PreparePipeline() 674 StateId currentState in OnChannelEvent() local [all...] |
/foundation/distributedhardware/distributed_hardware_fwk/av_transport/av_trans_engine/av_receiver/src/ |
H A D | av_receiver_engine.cpp | 155 StateId currentState = GetCurrentState(); in PreparePipeline() local 156 bool isErrState = ((currentState != StateId::INITIALIZED) && (currentState != StateId::CH_CREATED)); in PreparePipeline() 158 "current state=%{public}" PRId32 " is invalid.", currentState); in PreparePipeline() 584 StateId currentState = GetCurrentState(); in HandleOutputBuffer() local 585 bool isErrState = (currentState != StateId::STARTED) && (currentState != StateId::PLAYING); in HandleOutputBuffer() 587 "current state=%{public}" PRId32 " is invalid.", currentState); in HandleOutputBuffer() 614 StateId currentState = GetCurrentState(); in OnChannelEvent() local 615 if ((currentState ! in OnChannelEvent() [all...] |
/foundation/window/window_manager/window_scene/screen_session_manager/src/fold_screen_controller/ |
H A D | single_display_pocket_fold_policy.cpp | 445 void SingleDisplayPocketFoldPolicy::ChangeOnTentMode(FoldStatus currentState) in ChangeOnTentMode() argument 447 TLOGI(WmsLogTag::DMS, "Enter tent mode, current state:%{public}d, change display mode to MAIN", currentState); in ChangeOnTentMode() 448 if (currentState == FoldStatus::EXPAND || currentState == FoldStatus::HALF_FOLD) { in ChangeOnTentMode() 450 } else if (currentState == FoldStatus::FOLDED) { in ChangeOnTentMode() 455 TLOGE(WmsLogTag::DMS, "current state:%{public}d invalid", currentState); in ChangeOnTentMode()
|
H A D | fold_screen_policy.cpp | 74 void FoldScreenPolicy::ChangeOnTentMode(FoldStatus currentState) {} in ChangeOnTentMode() argument
|
/foundation/multimedia/camera_framework/services/camera_service/src/ |
H A D | hcapture_session.cpp | 216 MEDIA_INFO_LOG("HCaptureSession::DynamicConfigStream enter. currentState = %{public}s", in DynamicConfigStream() 218 auto currentState = stateMachine_.GetCurrentState(); in DynamicConfigStream() local 219 if (currentState == CaptureSessionState::SESSION_STARTED) { in DynamicConfigStream() 264 stateMachine_.StateGuard([this, &errorCode](const CaptureSessionState currentState) { in CanAddInput() 265 if (currentState != CaptureSessionState::SESSION_CONFIG_INPROGRESS) { in CanAddInput() 295 stateMachine_.StateGuard([this, &errorCode, &cameraDevice](const CaptureSessionState currentState) { in AddInput() 296 if (currentState != CaptureSessionState::SESSION_CONFIG_INPROGRESS) { in AddInput() 347 stateMachine_.StateGuard([&errorCode, this](CaptureSessionState currentState) { in StartMovingPhotoStream() 348 if (currentState != CaptureSessionState::SESSION_CONFIG_COMMITTED) { in StartMovingPhotoStream() 349 MEDIA_ERR_LOG("EnableMovingPhoto, invalid session state: %{public}d, start after preview", currentState); in StartMovingPhotoStream() 1537 auto currentState = stateMachine_.GetCurrentState(); GetSessionState() local [all...] |
/foundation/arkui/ace_engine_lite/frameworks/src/core/components/ |
H A D | event_listener.cpp | 177 int8_t currentState = this->GetScrollState(); in EventExcute() local 178 jerry_value_t currentStateValue = jerry_create_number(currentState); in EventExcute()
|
/foundation/multimodalinput/input/intention/dfx/src/ |
H A D | cooperate_hisysevent.cpp | 160 std::string currentState = CooperateState_[curState]; in WriteCooperateState() local 161 return WriteInputFunc(CooperateType::UPDATESTATE_SUCC, type, "CurrentState", currentState); in WriteCooperateState()
|
/foundation/distributedhardware/distributed_audio/interfaces/inner_kits/native_cpp/audio_source/src/ |
H A D | daudio_ipc_callback.cpp | 90 BusinessState currentState = static_cast<BusinessState>(status); in OnHardwareStateChanged() local 91 stateListener_->OnStateChanged(devId, dhId, currentState); in OnHardwareStateChanged()
|
/foundation/distributedhardware/distributed_camera/interfaces/inner_kits/native_cpp/camera_source/src/callback/ |
H A D | dcamera_source_callback.cpp | 90 BusinessState currentState = static_cast<BusinessState>(status); in OnHardwareStateChanged() local 91 stateListener_->OnStateChanged(devId, dhId, currentState); in OnHardwareStateChanged()
|
/foundation/window/window_manager/window_scene/screen_session_manager/include/fold_screen_controller/ |
H A D | fold_screen_policy.h | 42 virtual void ChangeOnTentMode(FoldStatus currentState);
|
H A D | single_display_pocket_fold_policy.h | 57 void ChangeOnTentMode(FoldStatus currentState) override;
|
/foundation/multimedia/player_framework/frameworks/native/player/test/unittest/src/ |
H A D | player_mock.cpp | 276 void PlayerCallbackTest::Notify(PlayerStates currentState) in Notify() argument 278 if (currentState == PLAYER_PREPARED) { in Notify() 280 } else if (currentState == PLAYER_STARTED) { in Notify() 282 } else if (currentState == PLAYER_PAUSED) { in Notify() 284 } else if (currentState == PLAYER_STOPPED) { in Notify() 286 } else if (currentState == PLAYER_IDLE) { in Notify()
|
/foundation/multimedia/audio_framework/frameworks/native/audiorenderer/src/ |
H A D | audio_renderer.cpp | 919 State currentState = audioStream_->GetState(); in UpdateAudioInterruptStrategy() local 920 if (currentState == NEW || currentState == PREPARED) { in UpdateAudioInterruptStrategy() 928 if (currentState == RUNNING) { in UpdateAudioInterruptStrategy() 1028 State currentState = audioStream_->GetState(); in HandleAndNotifyForcedEvent() local 1032 if (currentState == RUNNING || currentState == PREPARED) { in HandleAndNotifyForcedEvent() 1038 sessionID_, static_cast<int32_t>(currentState)); in HandleAndNotifyForcedEvent() 1043 if ((currentState != PAUSED && currentState ! in HandleAndNotifyForcedEvent() [all...] |
/foundation/multimedia/audio_framework/services/audio_policy/test/unittest/audio_spatialization_service_unit_test/src/ |
H A D | audio_spatialization_service_unit_test.cpp | 285 AudioSpatializationState currentState = service.GetSpatializationState(StreamUsage::STREAM_USAGE_MEDIA); in HWTEST_F() local 286 EXPECT_EQ(currentState.spatializationEnabled, true); in HWTEST_F() 287 EXPECT_EQ(currentState.headTrackingEnabled, false); in HWTEST_F()
|
/foundation/multimedia/media_library/frameworks/js/src/ |
H A D | cloud_enhancement_napi.cpp | 781 int32_t currentState = GetInt(bundle, MediaEnhance_Query::CURRENT_STATE);
in FillTaskStageWithClientQuery() local 782 NAPI_INFO_LOG("clientQueryTaskStateFunc stage = %{public}d", currentState);
in FillTaskStageWithClientQuery() 783 if (currentState == MediaEnhance_Query::EN_EXCEPTION) {
in FillTaskStageWithClientQuery() 787 if (currentState == MediaEnhance_Query::EN_PREPARING) {
in FillTaskStageWithClientQuery() 789 } else if (currentState == MediaEnhance_Query::EN_UPLOADING) {
in FillTaskStageWithClientQuery() 793 } else if (currentState == MediaEnhance_Query::EN_EXECUTING) {
in FillTaskStageWithClientQuery() 796 } else if (currentState == MediaEnhance_Query::EN_DOWNLOADING) {
in FillTaskStageWithClientQuery()
|
/foundation/CastEngine/castengine_cast_framework/service/src/session/src/stream/src/ |
H A D | cast_stream_manager_client.cpp | 452 PlayerStates currentState; in ProcessActionPositionChanged() local 464 currentState = currentState_; in ProcessActionPositionChanged() 467 if (!isDoubleFrame && timer_ && currentState == PlayerStates::PLAYER_STARTED) { in ProcessActionPositionChanged()
|
/foundation/CastEngine/castengine_cast_plus_stream/src/stream/src/ |
H A D | cast_stream_manager_client.cpp | 452 PlayerStates currentState; in ProcessActionPositionChanged() local 464 currentState = currentState_; in ProcessActionPositionChanged() 467 if (!isDoubleFrame && timer_ && currentState == PlayerStates::PLAYER_STARTED) { in ProcessActionPositionChanged()
|
/foundation/multimedia/audio_framework/frameworks/native/audiocapturer/src/ |
H A D | audio_capturer.cpp | 705 State currentState = audioStream_->GetState(); in HandleAndNotifyForcedEvent() local 708 CHECK_AND_RETURN_LOG((currentState == PAUSED || currentState == PREPARED) && isForcePaused_ == true, in HandleAndNotifyForcedEvent() 709 "OnInterrupt state %{public}d or not forced pause %{public}d before", currentState, isForcePaused_); in HandleAndNotifyForcedEvent() 715 CHECK_AND_RETURN_LOG(currentState == RUNNING || currentState == PREPARED, in HandleAndNotifyForcedEvent() 716 "OnInterrupt state %{public}d, no need to pause", currentState); in HandleAndNotifyForcedEvent()
|
/foundation/multimedia/player_framework/frameworks/js/player/ |
H A D | audio_player_napi.cpp | 800 static std::string GetJSState(PlayerStates currentState) in GetJSState() argument 804 MEDIA_LOGD("GetJSState()! is called!, %{public}d", currentState); in GetJSState() 805 switch (currentState) { in GetJSState() 824 MEDIA_LOGE("Error state! %{public}d", currentState); in GetJSState()
|