Home
last modified time | relevance | path

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

/base/update/updateservice/services/core/ability/preference/src/
Dpreference_utils_empty.cpp59 std::string PreferencesUtil::ObtainString(const std::string &key, const std::string &defValue) in ObtainString()
64 int PreferencesUtil::ObtainInt(const std::string &key, int defValue) in ObtainInt()
69 bool PreferencesUtil::ObtainBool(const std::string &key, bool defValue) in ObtainBool()
74 int64_t PreferencesUtil::ObtainLong(const std::string &key, int64_t defValue) in ObtainLong()
79 float PreferencesUtil::ObtainFloat(const std::string &key, float defValue) in ObtainFloat()
85 T PreferencesUtil::Obtain(const std::string &key, const T &defValue) in Obtain()
Dpreference_utils.cpp118 std::string PreferencesUtil::ObtainString(const std::string &key, const std::string &defValue) in ObtainString()
123 int PreferencesUtil::ObtainInt(const std::string &key, int defValue) in ObtainInt()
128 bool PreferencesUtil::ObtainBool(const std::string &key, bool defValue) in ObtainBool()
133 int64_t PreferencesUtil::ObtainLong(const std::string &key, int64_t defValue) in ObtainLong()
138 float PreferencesUtil::ObtainFloat(const std::string &key, float defValue) in ObtainFloat()
144 T PreferencesUtil::Obtain(const std::string &key, const T &defValue) in Obtain()
156 …hared_ptr<NativePreferences::Preferences> ptr, const std::string &key, const std::string &defValue) in ObtainInner()
162 … std::shared_ptr<NativePreferences::Preferences> ptr, const std::string &key, const int &defValue) in ObtainInner()
168 … std::shared_ptr<NativePreferences::Preferences> ptr, const std::string &key, const bool &defValue) in ObtainInner()
174 …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/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/security/access_token/services/accesstokenmanager/main/cpp/src/permission/
Dpermission_definition_cache.cpp154 for (const GenericValues& defValue : permDefRes) { in RestorePermDefInfo() local
/base/telephony/sms_mms/frameworks/js/napi/src/
Dnapi_mms.cpp753 bool GetNapiBooleanValue(napi_env env, napi_value napiValue, std::string name, bool defValue = fals… in GetNapiBooleanValue()
765 …GetNapiStringValue(napi_env env, napi_value napiValue, std::string name, std::string defValue = "") in GetNapiStringValue()
775 int32_t GetNapiInt32Value(napi_env env, napi_value napiValue, std::string name, int32_t defValue = … in GetNapiInt32Value()
788 int64_t GetNapiInt64Value(napi_env env, napi_value napiValue, std::string name, int64_t defValue = … in GetNapiInt64Value()
801 uint32_t GetNapiUint32Value(napi_env env, napi_value napiValue, std::string name, uint32_t defValue in GetNapiUint32Value()
814 …etNapiUint8Value(napi_env env, napi_value napiValue, const std::string &name, uint8_t defValue = 0) in GetNapiUint8Value()
/base/telephony/sms_mms/services/sms/
Dsms_persist_helper.cpp230 bool SmsPersistHelper::QueryParamBoolean(const std::string key, bool defValue) in QueryParamBoolean()
/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.c566 CachedHandle CachedParameterCreate(const char *name, const char *defValue) in CachedParameterCreate()
/base/telephony/core_service/test/unittest/core_service_gtest/
Dsim_test.cpp1380 std::string defValue = ""; variable
/base/startup/init/services/init/
Dinit_service_manager.c584 static int GetMapValue(const char *name, const InitArgInfo *infos, int argNum, int defValue) in GetMapValue()