Home
last modified time | relevance | path

Searched defs:state (Results 1 – 25 of 1630) sorted by relevance

12345678910>>...66

/foundation/barrierfree/accessibility/services/aams/test/unittest/
Daccessibility_settings_config_test.cpp109 bool state = true; variable
124 bool state = true; variable
138 bool state = true; variable
153 bool state = true; variable
167 bool state = true; variable
182 bool state = true; variable
197 bool state = true; variable
213 bool state = true; variable
258 bool state = true; variable
273 bool state = true; variable
[all …]
Daccessible_ability_manager_service_test.cpp135 …sptr<IAccessibleAbilityManagerStateObserver> state = new MockAccessibleAbilityManagerStateObserver… variable
343 bool state = true; variable
359 bool state = true; variable
375 bool state = true; variable
423 bool state = true; variable
438 bool state = true; variable
455 bool state = true; variable
471 bool state = true; variable
486 bool state = true; variable
620 bool state = true; variable
[all …]
/foundation/bundlemanager/bundle_framework/test/benchmarktest/json_serializer_test/
Djson_serializer_test.cpp33 static void BenchmarkTestForCustomizeDataToJson(benchmark::State &state) in BenchmarkTestForCustomizeDataToJson()
52 static void BenchmarkTestForCustomizeDataFromJson(benchmark::State &state) in BenchmarkTestForCustomizeDataFromJson()
71 static void BenchmarkTestForMetadataToJson(benchmark::State &state) in BenchmarkTestForMetadataToJson()
90 static void BenchmarkTestForMetadataFromJson(benchmark::State &state) in BenchmarkTestForMetadataFromJson()
109 static void BenchmarkTestForAbilityInfoToJson(benchmark::State &state) in BenchmarkTestForAbilityInfoToJson()
128 static void BenchmarkTestForAbilityInfoFromJson(benchmark::State &state) in BenchmarkTestForAbilityInfoFromJson()
147 static void BenchmarkTestForExtensionAbilityInfoToJson(benchmark::State &state) in BenchmarkTestForExtensionAbilityInfoToJson()
166 static void BenchmarkTestForExtensionAbilityInfoFromJson(benchmark::State &state) in BenchmarkTestForExtensionAbilityInfoFromJson()
185 static void BenchmarkTestForApplicationInfoToJson(benchmark::State &state) in BenchmarkTestForApplicationInfoToJson()
204 static void BenchmarkTestForApplicationInfoFromJson(benchmark::State &state) in BenchmarkTestForApplicationInfoFromJson()
[all …]
/foundation/bundlemanager/bundle_framework/test/benchmarktest/bundlemgr_proxy_test/
Dbundlemgr_proxy_test.cpp110 static void BenchmarkTestGetApplicationInfoByFlag(benchmark::State &state) in BenchmarkTestGetApplicationInfoByFlag()
131 static void BenchmarkTestGetApplicationInfoByUserId(benchmark::State &state) in BenchmarkTestGetApplicationInfoByUserId()
153 static void BenchmarkTestGetApplicationInfosByApplicationFlag(benchmark::State &state) in BenchmarkTestGetApplicationInfosByApplicationFlag()
175 static void BenchmarkTestGetApplicationInfosByFlags(benchmark::State &state) in BenchmarkTestGetApplicationInfosByFlags()
197 static void BenchmarkTestGetBundleInfoByBundleFlag(benchmark::State &state) in BenchmarkTestGetBundleInfoByBundleFlag()
217 static void BenchmarkTestGetBundleInfoByFlags(benchmark::State &state) in BenchmarkTestGetBundleInfoByFlags()
239 static void BenchmarkTestGetBundleInfosByBundleFlag(benchmark::State &state) in BenchmarkTestGetBundleInfosByBundleFlag()
260 static void BenchmarkTestGetBundleInfosByFlags(benchmark::State &state) in BenchmarkTestGetBundleInfosByFlags()
282 static void BenchmarkTestGetUidByBundleName(benchmark::State &state) in BenchmarkTestGetUidByBundleName()
300 static void BenchmarkTestGetAppIdByBundleName(benchmark::State &state) in BenchmarkTestGetAppIdByBundleName()
[all …]
/foundation/barrierfree/accessibility/services/aams/test/mock/src/
Dmock_accessibility_settings_config.cpp27 RetError AccessibilitySettingsConfig::SetEnabled(const bool state) in SetEnabled()
34 RetError AccessibilitySettingsConfig::SetTouchGuideState(const bool state) in SetTouchGuideState()
41 RetError AccessibilitySettingsConfig::SetGestureState(const bool state) in SetGestureState()
48 RetError AccessibilitySettingsConfig::SetKeyEventObserverState(const bool state) in SetKeyEventObserverState()
55 RetError AccessibilitySettingsConfig::SetCaptionState(const bool state) in SetCaptionState()
62 RetError AccessibilitySettingsConfig::SetScreenMagnificationState(const bool state) in SetScreenMagnificationState()
76 RetError AccessibilitySettingsConfig::SetShortKeyState(const bool state) in SetShortKeyState()
83 RetError AccessibilitySettingsConfig::SetShortKeyOnLockScreenState(const bool state) in SetShortKeyOnLockScreenState()
97 RetError AccessibilitySettingsConfig::SetMouseKeyState(const bool state) in SetMouseKeyState()
138 RetError AccessibilitySettingsConfig::SetHighContrastTextState(const bool state) in SetHighContrastTextState()
[all …]
/foundation/ability/ability_runtime/test/unittest/frameworks_kits_ability_native_test/
Dability_lifecycle_executor_test.cpp64 AbilityLifecycleExecutor::LifecycleState state = variable
84 AbilityLifecycleExecutor::LifecycleState state = variable
104 AbilityLifecycleExecutor::LifecycleState state = variable
124 AbilityLifecycleExecutor::LifecycleState state = variable
144 AbilityLifecycleExecutor::LifecycleState state = variable
164 AbilityLifecycleExecutor::LifecycleState state = variable
/foundation/ability/ability_runtime/interfaces/inner_api/ability_manager/include/
Dstate_pattern_naive.h27 #define STATE_PATTERN_NAIVE_STATE_SET_AND_RETURN(state, returnVal) \ argument
33 #define STATE_PATTERN_NAIVE_ACCEPT(state, returnVal) \ argument
40 #define STATE_PATTERN_NAIVE_REJECT(state, returnVal) \ argument
48 #define STATE_PATTERN_NAIVE_ACCEPT_LOG(state, returnVal, ...) \ argument
56 #define STATE_PATTERN_NAIVE_REJECT_LOG(state, returnVal, ...) \ argument
/foundation/CastEngine/castengine_wifi_display/tests/unittest/impl/session/mock/
Dmock_wfd_sink_session.cpp29 void MockWfdSinkSession::SetConnectState(bool state) in SetConnectState()
34 void MockWfdSinkSession::SetInterruptState(bool state) in SetInterruptState()
39 void MockWfdSinkSession::SetWfdState(WfdSessionState state) in SetWfdState()
49 void MockWfdSinkSession::SetRunningState(SessionRunningStatus state) in SetRunningState()
Dmock_wfd_source_session.cpp29 void MockWfdSourceSession::SetInterruptState(bool state) in SetInterruptState()
34 void MockWfdSourceSession::SetWfdState(WfdSessionState state) in SetWfdState()
44 void MockWfdSourceSession::SetRunningState(SessionRunningStatus state) in SetRunningState()
/foundation/graphic/graphic_2d/rosen/modules/hyper_graphic_manager/core/utils/
Dhgm_state_machine.h40 explicit HgmStateMachine(State state) : state_(state) {} in HgmStateMachine()
56 virtual std::string State2String(State state) const { return std::to_string(state); } in State2String()
81 void HgmStateMachine<State, Event>::ChangeState(State state) in ChangeState()
126 int32_t HgmStateMachine<State, Event>::RegisterEnterStateCallback(State state, const StateChangeCal… in RegisterEnterStateCallback()
132 void HgmStateMachine<State, Event>::UnRegisterEnterStateCallback(State state, int32_t callbackId) in UnRegisterEnterStateCallback()
138 int32_t HgmStateMachine<State, Event>::RegisterExitStateCallback(State state, const StateChangeCall… in RegisterExitStateCallback()
144 void HgmStateMachine<State, Event>::UnRegisterExitStateCallback(State state, int32_t callbackId) in UnRegisterExitStateCallback()
165 StateChangeCallbacksType& callbacks, State state, const StateChangeCallback& callback) in RegisterStateChangeCallback()
174 StateChangeCallbacksType& callbacks, State state, int32_t callbackId) in UnRegisterStateChangeCallback()
/foundation/ability/ability_runtime/services/abilitymgr/src/utils/
Dstate_utils.cpp20 std::string StateUtils::StateToStrMap(const AbilityState &state) in StateToStrMap()
42 std::string StateUtils::AppStateToStrMap(const AppState &state) in AppStateToStrMap()
57 int StateUtils::ConvertStateMap(const AbilityLifeCycleState &state) in ConvertStateMap()
/foundation/bundlemanager/app_domain_verify/test/unittest/common/bean_parcel_test/mock/
Dparcel.cpp36 void MockWriteUint32(bool state) in MockWriteUint32()
41 void MockWriteInt32(bool state) in MockWriteInt32()
46 void MockReadUint32(int state) in MockReadUint32()
51 void MockReadInt32(bool state) in MockReadInt32()
56 void MockWriteString(bool state, uint8_t count) in MockWriteString()
62 void MockReadString(bool state, uint8_t count) in MockReadString()
68 void MockWriteParcelable(bool state) in MockWriteParcelable()
73 void MockReadParcelable(bool state) in MockReadParcelable()
/foundation/bundlemanager/bundle_framework/test/benchmarktest/distributed_bundle_info_test/
Ddistributed_bundle_info_test.cpp31 static void BenchmarkTestForReadFromParcel(benchmark::State &state) in BenchmarkTestForReadFromParcel()
51 static void BenchmarkTestForMarshalling(benchmark::State &state) in BenchmarkTestForMarshalling()
70 static void BenchmarkTestForUnmarshalling(benchmark::State &state) in BenchmarkTestForUnmarshalling()
90 static void BenchmarkTestForToString(benchmark::State &state) in BenchmarkTestForToString()
108 static void BenchmarkTestForFromJsonString(benchmark::State &state) in BenchmarkTestForFromJsonString()
/foundation/barrierfree/accessibility/services/test/mock/
Dmock_accessible_ability_manager_service_stub.cpp71 RetError MockAccessibleAbilityManagerServiceStub::SetCaptionState(const bool state) in SetCaptionState()
143 RetError MockAccessibleAbilityManagerServiceStub::GetCaptionState(bool &state) in GetCaptionState()
204 RetError MockAccessibleAbilityManagerServiceStub::SetScreenMagnificationState(const bool state) in SetScreenMagnificationState()
210 RetError MockAccessibleAbilityManagerServiceStub::SetShortKeyState(const bool state) in SetShortKeyState()
216 RetError MockAccessibleAbilityManagerServiceStub::SetMouseKeyState(const bool state) in SetMouseKeyState()
240 RetError MockAccessibleAbilityManagerServiceStub::SetHighContrastTextState(const bool state) in SetHighContrastTextState()
246 RetError MockAccessibleAbilityManagerServiceStub::SetInvertColorState(const bool state) in SetInvertColorState()
252 RetError MockAccessibleAbilityManagerServiceStub::SetAnimationOffState(const bool state) in SetAnimationOffState()
258 RetError MockAccessibleAbilityManagerServiceStub::SetAudioMonoState(const bool state) in SetAudioMonoState()
264 RetError MockAccessibleAbilityManagerServiceStub::SetDaltonizationState(const bool state) in SetDaltonizationState()
[all …]
/foundation/CastEngine/castengine_wifi_display/tests/unittest/impl/rtp/mock/
Dmock_wfd_rtp_producer.cpp32 void MockWfdRtpProducer::SetInitState(bool state) in SetInitState()
37 void MockWfdRtpProducer::SetPauseState(bool state) in SetPauseState()
42 void MockWfdRtpProducer::SetRunningState(bool state) in SetRunningState()
/foundation/arkui/ace_engine/adapter/preview/osal/
Dresource_adapter_impl_standard.cpp217 auto state = resourceManager_->GetColorById(resId, result); in GetColor() local
231 auto state = resourceManager_->GetColorByName(actualResName.c_str(), result); in GetColorByName() local
244 auto state = resourceManager_->GetFloatById(resId, dimensionFloat, unit); in GetDimension() local
259 auto state = resourceManager_->GetFloatByName(actualResName.c_str(), dimensionFloat, unit); in GetDimensionByName() local
271 auto state = resourceManager_->GetStringById(resId, strResult); in GetString() local
284 auto state = resourceManager_->GetStringByName(actualResName.c_str(), strResult); in GetStringByName() local
297 auto state = resourceManager_->GetPluralStringById(resId, quantity, strResult); in GetPluralString() local
310 … auto state = resourceManager_->GetPluralStringByName(actualResName.c_str(), quantity, strResult); in GetPluralStringByName() local
323 auto state = resourceManager_->GetStringArrayById(resId, strResults); in GetStringArray() local
336 auto state = resourceManager_->GetStringArrayByName(actualResName.c_str(), strResults); in GetStringArrayByName() local
[all …]
/foundation/multimodalinput/input/util/napi/include/
Dutil_napi.h25 #define CHKRV(state, desc) \ argument
33 #define CHKRP(state, desc) \ argument
41 #define CHKRF(state, desc) \ argument
49 #define CHKRR(state, desc, ret) \ argument
65 #define CHKRV_SCOPE(env, state, desc, scope) \ argument
74 #define CHKRV_SCOPE_DEL(env, state, desc, scope) \ argument
/foundation/communication/bluetooth_service/test/unittest/pbap/
Dpbap_client_test.cpp33 void OnServiceConnectionStateChanged(const BluetoothRemoteDevice &device, int state) {} in OnServiceConnectionStateChanged()
181 int state = profile_->GetDeviceState(device); variable
212 int state = profile_->GetConnectionStrategy(device); variable
229 int state = profile_->SetDevicePassword(device, password, userId); variable
245 int state = profile_->PullPhoneBook(device, param); variable
262 int state = profile_->SetPhoneBook(device, name, flag); variable
278 int state = profile_->PullvCardListing(device, param); variable
294 int state = profile_->PullvCardEntry(device, param); variable
324 int state = profile_->AbortDownloading(device); variable
/foundation/arkui/ace_engine/adapter/ohos/osal/
Dresource_adapter_impl.cpp217 auto state = manager->GetColorById(resId, result); in GetColor() local
230 auto state = manager->GetColorByName(actualResName.c_str(), result); in GetColorByName() local
244 auto state = manager->GetFloatById(resId, dimensionFloat, unit); in GetDimension() local
255 auto state = manager->GetFloatById(resId, dimensionFloat, unit); in GetDimension() local
265 auto state = manager->GetFloatById(resId, dimensionFloat); in GetDimension() local
280 auto state = manager->GetFloatByName(actualResName.c_str(), dimensionFloat, unit); in GetDimensionByName() local
311 auto state = manager->GetPluralStringById(resId, quantity, strResult); in GetPluralString() local
324 auto state = manager->GetPluralStringByName(actualResName.c_str(), quantity, strResult); in GetPluralStringByName() local
346 auto state = manager->GetStringArrayByName(actualResName.c_str(), strResults); in GetStringArrayByName() local
358 auto state = manager->GetFloatById(resId, result); in GetDouble() local
[all …]
Dresource_adapter_impl_v2.cpp291 auto state = manager->GetPatternByName(patternTag.c_str(), attrMap); in GetPatternByName() local
308 auto state = manager->GetColorById(resId, result); in GetColor() local
322 auto state = manager->GetColorByName(actualResName.c_str(), result); in GetColorByName() local
337 auto state = manager->GetFloatById(resId, dimensionFloat, unit); in GetDimension() local
349 auto state = manager->GetFloatById(resId, dimensionFloat, unit); in GetDimension() local
360 auto state = manager->GetFloatById(resId, dimensionFloat); in GetDimension() local
376 auto state = manager->GetFloatByName(actualResName.c_str(), dimensionFloat, unit); in GetDimensionByName() local
389 auto state = manager->GetStringById(resId, strResult); in GetString() local
402 auto state = manager->GetStringByName(actualResName.c_str(), strResult); in GetStringByName() local
415 auto state = manager->GetPluralStringById(resId, quantity, strResult); in GetPluralString() local
[all …]
/foundation/barrierfree/accessibility/frameworks/acfwk/test/unittest/
Daccessibility_config_impl_test.cpp103 bool state = true; variable
122 bool state = true; variable
140 bool state = true; variable
158 bool state = true; variable
254 bool state = true; variable
273 bool state = true; variable
292 bool state = true; variable
350 bool state = true; variable
387 bool state = true; variable
438 bool state = true; variable
[all …]
/foundation/bundlemanager/bundle_framework/test/benchmarktest/form_info_test/
Dform_info_test.cpp31 static void BenchmarkTestForReadFromParcel(benchmark::State &state) in BenchmarkTestForReadFromParcel()
53 static void BenchmarkTestForMarshalling(benchmark::State &state) in BenchmarkTestForMarshalling()
74 static void BenchmarkTestForUnmarshalling(benchmark::State &state) in BenchmarkTestForUnmarshalling()
96 static void BenchmarkTestForIsValid(benchmark::State &state) in BenchmarkTestForIsValid()
/foundation/bundlemanager/bundle_framework/test/benchmarktest/application_info_test/
Dapplication_info_test.cpp31 static void BenchmarkTestForReadFromParcel(benchmark::State &state) in BenchmarkTestForReadFromParcel()
60 static void BenchmarkTestForReadMetaDataFromParcel(benchmark::State &state) in BenchmarkTestForReadMetaDataFromParcel()
89 static void BenchmarkTestForMarshalling(benchmark::State &state) in BenchmarkTestForMarshalling()
117 static void BenchmarkTestForUnmarshalling(benchmark::State &state) in BenchmarkTestForUnmarshalling()
/foundation/arkui/ace_engine/frameworks/core/components_ng/event/
Dstate_style_manager.h49 bool HasStateStyle(UIState state) const in HasStateStyle()
59 void AddSupportedState(UIState state) in AddSupportedState()
64 void SetSupportedStates(UIState state) in SetSupportedStates()
69 bool IsCurrentStateOn(UIState state) const in IsCurrentStateOn()
77 void SetCurrentUIState(UIState state, bool flag) in SetCurrentUIState()
86 void UpdateCurrentUIState(UIState state) in UpdateCurrentUIState()
98 void ResetCurrentUIState(UIState state) in ResetCurrentUIState()
/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_manage/wifi_sta/
Dself_cure_service_test.cpp76 OperateResState state = OperateResState::CONNECT_AP_CONNECTED; in HandleStaConnChangedTest() local
88 OperateResState state = OperateResState::DISCONNECT_DISCONNECTED; in HandleStaConnChangedTest2() local
95 OperateResState state = OperateResState::CONNECT_NETWORK_DISABLED; in HandleStaConnChangedTest3() local
102 OperateResState state = OperateResState::CONNECT_NETWORK_ENABLED; in HandleStaConnChangedTest4() local
109 OperateResState state = OperateResState::CONNECT_CHECK_PORTAL; in HandleStaConnChangedTest5() local

12345678910>>...66