Home
last modified time | relevance | path

Searched refs:addon (Results 1 – 13 of 13) sorted by relevance

/ohos5.0/base/global/resource_management/interfaces/js/innerkits/core/src/
H A Dresource_manager_addon.cpp31 …std::shared_ptr<ResourceManagerAddon> addon = std::make_shared<ResourceManagerAddon>(bundleName, r… in Create() local
32 return WrapResourceManager(env, addon); in Create()
38 addon->isOverrideAddon_ = true; in CreateOverrideAddon()
39 return WrapResourceManager(env, addon); in CreateOverrideAddon()
42 …sourceManagerAddon::WrapResourceManager(napi_env env, std::shared_ptr<ResourceManagerAddon> &addon) in WrapResourceManager() argument
66 auto addonPtr = std::make_unique<std::shared_ptr<ResourceManagerAddon>>(addon); in WrapResourceManager()
91 …std::shared_ptr<ResourceManagerAddon> addon = std::make_shared<ResourceManagerAddon>(sysResMgr, tr… in GetSystemResMgr() local
92 return WrapResourceManager(env, addon); in GetSystemResMgr()
233 auto addon = ResMgrDataContext::GetResourceManagerAddon(env, info); in AddonGetResource() local
234 if (addon == nullptr) { in AddonGetResource()
[all …]
H A Dresource_manager_napi_sync_impl.cpp1005 auto addon = ResMgrDataContext::GetResourceManagerAddon(env, info); in GetNativeResoruceManager() local
1006 if (addon == nullptr) { in GetNativeResoruceManager()
1010 return addon->GetResMgr(); in GetNativeResoruceManager()
/ohos5.0/foundation/ability/ability_runtime/frameworks/simulator/ability_simulator/src/
H A Dresource_manager_addon.cpp29 …std::shared_ptr<ResourceManagerAddon> addon = std::make_shared<ResourceManagerAddon>(bundleName, r… in Create() local
30 return WrapResourceManager(env, addon); in Create()
33 …sourceManagerAddon::WrapResourceManager(napi_env env, std::shared_ptr<ResourceManagerAddon> &addon) in WrapResourceManager() argument
50 auto addonPtr = std::make_unique<std::shared_ptr<ResourceManagerAddon>>(addon); in WrapResourceManager()
/ohos5.0/foundation/ability/ability_runtime/frameworks/simulator/ability_simulator/include/
H A Dresource_manager_addon.h128 … static napi_value WrapResourceManager(napi_env env, std::shared_ptr<ResourceManagerAddon> &addon);
/ohos5.0/docs/en/application-dev/napi/
H A Duse-napi-about-function.md16 | napi_call_function | Calls an ArkTS function from a C/C++ addon.|
108 Use **napi_call_function** to call an ArkTS function from a C/C++ addon.
H A Duse-jsvm-about-class.md20 | OH_JSVM_DefineClass | Defines a JS class and associated functions within a C/C++ addon. It allo…
94 Use **OH_JSVM_DefineClass** to define a JS class and associated functions within a C/C++ addon. It …
H A Duse-jsvm-function-call.md16 | OH_JSVM_CallFunction | Calls a JS function from a C/C++ addon.|
H A Duse-napi-about-extension.md60 // Call the C++ Init() function to initialize the addon, which associates the functions or properti…
73 // The addon initialization is defined in a struct named demoModule, which contains the basic modul…
84 …erEntryModule function, the napi_module_register function is used to register and export the addon.
H A Duse-napi-about-cleanuphook.md36 …d environment cleanup hook function. You may need to use this API when an addon is uninstalled or …
H A Dnapi-data-types-interfaces.md63 - Avoid caching **napi_env** or passing **napi_env** between instances of the same addon running on…
477 | napi_call_function | Calls a JS function from a C/C++ addon.|
H A Djsvm-data-types-interfaces.md61 - When the native addon exits, **JSVM_Env** becomes invalid and this event is passed to **OH_JSVM_S…
1416 |OH_JSVM_CallFunction | Calls a JS function from a C/C++ addon.|
1494 |OH_JSVM_DefineClass| Defines a JS class and associated functions within a C/C++ addon. It allows y…
/ohos5.0/base/global/resource_management/interfaces/js/innerkits/core/include/
H A Dresource_manager_addon.h161 … static napi_value WrapResourceManager(napi_env env, std::shared_ptr<ResourceManagerAddon> &addon);
/ohos5.0/docs/en/application-dev/reference/native-lib/
H A Dnapi.md175 |FUNC|node_api_get_module_file_name|Obtains the absolute path of the location, from which the addon