Home
last modified time | relevance | path

Searched defs:defValue (Results 1 – 25 of 39) sorted by relevance

12

/ohos5.0/base/update/updateservice/services/core/ability/preference/src/
H A Dpreference_utils_empty.cpp58 std::string PreferencesUtil::ObtainString(const std::string &key, const std::string &defValue) in ObtainString()
63 int PreferencesUtil::ObtainInt(const std::string &key, int defValue) in ObtainInt()
68 bool PreferencesUtil::ObtainBool(const std::string &key, bool defValue) in ObtainBool()
73 int64_t PreferencesUtil::ObtainLong(const std::string &key, int64_t defValue) in ObtainLong()
78 float PreferencesUtil::ObtainFloat(const std::string &key, float defValue) in ObtainFloat()
84 T PreferencesUtil::Obtain(const std::string &key, const T &defValue) in Obtain()
H A Dpreference_utils.cpp137 std::string PreferencesUtil::ObtainString(const std::string &key, const std::string &defValue) in ObtainString()
142 int PreferencesUtil::ObtainInt(const std::string &key, int defValue) in ObtainInt()
147 bool PreferencesUtil::ObtainBool(const std::string &key, bool defValue) in ObtainBool()
152 int64_t PreferencesUtil::ObtainLong(const std::string &key, int64_t defValue) in ObtainLong()
157 float PreferencesUtil::ObtainFloat(const std::string &key, float defValue) in ObtainFloat()
163 T PreferencesUtil::Obtain(const std::string &key, const T &defValue) in Obtain()
174 …hared_ptr<NativePreferences::Preferences> ptr, const std::string &key, const std::string &defValue) in ObtainInner()
184 … std::shared_ptr<NativePreferences::Preferences> ptr, const std::string &key, const int &defValue) in ObtainInner()
194 … std::shared_ptr<NativePreferences::Preferences> ptr, const std::string &key, const bool &defValue) in ObtainInner()
204 …d::shared_ptr<NativePreferences::Preferences> ptr, const std::string &key, const int64_t &defValue) in ObtainInner()
[all …]
/ohos5.0/foundation/communication/netmanager_ext/services/netfirewallmanager/src/
H A Dnetfirewall_preference_helper.cpp99 int32_t NetFirewallPreferenceHelper::ObtainInt(const std::string &key, int32_t defValue) in ObtainInt()
104 bool NetFirewallPreferenceHelper::ObtainBool(const std::string &key, bool defValue) in ObtainBool()
109 …plate <typename T> T NetFirewallPreferenceHelper::Obtain(const std::string &key, const T &defValue) in Obtain()
119 const std::string &key, const int32_t &defValue) in ObtainInner()
125 const std::string &key, const bool &defValue) in ObtainInner()
/ohos5.0/foundation/systemabilitymgr/samgr/services/samgr/native/source/collect/
H A Ddevice_timed_collect_tool.cpp105 int64_t PreferencesUtil::ObtainLong(const std::string& key, int64_t defValue) in ObtainLong()
110 string PreferencesUtil::ObtainString(const std::string& key, std::string defValue) in ObtainString()
116 T PreferencesUtil::Obtain(const std::string& key, const T& defValue) in Obtain()
126 …d::shared_ptr<NativePreferences::Preferences> ptr, const std::string& key, const int64_t& defValue) in ObtainInner()
132 …hared_ptr<NativePreferences::Preferences> ptr, const std::string& key, const std::string& defValue) in ObtainInner()
/ohos5.0/foundation/distributeddatamgr/preferences/frameworks/native/src/
H A Dpreferences_base.cpp43 PreferencesValue PreferencesBase::Get(const std::string &key, const PreferencesValue &defValue) in Get()
53 int PreferencesBase::GetInt(const std::string &key, const int &defValue = {}) in GetInt()
62 std::string PreferencesBase::GetString(const std::string &key, const std::string &defValue = {}) in GetString()
70 bool PreferencesBase::GetBool(const std::string &key, const bool &defValue = {}) in GetBool()
78 float PreferencesBase::GetFloat(const std::string &key, const float &defValue = {}) in GetFloat()
87 double PreferencesBase::GetDouble(const std::string &key, const double &defValue = {}) in GetDouble()
96 int64_t PreferencesBase::GetLong(const std::string &key, const int64_t &defValue = {}) in GetLong()
222 …eferencesValue> PreferencesBase::GetValue(const std::string &key, const PreferencesValue &defValue) in GetValue()
H A Dpreferences_enhance_impl.cpp57 …ferencesValue PreferencesEnhanceImpl::Get(const std::string &key, const PreferencesValue &defValue) in Get()
294 const PreferencesValue &defValue) in GetValue()
H A Dpreferences_impl.cpp188 PreferencesValue PreferencesImpl::Get(const std::string &key, const PreferencesValue &defValue) in Get()
522 …eferencesValue> PreferencesImpl::GetValue(const std::string &key, const PreferencesValue &defValue) in GetValue()
/ohos5.0/base/powermgr/battery_manager/test/unittest/src/
H A Dbattery_config_test.cpp172 int32_t defValue = 100; variable
185 int32_t defValue = 200; variable
198 int32_t defValue = 300; variable
/ohos5.0/base/telephony/telephony_data/common/src/
H A Dpreferences_util.cpp50 std::string PreferencesUtil::ObtainString(const std::string &key, const std::string &defValue) in ObtainString()
70 int PreferencesUtil::ObtainInt(const std::string &key, int defValue) in ObtainInt()
90 bool PreferencesUtil::ObtainBool(const std::string &key, bool defValue) in ObtainBool()
110 int64_t PreferencesUtil::ObtainLong(const std::string &key, int64_t defValue) in ObtainLong()
130 float PreferencesUtil::ObtainFloat(const std::string &key, float defValue) in ObtainFloat()
/ohos5.0/base/theme/screenlock_mgr/utils/src/
H A Dpreferences_util.cpp49 std::string PreferencesUtil::ObtainString(const std::string &key, const std::string &defValue) in ObtainString()
69 int PreferencesUtil::ObtainInt(const std::string &key, int defValue) in ObtainInt()
89 bool PreferencesUtil::ObtainBool(const std::string &key, bool defValue) in ObtainBool()
109 int64_t PreferencesUtil::ObtainLong(const std::string &key, int64_t defValue) in ObtainLong()
129 float PreferencesUtil::ObtainFloat(const std::string &key, float defValue) in ObtainFloat()
/ohos5.0/base/telephony/core_service/utils/preferences/src/
H A Dtel_profile_util.cpp45 std::string TelProfileUtil::ObtainString(const std::string &key, const std::string &defValue) in ObtainString()
65 int TelProfileUtil::ObtainInt(const std::string &key, int defValue) in ObtainInt()
85 bool TelProfileUtil::ObtainBool(const std::string &key, bool defValue) in ObtainBool()
105 int64_t TelProfileUtil::ObtainLong(const std::string &key, int64_t defValue) in ObtainLong()
125 float TelProfileUtil::ObtainFloat(const std::string &key, float defValue) in ObtainFloat()
/ohos5.0/drivers/peripheral/camera/test/mpi/src/
H A Ddfx_test.cpp93 char defValue[] = "on"; variable
118 char defValue[] = "on"; variable
147 char defValue[] = "on"; variable
178 char defValue[] = "on"; variable
209 char defValue[] = "on"; variable
252 char defValue[] = "on"; variable
274 char defValue[] = "on"; variable
338 char defValue[] = "on"; variable
388 char defValue[] = "on"; variable
438 char defValue[] = "on"; variable
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_v2/common/
H A Dcommon_def.h60 …const std::unique_ptr<std::function<R(Args...)>>& (C::*getMethod)() const, R defValue, const Args&… in ResumeEventCallback()
/ohos5.0/foundation/distributeddatamgr/preferences/interfaces/inner_api/include/
H A Dpreferences.h407 …std::pair<int, PreferencesValue> GetValue(const std::string &key, const PreferencesValue &defValue) in GetValue()
/ohos5.0/foundation/bundlemanager/app_domain_verify/test/unittest/mock/include/
H A Dmock_preferences.h36 PreferencesValue Get(const std::string& key, const PreferencesValue& defValue) override in Get()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/common/layout/
H A Dscreen_system_manager.h122 ArrayByScreenType(const T& defValue) in ArrayByScreenType()
/ohos5.0/foundation/communication/netmanager_base/frameworks/js/napi/common/
H A Dnapi_common.cpp143 napi_env env, napi_value napiValue, const std::string &name, const std::string &defValue) in GetNapiStringValue()
177 napi_env env, napi_value napiValue, const std::string &name, const int32_t &defValue) in GetNapiInt32Value()
191 napi_env env, napi_value napiValue, const std::string &name, const int64_t &defValue) in GetNapiInt64Value()
/ohos5.0/base/telephony/sms_mms/frameworks/js/napi/src/
H A Dnapi_mms.cpp742 bool GetNapiBooleanValue(napi_env env, napi_value napiValue, std::string name, bool defValue = fals… in GetNapiBooleanValue()
754 …GetNapiStringValue(napi_env env, napi_value napiValue, std::string name, std::string defValue = "") in GetNapiStringValue()
764 int32_t GetNapiInt32Value(napi_env env, napi_value napiValue, std::string name, int32_t defValue = … in GetNapiInt32Value()
777 int64_t GetNapiInt64Value(napi_env env, napi_value napiValue, std::string name, int64_t defValue = … in GetNapiInt64Value()
790 uint32_t GetNapiUint32Value(napi_env env, napi_value napiValue, std::string name, uint32_t defValue in GetNapiUint32Value()
803 …etNapiUint8Value(napi_env env, napi_value napiValue, const std::string &name, uint8_t defValue = 0) in GetNapiUint8Value()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_view_common_def.inl163 void JSViewSetProperty(void (C::*setMethod)(V), int32_t param, const T (&enumValues)[N], T defValue)
/ohos5.0/foundation/distributeddatamgr/preferences/frameworks/cj/src/
H A Dpreferences_ffi.cpp53 ValueType FfiOHOSPreferencesGet(int64_t id, const char* key, ValueType defValue) in FfiOHOSPreferencesGet()
/ohos5.0/foundation/distributeddatamgr/preferences/test/native/unittest/
H A Dpreferences_test.cpp839 PreferencesValue defValue(static_cast<int64_t>(0)); variable
980 PreferencesValue defValue(static_cast<int64_t>(0)); variable
/ohos5.0/base/security/access_token/services/accesstokenmanager/main/cpp/src/permission/
H A Dpermission_definition_cache.cpp194 for (const GenericValues& defValue : permDefRes) { in RestorePermDefInfo() local
/ohos5.0/foundation/multimedia/media_library/frameworks/services/media_mtp/src/
H A Dmtp_operation_utils.cpp1012 …tring MtpOperationUtils::GetPropertyInner(const std::string &property, const std::string &defValue) in GetPropertyInner()
1017 bool MtpOperationUtils::SetPropertyInner(const std::string &property, const std::string &defValue) in SetPropertyInner()
/ohos5.0/base/telephony/core_service/utils/common/src/
H A Dtel_aes_crypto_util.cpp83 …esCryptoUtils::ObtainDecryptString(const std::string &key, int32_t id, const std::string &defValue) in ObtainDecryptString()
/ohos5.0/base/startup/init/interfaces/kits/jskits/src_enhance/
H A Dnative_parameters_js.cpp255 std::vector<char> defValue(MAX_VALUE_LENGTH, 0); in GetSync() local

12