Home
last modified time | relevance | path

Searched defs:defaultValue (Results 1 – 24 of 24) sorted by relevance

/base/hiviewdfx/hiview/base/utility/
Dparameter_ex.cpp24 std::string GetString(const std::string& key, const std::string& defaultValue) in GetString()
29 int64_t GetInteger(const std::string& key, const int64_t defaultValue) in GetInteger()
34 uint64_t GetUnsignedInteger(const std::string& key, const uint64_t defaultValue) in GetUnsignedInteger()
39 bool GetBoolean(const std::string& key, const bool defaultValue) in GetBoolean()
44 bool SetProperty(const std::string& key, const std::string& defaultValue) in SetProperty()
/base/hiviewdfx/hilog/frameworks/libhilog/socket/
Ddgram_socket_client.cpp34 int defaultValue = -1; in CheckSocket() local
/base/update/updateservice/services/startup/manage/src/
Dschedule_config.cpp51 …_t ScheduleConfig::ParseConfig(nlohmann::json &root, const std::string &key, uint64_t defaultValue) in ParseConfig()
/base/update/updater/test/unittest/test_data/ui/layout/
Dboxprogress.json14 "defaultValue" : 10, number
Dall.json42 "defaultValue" : 10, number
/base/update/updater/services/ui/view/component/
Dbox_progress_adapter.h26 uint32_t defaultValue; member
/base/startup/init/test/unittest/init/
Dutils_unittest.cpp56 int defaultValue = 1; variable
/base/usb/usb_manager/services/native/src/
Dusb_function_switch_window.cpp64 const char defaultValue[PARAM_BUF_LEN] = { 0 }; in PopUpFunctionSwitchWindow() local
/base/telephony/sms_mms/services/sms/include/gsm/
Dgsm_sms_cb_handler.h51 const int32_t defaultValue = -1; in MatchLocation() local
/base/hiviewdfx/hisysevent/interfaces/js/kits/napi/src/
Dnapi_hisysevent_util.cpp116 double ParseNumberValue(const napi_env env, const napi_value& value, double defaultValue = 0.0) in ParseNumberValue()
126 std::string ParseStringValue(const napi_env env, const napi_value& value, std::string defaultValue in ParseStringValue()
139 double ParseBigIntValue(const napi_env env, const napi_value& value, double defaultValue = 0.0) in ParseBigIntValue()
163 std::string GetTagAttribute(const napi_env env, const napi_value& object, std::string defaultValue in GetTagAttribute()
179 const std::string& propertyName, std::string defaultValue = "") in GetStringTypeAttribute()
191 const std::string& propertyName, long long defaultValue = 0) in GetLonglongTypeAttribute()
206 int32_t ParseInt32Value(const napi_env env, const napi_value& value, int32_t defaultValue = 0) in ParseInt32Value()
218 const std::string& propertyName, int32_t defaultValue = 0) in GetInt32TypeAttribute()
/base/hiviewdfx/hiview/base/
Dhiview_global.cpp53 std::string HiviewGlobal::GetHiviewProperty(const std::string& key, const std::string& defaultValue) in GetHiviewProperty()
/base/global/i18n/frameworks/intl/src/
Dplural_rules.cpp51 …PluralRules::GetValidInteger(std::string &integerStr, int minValue, int maxValue, int defaultValue) in GetValidInteger()
/base/account/os_account/services/accountmgr/test/unittest/common/account_mgr_service_test/
Daccount_mgr_service_test.cpp70 const std::string &eventKey, const std::string &defaultValue) in GetAccountEventStr()
/base/telephony/sms_mms/services/sms/gsm/
Dgsm_sms_cb_handler.cpp157 const int32_t defaultValue = -1; in InitLocation() local
/base/account/os_account/services/accountmgr/test/unittest/ohos_account/
Dohos_account_manager_test.cpp55 const std::string &eventKey, const std::string &defaultValue) in GetAccountEventStr()
/base/useriam/face_auth/services_ex/src/
Dscreen_brightness_task.cpp70 uint32_t GetUInt32Param(const char *key, uint32_t defaultValue) in GetUInt32Param()
/base/hiviewdfx/hiview/base/include/
Dplugin.h259 …ual std::string GetHiviewProperty(const std::string& key __UNUSED, const std::string& defaultValue) in GetHiviewProperty()
/base/account/os_account/services/accountmgr/src/
Dohos_account_manager.cpp55 const std::string &eventKey, const std::string &defaultValue) in GetAccountEventStr()
/base/startup/init/services/utils/
Dinit_utils.c510 int StringToInt(const char *str, int defaultValue) in StringToInt()
/base/hiviewdfx/hilog/frameworks/libhilog/param/
Dproperties.cpp190 …CacheData(DataConverter converter, const T& defaultValue, PropType propType, const std::string& su… in CacheData()
/base/update/updater/resources/rk3568/pages/
Dupd.json94 "defaultValue": 0, number
/base/web/webview/ohos_nweb/include/
Dnweb_handler.h366 const std::string& defaultValue, in OnPromptDialogByJS()
/base/request/request/frameworks/js/napi/src/
Djs_task.cpp488 int64_t defaultValue = before - MILLISECONDS_IN_ONE_DAY; in ParseAfter() local
/base/hiviewdfx/hiview/core/
Dhiview_platform.cpp937 …::string HiviewPlatform::GetHiviewProperty(const std::string& key, const std::string& defaultValue) in GetHiviewProperty()