Home
last modified time | relevance | path

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

/foundation/barrierfree/accessibility/services/aams/test/mock/src/
Dmock_preferences.cpp25 PreferencesValue MockPreferences::Get(const std::string &key, const PreferencesValue &defValue) in Get()
37 int MockPreferences::GetInt(const std::string &key, const int &defValue) in GetInt()
44 std::string MockPreferences::GetString(const std::string &key, const std::string &defValue) in GetString()
51 bool MockPreferences::GetBool(const std::string &key, const bool &defValue) in GetBool()
58 float MockPreferences::GetFloat(const std::string &key, const float &defValue) in GetFloat()
65 double MockPreferences::GetDouble(const std::string &key, const double &defValue) in GetDouble()
72 int64_t MockPreferences::GetLong(const std::string &key, const int64_t &defValue) in GetLong()
/foundation/distributeddatamgr/preferences/frameworks/native/include/
Dpreferences_impl.h58 int GetInt(const std::string &key, const int &defValue) override in GetInt()
67 std::string GetString(const std::string &key, const std::string &defValue) override in GetString()
76 bool GetBool(const std::string &key, const bool &defValue) override in GetBool()
85 float GetFloat(const std::string &key, const float &defValue) override in GetFloat()
94 double GetDouble(const std::string &key, const double &defValue) override in GetDouble()
103 int64_t GetLong(const std::string &key, const int64_t &defValue) override in GetLong()
/foundation/arkui/ace_engine/frameworks/core/components_v2/common/
Dcommon_def.h60 …const std::unique_ptr<std::function<R(Args...)>>& (C::*getMethod)() const, R defValue, const Args&… in ResumeEventCallback()
/foundation/arkui/ace_engine/frameworks/core/components/common/layout/
Dscreen_system_manager.h115 ArrayByScreenType(const T& defValue) in ArrayByScreenType()
/foundation/communication/netmanager_base/frameworks/js/napi/common/
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()
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
Djs_view_common_def.inl161 void JSViewSetProperty(void (C::*setMethod)(V), int32_t param, const T (&enumValues)[N], T defValue)
/foundation/multimedia/media_library/frameworks/services/media_mtp/src/
Dmtp_operation_utils.cpp817 …tring MtpOperationUtils::GetPropertyInner(const std::string &property, const std::string &defValue) in GetPropertyInner()
822 bool MtpOperationUtils::SetPropertyInner(const std::string &property, const std::string &defValue) in SetPropertyInner()
/foundation/distributeddatamgr/preferences/test/native/unittest/
Dpreferences_test.cpp779 PreferencesValue defValue(static_cast<int64_t>(0)); variable
/foundation/communication/nfc/frameworks/js/napi/tag/
Dnfc_napi_tag_utils.cpp244 napi_env env, napi_value napiValue, const std::string &name, const std::string &defValue) in GetNapiStringValue()
277 …apiInt32Value(napi_env env, napi_value napiValue, const std::string &name, const int32_t &defValue) in GetNapiInt32Value()
/foundation/distributeddatamgr/preferences/frameworks/native/src/
Dpreferences_impl.cpp183 PreferencesValue PreferencesImpl::Get(const std::string &key, const PreferencesValue &defValue) in Get()
/foundation/distributeddatamgr/preferences/frameworks/js/napi/storage/src/
Dnapi_storage.cpp40 PreferencesValue defValue = PreferencesValue(static_cast<int>(0)); member
/foundation/distributeddatamgr/preferences/frameworks/js/napi/preferences/src/
Dnapi_preferences.cpp40 PreferencesValue defValue = PreferencesValue(static_cast<int64_t>(0)); member
/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/mtp_native_test/src/
Dmtp_native_test.cpp2555 string defValue = "GetPropertyInner"; variable