/ohos5.0/foundation/arkui/ace_engine/frameworks/core/common/recorder/ |
H A D | event_config.cpp | 62 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 D | text_field_creator.cpp | 43 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 D | multimodal_input_preferences_manager.cpp | 97 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 D | codec_component_config.cpp | 158 (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 D | preferences_test.cpp | 254 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 D | stage_app_info.cpp | 32 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 D | uobject_test.cpp | 83 EXPECT_EQ(uObject.GetBool("invalidKey"), false); 84 EXPECT_EQ(uObject.GetBool("bool"), false);
|
H A D | node_object_test.cpp | 79 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 D | node_object.cpp | 36 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 D | json_util.h | 50 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 D | stage_card_parser.cpp | 64 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 D | TestJsonHelper.cpp | 128 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 D | cloud_pref_impl.cpp | 127 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 D | vibrator_parser.c | 43 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 D | json_helper.h | 54 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 D | json_helper.cpp | 183 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 D | ext_napi_utils.h | 45 static bool GetBool(napi_env env, napi_value value);
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/common/manifest/ |
H A D | manifest_window.cpp | 54 windowConfig_.autoDesignWidth = window->GetBool("autoDesignWidth", false); in WindowParse()
|
H A D | manifest_parser.cpp | 57 webFeature_ = rootJson->GetBool("webFeature", false); in Parse()
|
/ohos5.0/foundation/arkui/ace_engine/adapter/ohos/osal/ |
H A D | thp_extra_manager_impl.cpp | 65 enable_ = hotzone->GetBool("enable", false); in Init()
|
/ohos5.0/foundation/filemanagement/dfs_service/test/unittests/cloudsync_sa/mock/ |
H A D | cloud_pref_impl_mock.cpp | 58 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 D | device_resource_if.c | 16 instance->GetBool = HcsGetBool; in HcsIfaceConstruct()
|
/ohos5.0/base/inputmethod/imf/test/unittest/cpp_test/src/ |
H A D | js_util_test.cpp | 93 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 D | cloud_pref_impl.h | 38 void GetBool(const std::string& key, bool& value);
|
/ohos5.0/foundation/arkui/ace_engine/interfaces/inner_api/ace/ |
H A D | serializeable_object.h | 33 virtual bool GetBool(const std::string& key, bool defaultValue = false) const = 0;
|