Home
last modified time | relevance | path

Searched refs:SetState (Results 1 - 25 of 151) sorted by relevance

1234567

/foundation/graphic/graphic_3d/lume/metaobject/include/meta/ext/serialization/
H A Dserializer.h54 SerializerBase& SetState(ReturnError s) in SetState() function in SerializerBase
74 SetState(context_.ExportValue(nv.name, static_cast<UT>(nv.value))); in operator &()
76 SetState(context_.ExportValue(nv.name, nv.value)); in operator &()
88 SetState(GenericError::FAIL); in operator &()
99 SetState(GenericError::FAIL); in operator &()
108 SetState(context_.ExportWeakPtr(nv.name, interface_pointer_cast<IObject>(nv.value))); in operator &()
116 SetState(context_.AutoExport()); in operator &()
136 if (SetState(context_.ImportValue(nv.name, v))) { in operator &()
140 SetState(context_.ImportValue(nv.name, nv.value)); in operator &()
152 SetState(GenericErro in operator &()
[all...]
/foundation/arkui/ui_lite/frameworks/animator/
H A Danimator.cpp29 SetState(START); in Start()
37 SetState(STOP); in Stop()
46 SetState(PAUSE); in Pause()
52 SetState(START); in Resume()
/foundation/ability/ability_runtime/test/unittest/frameworks_kits_appkit_native_test/
H A Dapplication_impl_test.cpp73 applicationImpl_->SetState(MockApplication::APP_STATE_CREATE); in HWTEST_F()
95 applicationImpl_->SetState(MockApplication::APP_STATE_BACKGROUND); in HWTEST_F()
116 applicationImpl_->SetState(MockApplication::APP_STATE_READY); in HWTEST_F()
139 applicationImpl_->SetState(MockApplication::APP_STATE_CREATE); in HWTEST_F()
160 applicationImpl_->SetState(MockApplication::APP_STATE_BACKGROUND); in HWTEST_F()
183 applicationImpl_->SetState(MockApplication::APP_STATE_CREATE); in HWTEST_F()
204 applicationImpl_->SetState(MockApplication::APP_STATE_FOREGROUND); in HWTEST_F()
226 applicationImpl_->SetState(MockApplication::APP_STATE_CREATE); in HWTEST_F()
246 applicationImpl_->SetState(MockApplication::APP_STATE_BACKGROUND); in HWTEST_F()
321 applicationImpl_->SetState(MockApplicatio in HWTEST_F()
[all...]
/foundation/communication/dsoftbus/tests/core/connection/wifi_direct_cpp/
H A Dwifi_direct_manager_test.cpp145 link.SetState(OHOS::SoftBus::InnerLink::LinkState::CONNECTED); in HWTEST_F()
167 link.SetState(OHOS::SoftBus::InnerLink::LinkState::CONNECTED); in HWTEST_F()
172 link.SetState(OHOS::SoftBus::InnerLink::LinkState::CONNECTED); in HWTEST_F()
199 link.SetState(OHOS::SoftBus::InnerLink::LinkState::CONNECTED); in HWTEST_F()
205 link.SetState(OHOS::SoftBus::InnerLink::LinkState::CONNECTED); in HWTEST_F()
213 link.SetState(OHOS::SoftBus::InnerLink::LinkState::CONNECTED); in HWTEST_F()
237 link.SetState(OHOS::SoftBus::InnerLink::LinkState::CONNECTED); in HWTEST_F()
260 link.SetState(OHOS::SoftBus::InnerLink::LinkState::CONNECTED); in HWTEST_F()
267 link.SetState(OHOS::SoftBus::InnerLink::LinkState::CONNECTED); in HWTEST_F()
292 link.SetState(OHO in HWTEST_F()
[all...]
/foundation/distributedhardware/distributed_screen/services/screenservice/test/unittest/sourceservice/dscreenmgr/2.0/src/
H A Ddscreen_manager_test.cpp107 changedScreen->SetState(CONNECTING); in HWTEST_F()
129 changedScreen->SetState(CONNECTING); in HWTEST_F()
185 dScreen->SetState(DScreenState::ENABLED); in HWTEST_F()
189 dScreen->SetState(DScreenState::DISCONNECTING); in HWTEST_F()
192 dScreen->SetState(DScreenState::ENABLING); in HWTEST_F()
228 DScreenManager::GetInstance().dScreens_[dScreenIdx]->SetState(DScreenState::DISABLED); in HWTEST_F()
232 DScreenManager::GetInstance().dScreens_[dScreenIdx]->SetState(DScreenState::DISABLING); in HWTEST_F()
236 DScreenManager::GetInstance().dScreens_[dScreenIdx]->SetState(DScreenState::ENABLED); in HWTEST_F()
240 DScreenManager::GetInstance().dScreens_[dScreenIdx]->SetState(DScreenState::ENABLING); in HWTEST_F()
244 DScreenManager::GetInstance().dScreens_[dScreenIdx]->SetState(DScreenStat in HWTEST_F()
[all...]
H A Ddscreen_test.cpp70 dScreen_->SetState(state); in HWTEST_F()
117 dScreen_->SetState(state); in HWTEST_F()
145 dScreen_->SetState(DISABLED); in HWTEST_F()
148 dScreen_->SetState(ENABLED); in HWTEST_F()
161 dScreen_->SetState(DISABLED); in HWTEST_F()
164 dScreen_->SetState(CONNECTED); in HWTEST_F()
/foundation/distributedhardware/distributed_screen/services/screenservice/sourceservice/dscreenmgr/1.0/src/
H A Ddscreen.cpp43 SetState(DISABLED); in DScreen()
94 void DScreen::SetState(DScreenState state) in SetState() function in OHOS::DistributedHardware::V1_0::DScreen
223 SetState(ENABLING); in HandleEnable()
258 SetState(ENABLED); in HandleEnable()
343 SetState(DISABLING); in HandleDisable()
353 SetState(DISABLED); in HandleDisable()
366 SetState(ENABLED); in HandleConnect()
374 SetState(ENABLED); in HandleConnect()
379 SetState(CONNECTED); in HandleConnect()
392 SetState(DISCONNECTIN in HandleDisconnect()
[all...]
/foundation/filemanagement/storage_service/services/storage_manager/volume/src/
H A Dvolume_manager_service.cpp89 volumePtr->SetState(VolumeState::MOUNTED); in OnVolumeMounted()
114 volumePtr->SetState(VolumeState::UNMOUNTED); in Mount()
117 volumePtr->SetState(VolumeState::UNMOUNTED); in Mount()
139 volumePtr->SetState(VolumeState::EJECTING); in Unmount()
142 volumePtr->SetState(VolumeState::UNMOUNTED); in Unmount()
145 volumePtr->SetState(VolumeState::MOUNTED); in Unmount()
157 volumePtr->SetState(VolumeState::CHECKING); in Check()
261 volumePtr->SetState(MOUNTED); in NotifyMtpMounted()
/foundation/arkui/ace_engine_lite/frameworks/src/core/components/
H A Dswitch_component.cpp66 toggleButton_.SetState(false); in CreateNativeViews()
82 toggleButton_.SetState(BoolOf(attrValue)); in SetPrivateAttribute()
116 changeListener_->SetState(toggleButton_.GetState()); in PostRender()
H A Dinput_radio_component.cpp49 radioButton_.SetState(state); in SetPrivateAttribute()
125 changeListener_->SetState(state); in DealEvent()
H A Dinput_checkbox_component.cpp49 checkbox_.SetState(state); in SetPrivateAttribute()
113 changeListener_->SetState(state); in DealEvent()
/foundation/arkui/ui_lite/test/unittest/components/
H A Dui_toggle_button_unit_test.cpp64 * @tc.desc: Verify SetState function.
74 toggleBtn_->SetState(true); in HWTEST_F()
77 toggleBtn_->SetState(false); in HWTEST_F()
H A Dui_checkbox_unit_test.cpp51 * @tc.desc: Verify SetState function, equal.
83 * @tc.desc: Verify SetState function, equal.
93 checkBox_->SetState(UICheckBox::UICheckBoxState::SELECTED); in HWTEST_F()
95 checkBox_->SetState(UICheckBox::UICheckBoxState::UNSELECTED); in HWTEST_F()
/foundation/distributedhardware/distributed_screen/services/screenservice/sourceservice/dscreenmgr/2.0/src/
H A Ddscreen.cpp55 SetState(DISABLED); in DScreen()
142 SetState(ENABLING); in HandleEnable()
159 SetState(ENABLED); in HandleEnable()
174 SetState(DISABLED); in ParseInputScreenParam()
201 SetState(DISABLING); in HandleDisable()
211 SetState(DISABLED); in HandleDisable()
225 SetState(CONNECTING); in HandleConnect()
228 SetState(ENABLED); in HandleConnect()
235 SetState(ENABLED); in HandleConnect()
240 SetState(CONNECTE in HandleConnect()
666 void DScreen::SetState(DScreenState state) SetState() function in OHOS::DistributedHardware::V2_0::DScreen
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/linear_indicator/
H A Dlinear_indicator_controller.cpp118 animationData_.SetState(LinearIndicatorControllerDataState::INTERVAL); in StartProgressInterval()
135 animationData_.SetState(LinearIndicatorControllerDataState::STOP); in ProgreAnimationEnd()
141 animationData_.SetState(LinearIndicatorControllerDataState::STOP); in ProgreAnimationEnd()
188 animationData_.SetState(LinearIndicatorControllerDataState::ANIMATION); in StartProgressAnimation()
256 animationData_.SetState(LinearIndicatorControllerDataState::INTERVAL_PAUSE); in Pause()
314 animationData_.SetState(LinearIndicatorControllerDataState::ANIMATION_PAUSE); in SetProgress()
327 animationData_.SetState(state); in StopAnimation()
/foundation/multimedia/av_session/frameworks/native/session/test/unittest/
H A Davplayback_state_test.cpp54 avp->SetState(0); in HWTEST_F()
76 avPlaybackState.SetState(1); in HWTEST_F()
96 avPlaybackState.SetState(-1); in HWTEST_F()
169 avPlaybackState.SetState(0); in HWTEST_F()
/foundation/arkui/ui_lite/frameworks/components/
H A Dui_button.cpp160 SetState(PRESSED); in OnPressEvent()
174 SetState(RELEASED); in OnReleaseEvent()
188 SetState(RELEASED); in OnCancelEvent()
230 SetState(INACTIVE); in Disable()
236 SetState(RELEASED); in Enable()
240 void UIButton::SetState(ButtonState state) in SetState() function in OHOS::UIButton
H A Dui_video.cpp119 playButton_->SetState(true); in Play()
150 playButton_->SetState(false); in Pause()
182 playButton_->SetState(false); in Stop()
219 volumeButton_->SetState(true); in SetVolume()
221 volumeButton_->SetState(false); in SetVolume()
288 playButton_->SetState(false); in Reset()
435 playButton_->SetState(true); in InitControllerButton()
479 playButton_->SetState(false); in OnVideoComplete()
/foundation/ability/ability_runtime/test/unittest/ams_ability_running_record_test/
H A Dams_ability_running_record_test.cpp228 abilityRunningRecord->SetState(AbilityState::ABILITY_STATE_READY); in HWTEST_F()
229 appRunningRecord->SetState(ApplicationState::APP_STATE_READY); in HWTEST_F()
236 appRunningRecord->SetState(ApplicationState::APP_STATE_FOREGROUND); in HWTEST_F()
389 anotherAbilityRunningRecord->SetState(AbilityState::ABILITY_STATE_BACKGROUND); in HWTEST_F()
390 appRunningRecord->SetState(ApplicationState::APP_STATE_BACKGROUND); in HWTEST_F()
433 anotherAbilityRunningRecord->SetState(AbilityState::ABILITY_STATE_FOREGROUND); in HWTEST_F()
434 appRunningRecord->SetState(ApplicationState::APP_STATE_FOREGROUND); in HWTEST_F()
435 abilityRunningRecord->SetState(AbilityState::ABILITY_STATE_FOREGROUND); in HWTEST_F()
481 anotherAbilityRunningRecord->SetState(AbilityState::ABILITY_STATE_BACKGROUND); in HWTEST_F()
482 appRunningRecord->SetState(ApplicationStat in HWTEST_F()
[all...]
/foundation/ability/ability_runtime/test/moduletest/common/ams/ability_running_record_test/
H A Dams_ability_running_record_module_test.cpp340 caseAbilityRunningRecord->SetState(AbilityState::ABILITY_STATE_CREATE); in HWTEST_F()
341 appRunningRecord->SetState(ApplicationState::APP_STATE_CREATE); in HWTEST_F()
344 caseAbilityRunningRecord->SetState(AbilityState::ABILITY_STATE_FOREGROUND); in HWTEST_F()
345 appRunningRecord->SetState(ApplicationState::APP_STATE_FOREGROUND); in HWTEST_F()
348 caseAbilityRunningRecord->SetState(AbilityState::ABILITY_STATE_BACKGROUND); in HWTEST_F()
349 appRunningRecord->SetState(ApplicationState::APP_STATE_BACKGROUND); in HWTEST_F()
420 caseAbilityRunningRecord->SetState(AbilityState::ABILITY_STATE_FOREGROUND); in HWTEST_F()
421 appRunningRecord->SetState(ApplicationState::APP_STATE_BACKGROUND); in HWTEST_F()
/foundation/arkui/ui_lite/test/unittest/animator/
H A Danimator_unit_test.cpp124 * @tc.desc: Verify SetState function, equal.
134 animator_->SetState(Animator::START); in HWTEST_F()
136 animator_->SetState(Animator::STOP); in HWTEST_F()
138 animator_->SetState(Animator::PAUSE); in HWTEST_F()
/foundation/communication/dsoftbus/tests/core/connection/wifi_direct_cpp/data/
H A Dinner_link_test.cpp45 info.SetState(InnerLink::LinkState::CONNECTING); in HWTEST_F()
160 info.SetState(InnerLink::LinkState::CONNECTING); in HWTEST_F()
162 info.SetState(InnerLink::LinkState::CONNECTED); in HWTEST_F()
/foundation/ability/ability_runtime/test/moduletest/common/ams/app_running_record_test/
H A Dams_app_running_record_module_test.cpp224 record->SetState(ApplicationState::APP_STATE_FOREGROUND); in HWTEST_F()
233 record->SetState(ApplicationState::APP_STATE_BACKGROUND); in HWTEST_F()
281 record->SetState(ApplicationState::APP_STATE_BACKGROUND); in HWTEST_F()
331 record->SetState(ApplicationState::APP_STATE_BACKGROUND); in HWTEST_F()
379 record->SetState(ApplicationState::APP_STATE_BACKGROUND); in HWTEST_F()
432 record->SetState(ApplicationState::APP_STATE_FOREGROUND); in HWTEST_F()
442 record->SetState(ApplicationState::APP_STATE_BACKGROUND); in HWTEST_F()
470 * 3. use ScheduleBackgroundRunning and SetState to update state
506 record->SetState(ApplicationState::APP_STATE_FOREGROUND); in HWTEST_F()
516 record->SetState(ApplicationStat in HWTEST_F()
[all...]
/foundation/ability/ability_lite/interfaces/inner_api/abilitymgr_lite/slite/
H A Dability_record_state_data.h38 void SetState(AbilityRecordState state) in SetState() function in OHOS::AbilitySlite::AbilityRecordStateData
/foundation/arkui/ace_engine/test/unittest/core/pattern/image_animator/
H A Dimage_animator_test_ng.cpp171 ImageAnimatorModelNG.SetState(STATE_START); in CreateImageAnimator()
193 ImageAnimatorModelNG.SetState(STATE_START); in CreatePixelMapAnimator()
248 ImageAnimatorModelNG.SetState(STATE_DEFAULT); in HWTEST_F()
375 ImageAnimatorModelNG.SetState(STATE_START); in HWTEST_F()
470 ImageAnimatorModelNG.SetState(STATE_PAUSED); in HWTEST_F()
529 ImageAnimatorModelNG.SetState(STATE_START); in HWTEST_F()
566 ImageAnimatorModelNG.SetState(STATE_DEFAULT); in HWTEST_F()
607 ImageAnimatorModelNG.SetState(STATE_START); in HWTEST_F()
647 ImageAnimatorModelNG.SetState(STATE_STOPPED); in HWTEST_F()
681 ImageAnimatorModelNG.SetState(STATE_STAR in HWTEST_F()
[all...]

Completed in 18 milliseconds

1234567