/ohos5.0/base/update/updateservice/services/core/ability/preference/src/ |
H A D | preference_utils_empty.cpp | 58 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 D | preference_utils.cpp | 137 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 D | netfirewall_preference_helper.cpp | 99 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 D | device_timed_collect_tool.cpp | 105 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 D | preferences_base.cpp | 43 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 D | preferences_enhance_impl.cpp | 57 …ferencesValue PreferencesEnhanceImpl::Get(const std::string &key, const PreferencesValue &defValue) in Get() 294 const PreferencesValue &defValue) in GetValue()
|
H A D | preferences_impl.cpp | 188 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 D | battery_config_test.cpp | 172 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 D | preferences_util.cpp | 50 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 D | preferences_util.cpp | 49 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 D | tel_profile_util.cpp | 45 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 D | dfx_test.cpp | 93 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 D | common_def.h | 60 …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 D | preferences.h | 407 …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 D | mock_preferences.h | 36 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 D | screen_system_manager.h | 122 ArrayByScreenType(const T& defValue) in ArrayByScreenType()
|
/ohos5.0/foundation/communication/netmanager_base/frameworks/js/napi/common/ |
H A D | napi_common.cpp | 143 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 D | napi_mms.cpp | 742 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 D | js_view_common_def.inl | 163 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 D | preferences_ffi.cpp | 53 ValueType FfiOHOSPreferencesGet(int64_t id, const char* key, ValueType defValue) in FfiOHOSPreferencesGet()
|
/ohos5.0/foundation/distributeddatamgr/preferences/test/native/unittest/ |
H A D | preferences_test.cpp | 839 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 D | permission_definition_cache.cpp | 194 for (const GenericValues& defValue : permDefRes) { in RestorePermDefInfo() local
|
/ohos5.0/foundation/multimedia/media_library/frameworks/services/media_mtp/src/ |
H A D | mtp_operation_utils.cpp | 1012 …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 D | tel_aes_crypto_util.cpp | 83 …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 D | native_parameters_js.cpp | 255 std::vector<char> defValue(MAX_VALUE_LENGTH, 0); in GetSync() local
|