Home
last modified time | relevance | path

Searched refs:PreferencesProxy (Results 1 – 8 of 8) sorted by relevance

/ohos5.0/foundation/distributeddatamgr/preferences/frameworks/js/napi/sendable_preferences/src/
H A Dnapi_preferences.cpp54 PreferencesProxy::PreferencesProxy() in PreferencesProxy() function in OHOS::Sendable::JSPreferences::PreferencesProxy
58 PreferencesProxy::~PreferencesProxy() in ~PreferencesProxy()
66 PreferencesProxy *obj = static_cast<PreferencesProxy *>(nativeObject); in Destructor()
98 napi_status PreferencesProxy::NewInstance( in NewInstance()
116 PreferencesProxy *obj = new (std::nothrow) PreferencesProxy(); in NewInstance()
163 std::pair<PreferencesProxy *, std::weak_ptr<Preferences>> PreferencesProxy::GetSelfInstance( in GetSelfInstance()
169 PreferencesProxy *obj = reinterpret_cast<PreferencesProxy *>(boundObj); in GetSelfInstance()
499 int PreferencesProxy::RegisteredObserver( in RegisteredObserver()
514 int PreferencesProxy::UnregisteredObserver( in UnregisteredObserver()
525 PreferencesProxy::JSObservers::~JSObservers() in ~JSObservers()
[all …]
H A Dentry_point.cpp29 PreferencesProxy::Init(env, exports); in Init()
H A Dnapi_preferences_helper.cpp91 auto status = PreferencesProxy::NewInstance(env, context->proxy, &result); in GetPreferences()
/ohos5.0/foundation/distributeddatamgr/preferences/frameworks/js/napi/preferences/src/
H A Dnapi_preferences.cpp53 PreferencesProxy::PreferencesProxy() in PreferencesProxy() function in OHOS::PreferencesJsKit::PreferencesProxy
58 PreferencesProxy::~PreferencesProxy() in ~PreferencesProxy()
68 PreferencesProxy *obj = static_cast<PreferencesProxy *>(nativeObject); in Destructor()
72 void PreferencesProxy::Init(napi_env env, napi_value exports) in Init()
100 napi_status PreferencesProxy::NewInstance( in NewInstance()
118 PreferencesProxy *obj = new (std::nothrow) PreferencesProxy(); in NewInstance()
135 napi_value PreferencesProxy::New(napi_env env, napi_callback_info info) in New()
175 std::pair<PreferencesProxy *, std::weak_ptr<Preferences>> PreferencesProxy::GetSelfInstance( in GetSelfInstance()
181 PreferencesProxy *obj = reinterpret_cast<PreferencesProxy *>(boundObj); in GetSelfInstance()
187 napi_value PreferencesProxy::GetAll(napi_env env, napi_callback_info info) in GetAll()
[all …]
H A Dentry_point.cpp28 PreferencesProxy::Init(env, exports); in Init()
H A Dnapi_preferences_helper.cpp90 auto status = PreferencesProxy::NewInstance(env, context->proxy, &result); in GetPreferences()
/ohos5.0/foundation/distributeddatamgr/preferences/frameworks/js/napi/sendable_preferences/include/
H A Dnapi_preferences.h41 class PreferencesProxy : public JSProxy<Preferences> {
54 explicit PreferencesProxy();
55 ~PreferencesProxy();
67 …static std::pair<PreferencesProxy *, std::weak_ptr<Preferences>> GetSelfInstance(napi_env env, nap…
77 JSObservers(napi_env env, PreferencesProxy *proxy);
87 PreferencesProxy *proxy_ = nullptr;
/ohos5.0/foundation/distributeddatamgr/preferences/frameworks/js/napi/preferences/include/
H A Dnapi_preferences.h40 class PreferencesProxy : public JSProxy<Preferences> {
51 explicit PreferencesProxy();
52 ~PreferencesProxy();
64 …static std::pair<PreferencesProxy *, std::weak_ptr<Preferences>> GetSelfInstance(napi_env env, nap…