Home
last modified time | relevance | path

Searched refs:GetBool (Results 1 – 25 of 114) sorted by relevance

12345

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/common/recorder/
H A Devent_config.cpp62 enable_ = jsonObj->GetBool("enable", false); in ParseSwitch()
65 switches_->emplace(EventCategory::CATEGORY_PAGE, switchVal->GetBool("page", false)); in ParseSwitch()
66 … switches_->emplace(EventCategory::CATEGORY_COMPONENT, switchVal->GetBool("component", false)); in ParseSwitch()
67 switches_->emplace(EventCategory::CATEGORY_EXPOSURE, switchVal->GetBool("exposure", false)); in ParseSwitch()
68 … switches_->emplace(EventCategory::CATEGORY_PAGE_PARAM, switchVal->GetBool("pageParam", false)); in ParseSwitch()
72 EventRecorder::Get().pageEnable_ = globalSwitchVal->GetBool("page", true); in ParseSwitch()
73 EventRecorder::Get().componentEnable_ = globalSwitchVal->GetBool("component", true); in ParseSwitch()
74 EventRecorder::Get().exposureEnable_ = globalSwitchVal->GetBool("exposure", true); in ParseSwitch()
75 EventRecorder::Get().pageParamEnable_ = globalSwitchVal->GetBool("pageParam", true); in ParseSwitch()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/test/json/
H A Dtext_field_creator.cpp43 textField->SetObscure(json.GetBool(OBSCURE_TEXT, false)); in CreateFromJson()
44 textField->SetEnabled(json.GetBool(TEXT_FIELD_ENABLED, true)); in CreateFromJson()
45 textField->SetAutoFocus(json.GetBool(TEXT_FIELD_AUTO_FOCUS, false)); in CreateFromJson()
79 textField->SetExtend(json.GetBool(TEXT_FIELD_EXTEND, false)); in CreateFromJson()
/ohos5.0/foundation/multimodalinput/input/service/module_loader/src/
H A Dmultimodal_input_preferences_manager.cpp97 hoverScrollState_ = mousePref->GetBool(strHoverScrollState_, BOOL_DEFAULT); in GetPreferencesSettings()
99 touchpadTapSwitch_ = touchpadPref->GetBool(strTouchpadTapSwitch_, BOOL_DEFAULT); in GetPreferencesSettings()
102 touchpadPinchSwitch_ = touchpadPref->GetBool(strTouchpadPinchSwitch_, BOOL_DEFAULT); in GetPreferencesSettings()
103 touchpadSwipeSwitch_ = touchpadPref->GetBool(strTouchpadSwipeSwitch_, BOOL_DEFAULT); in GetPreferencesSettings()
105 touchpadScrollSwitch_ = touchpadPref->GetBool(strTouchpadScrollSwitch_, BOOL_DEFAULT); in GetPreferencesSettings()
107 touchpadScrollDirection_ = touchpadPref->GetBool(strTouchpadScrollDirection_, BOOL_DEFAULT); in GetPreferencesSettings()
108 touchpadDoubleTapAndDrag_ = touchpadPref->GetBool(strTouchpadDoubleTapAndDrag_, BOOL_DEFAULT); in GetPreferencesSettings()
/ohos5.0/drivers/peripheral/codec/hal/idl_service/src/
H A Dcodec_component_config.cpp158 (iface->GetBool == nullptr) || (iface->GetString == nullptr)) { in GetGroupCapabilities()
216 cap.isSoftwareCodec = iface.GetBool(&childNode, CODEC_CONFIG_KEY_IS_SOFTWARE_CODEC); in GetOneCapability()
217 cap.canSwapWidthHeight = iface.GetBool(&childNode, CODEC_CONFIG_KEY_CAN_SWAP_WIDTH_HEIGHT); in GetOneCapability()
364 …cap.port.video.isSupportPassthrough = iface.GetBool(&childNode, CODEC_CONFIG_KEY_IS_SUPPORT_PASSTH… in GetVideoPortCapability()
365 …cap.port.video.isSupportLowLatency = iface.GetBool(&childNode, CODEC_CONFIG_KEY_IS_SUPPORT_LOW_LAT… in GetVideoPortCapability()
366 cap.port.video.isSupportTSVC = iface.GetBool(&childNode, CODEC_CONFIG_KEY_IS_SUPPORT_TSVC); in GetVideoPortCapability()
367 cap.port.video.isSupportLTR = iface.GetBool(&childNode, CODEC_CONFIG_KEY_IS_SUPPORT_LTR); in GetVideoPortCapability()
374 …cap.port.video.isSupportWaterMark = iface.GetBool(&childNode, CODEC_CONFIG_KEY_IS_SUPPORT_WATERMAR… in GetVideoPortCapability()
/ohos5.0/foundation/distributeddatamgr/preferences/test/native/unittest/
H A Dpreferences_test.cpp254 bool ret = pref->GetBool(LONG_KEY + 'x', true);
257 ret = pref->GetBool("", true);
264 ret = pref->GetBool(KEY_TEST_BOOL_ELEMENT, true);
267 ret = pref->GetBool(KEY_TEST_STRING_ELEMENT, true);
393 bool ret3 = pref->GetBool(KEY_TEST_BOOL_ELEMENT, true);
413 bool ret = pref->GetBool(LONG_KEY + 'x', false);
415 ret = pref->GetBool("", false);
422 ret = pref->GetBool(LONG_KEY, false);
424 ret = pref->GetBool(KEY_TEST_BOOL_ELEMENT, false);
807 bool ret = pref1->GetBool(LONG_KEY);
[all …]
/ohos5.0/foundation/arkui/ace_engine/adapter/preview/external/ability/stage/
H A Dstage_app_info.cpp32 debug_ = root->GetBool("debug", false); in Parse()
33 distributedNotificationEnabled_ = root->GetBool("distributedNotificationEnabled", true); in Parse()
/ohos5.0/foundation/arkui/ace_engine/test/unittest/base/
H A Duobject_test.cpp83 EXPECT_EQ(uObject.GetBool("invalidKey"), false);
84 EXPECT_EQ(uObject.GetBool("bool"), false);
H A Dnode_object_test.cpp79 EXPECT_EQ(nodeObject->GetBool("bool", true), false);
80 EXPECT_EQ(nodeObject->GetBool("", true), true);
/ohos5.0/foundation/arkui/ace_engine/frameworks/base/json/
H A Dnode_object.cpp36 object->AddItemToObject(item->GetKey(), item->GetBool()); in FromJsonObject()
58 bool NodeObject::GetBool(const std::string& key, bool defaultValue) const in GetBool() function in OHOS::Ace::NodeObject
62 return uobject_->GetBool(key); in GetBool()
H A Djson_util.h50 bool GetBool() const;
51 bool GetBool(const std::string& key, bool defaultValue = false) const override;
/ohos5.0/foundation/arkui/ace_engine/adapter/preview/osal/
H A Dstage_card_parser.cpp64 isDefault_ = formConfig->GetBool("updateEnabled", true); in Parse()
69 updateEnabled_ = formConfig->GetBool("updateEnabled", true); in Parse()
/ohos5.0/foundation/multimedia/image_effect/test/unittest/
H A DTestJsonHelper.cpp128 ASSERT_EQ(values->GetBool(BOOL_TEST), true);
264 ASSERT_DOUBLE_EQ(boolValues[0]->GetBool(), boolValue);
305 ASSERT_EQ(values->GetBool(BOOL_TEST), boolValue);
334 ASSERT_FALSE(stringKeyJsonPtr->GetBool());
340 ASSERT_EQ(root->GetBool(STRING_TEST, true), true);
/ohos5.0/foundation/filemanagement/dfs_service/utils/preference/src/
H A Dcloud_pref_impl.cpp127 void CloudPrefImpl::GetBool(const std::string& key, bool& value) in GetBool() function in OHOS::FileManagement::CloudSync::CloudPrefImpl
133 value = pref_->GetBool(key, false); in GetBool()
/ohos5.0/drivers/hdf_core/framework/model/misc/vibrator/driver/src/
H A Dvibrator_parser.c43 ret = parser->GetBool(infoNode, "isSupportIntensity"); in ParseVibratorInfo()
45 ret = parser->GetBool(infoNode, "isSupportFrequency"); in ParseVibratorInfo()
/ohos5.0/foundation/multimedia/image_effect/interfaces/inner_api/native/utils/
H A Djson_helper.h54 IMAGE_EFFECT_EXPORT bool GetBool(const std::string &key, bool defaultValue = false);
62 IMAGE_EFFECT_EXPORT bool GetBool();
/ohos5.0/foundation/multimedia/image_effect/frameworks/native/utils/common/
H A Djson_helper.cpp183 bool EffectJson::GetBool() in GetBool() function in OHOS::Media::Effect::EffectJson
191 bool EffectJson::GetBool(const std::string &key, bool defaultValue) in GetBool() function in OHOS::Media::Effect::EffectJson
198 return element->GetBool(); in GetBool()
/ohos5.0/foundation/arkui/ace_engine/component_ext/ext_common/
H A Dext_napi_utils.h45 static bool GetBool(napi_env env, napi_value value);
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/common/manifest/
H A Dmanifest_window.cpp54 windowConfig_.autoDesignWidth = window->GetBool("autoDesignWidth", false); in WindowParse()
H A Dmanifest_parser.cpp57 webFeature_ = rootJson->GetBool("webFeature", false); in Parse()
/ohos5.0/foundation/arkui/ace_engine/adapter/ohos/osal/
H A Dthp_extra_manager_impl.cpp65 enable_ = hotzone->GetBool("enable", false); in Init()
/ohos5.0/foundation/filemanagement/dfs_service/test/unittests/cloudsync_sa/mock/
H A Dcloud_pref_impl_mock.cpp58 void CloudPrefImpl::GetBool(const std::string& key, bool& value) in GetBool() function in OHOS::FileManagement::CloudSync::CloudPrefImpl
/ohos5.0/drivers/hdf_core/framework/utils/src/hcs_parser/
H A Ddevice_resource_if.c16 instance->GetBool = HcsGetBool; in HcsIfaceConstruct()
/ohos5.0/base/inputmethod/imf/test/unittest/cpp_test/src/
H A Djs_util_test.cpp93 static napi_value GetBool(napi_env env, napi_callback_info info) in GetBool() function
157 DECLARE_NAPI_FUNCTION("getBool", GetBool), in Init()
/ohos5.0/foundation/filemanagement/dfs_service/utils/inner_api/
H A Dcloud_pref_impl.h38 void GetBool(const std::string& key, bool& value);
/ohos5.0/foundation/arkui/ace_engine/interfaces/inner_api/ace/
H A Dserializeable_object.h33 virtual bool GetBool(const std::string& key, bool defaultValue = false) const = 0;

12345