Home
last modified time | relevance | path

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

/base/update/updateservice/services/core/ability/preference/src/
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()
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 …]
/base/powermgr/battery_manager/test/unittest/src/
Dbattery_config_test.cpp172 int32_t defValue = 100; variable
185 int32_t defValue = 200; variable
198 int32_t defValue = 300; variable
/base/theme/screenlock_mgr/utils/src/
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()
/base/telephony/core_service/utils/preferences/src/
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()
/base/telephony/telephony_data/common/src/
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()
/base/telephony/sms_mms/frameworks/js/napi/src/
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()
/base/security/access_token/services/accesstokenmanager/main/cpp/src/permission/
Dpermission_definition_cache.cpp194 for (const GenericValues& defValue : permDefRes) { in RestorePermDefInfo() local
/base/telephony/core_service/utils/common/src/
Dtel_aes_crypto_util.cpp83 …esCryptoUtils::ObtainDecryptString(const std::string &key, int32_t id, const std::string &defValue) in ObtainDecryptString()
/base/startup/init/interfaces/kits/jskits/src_enhance/
Dnative_parameters_js.cpp255 std::vector<char> defValue(MAX_VALUE_LENGTH, 0); in GetSync() local
/base/startup/init/services/param/base/
Dparam_base.c602 CachedHandle CachedParameterCreate(const char *name, const char *defValue) in CachedParameterCreate()
/base/telephony/sms_mms/services/sms/
Dsms_persist_helper.cpp415 bool SmsPersistHelper::QueryParamBoolean(const std::string key, bool defValue) in QueryParamBoolean()
/base/notification/distributed_notification_service/services/ans/src/
Dreminder_store.cpp262 const std::string& columnName, const std::string& columnType, const std::string& defValue) in AddRdbColum()
/base/telephony/core_service/test/unittest/core_service_gtest/
Dsim_test.cpp1403 std::string defValue = ""; variable
/base/startup/init/services/init/
Dinit_service_manager.c621 static int GetMapValue(const char *name, const InitArgInfo *infos, int argNum, int defValue) in GetMapValue()