Home
last modified time | relevance | path

Searched refs:engine (Results 1 – 25 of 42) sorted by relevance

12

/base/inputmethod/imf/frameworks/kits/extension/src/
Djs_inputmethod_extension_context.cpp54 static void Finalizer(NativeEngine *engine, void *data, void *hint) in Finalizer() argument
60 static NativeValue *StartAbility(NativeEngine *engine, NativeCallbackInfo *info) in StartAbility() argument
62 …putMethodExtensionContext *me = CheckParamsAndGetThis<JsInputMethodExtensionContext>(engine, info); in StartAbility()
63 return (me != nullptr) ? me->OnStartAbility(*engine, *info) : nullptr; in StartAbility()
66 static NativeValue *StartAbilityWithAccount(NativeEngine *engine, NativeCallbackInfo *info) in StartAbilityWithAccount() argument
68 …putMethodExtensionContext *me = CheckParamsAndGetThis<JsInputMethodExtensionContext>(engine, info); in StartAbilityWithAccount()
69 return (me != nullptr) ? me->OnStartAbilityWithAccount(*engine, *info) : nullptr; in StartAbilityWithAccount()
72 static NativeValue *ConnectAbilityWithAccount(NativeEngine *engine, NativeCallbackInfo *info) in ConnectAbilityWithAccount() argument
74 …putMethodExtensionContext *me = CheckParamsAndGetThis<JsInputMethodExtensionContext>(engine, info); in ConnectAbilityWithAccount()
75 return (me != nullptr) ? me->OnConnectAbilityWithAccount(*engine, *info) : nullptr; in ConnectAbilityWithAccount()
[all …]
Djs_inputmethod_extension.cpp41 NativeValue *AttachInputMethodExtensionContext(NativeEngine *engine, void *value, void *) in AttachInputMethodExtensionContext() argument
53 NativeValue *object = CreateJsInputMethodExtensionContext(*engine, ptr); in AttachInputMethodExtensionContext()
54 …auto contextObj = JsRuntime::LoadSystemModuleByEngine(engine, "InputMethodExtensionContext", &obje… in AttachInputMethodExtensionContext()
57 engine, DetachCallbackFunc, AttachInputMethodExtensionContext, value, nullptr); in AttachInputMethodExtensionContext()
103 auto &engine = jsRuntime_.GetNativeEngine(); in Init() local
117 BindContext(engine, obj); in Init()
121 void JsInputMethodExtension::BindContext(NativeEngine &engine, NativeObject *obj) in BindContext() argument
130 NativeValue *contextObj = CreateJsInputMethodExtensionContext(engine, context); in BindContext()
140 &engine, DetachCallbackFunc, AttachInputMethodExtensionContext, workContext, nullptr); in BindContext()
/base/theme/wallpaper_mgr/frameworks/kits/extension/src/
Djs_wallpaper_extension_context.cpp53 static void Finalizer(NativeEngine* engine, void* data, void* hint) in Finalizer() argument
59 static NativeValue* StartAbility(NativeEngine* engine, NativeCallbackInfo* info) in StartAbility() argument
61 …JsWallpaperExtensionContext* me = CheckParamsAndGetThis<JsWallpaperExtensionContext>(engine, info); in StartAbility()
62 return (me != nullptr) ? me->OnStartAbility(*engine, *info) : nullptr; in StartAbility()
65 static NativeValue* StartAbilityWithAccount(NativeEngine* engine, NativeCallbackInfo* info) in StartAbilityWithAccount() argument
67 …JsWallpaperExtensionContext* me = CheckParamsAndGetThis<JsWallpaperExtensionContext>(engine, info); in StartAbilityWithAccount()
68 return (me != nullptr) ? me->OnStartAbilityWithAccount(*engine, *info) : nullptr; in StartAbilityWithAccount()
71 static NativeValue* ConnectAbilityWithAccount(NativeEngine* engine, NativeCallbackInfo* info) in ConnectAbilityWithAccount() argument
73 …JsWallpaperExtensionContext* me = CheckParamsAndGetThis<JsWallpaperExtensionContext>(engine, info); in ConnectAbilityWithAccount()
74 return (me != nullptr) ? me->OnConnectAbilityWithAccount(*engine, *info) : nullptr; in ConnectAbilityWithAccount()
[all …]
/base/customization/enterprise_device_management/framework/extension/src/
Djs_enterprise_admin_extension_context.cpp32 static void Finalizer(NativeEngine* engine, void* data, void* hint) in Finalizer() argument
42 NativeValue* CreateJsEnterpriseAdminExtensionContext(NativeEngine& engine, in CreateJsEnterpriseAdminExtensionContext() argument
45 NativeValue *objValue = AbilityRuntime::CreateJsExtensionContext(engine, context); in CreateJsEnterpriseAdminExtensionContext()
Djs_enterprise_admin_extension.cpp63 auto& engine = jsRuntime_.GetNativeEngine(); in Init() local
83 NativeValue* contextObj = CreateJsEnterpriseAdminExtensionContext(engine, context); in Init()
164 auto& engine = jsRuntime_.GetNativeEngine(); in OnBundleAdded() local
165 NativeValue* argv[] = { AbilityRuntime::CreateJsValue(engine, bundleName) }; in OnBundleAdded()
175 auto& engine = jsRuntime_.GetNativeEngine(); in OnBundleRemoved() local
176 NativeValue* argv[] = { AbilityRuntime::CreateJsValue(engine, bundleName) }; in OnBundleRemoved()
/base/update/updateservice/interfaces/inner_api/engine/
DBUILD.gn26 "$updateengine_root_path/interfaces/inner_api/engine/update_service_kits_impl.cpp",
27 "$updateengine_root_path/interfaces/inner_api/engine/update_service_ondemand.cpp",
28 "$updateengine_root_path/interfaces/inner_api/engine/update_service_proxy.cpp",
31 "$updateengine_root_path/services/engine/src/update_helper.cpp",
37 "$updateengine_root_path/services/engine/include",
/base/update/updateservice/
DBUILD.gn24 "$updateengine_root_path/interfaces/inner_api/engine:$updateengine_inner_library_name",
25 "$updateengine_root_path/services/engine:$updateengine_library_name",
26 "$updateengine_root_path/services/engine:updater_sa.rc",
27 "$updateengine_root_path/services/engine/sa_profile:updater_sa_profile",
37 name = "$updateengine_root_path/interfaces/inner_api/engine:$updateengine_inner_library_name"
DREADME.md39 │ └── engine # Update client engine
40 │ ├── etc # rc configuration files for the update client engine
41 │ ├── include # Header files for the update client engine
43 │ └── src # Source code of the update client engine
/base/update/updateservice/services/engine/
DBUILD.gn37 "$updateengine_root_path/services/engine/src/progress_thread.cpp",
38 "$updateengine_root_path/services/engine/src/update_helper.cpp",
39 "$updateengine_root_path/services/engine/src/update_service.cpp",
40 "$updateengine_root_path/services/engine/src/update_service_stub.cpp",
48 "$updateengine_root_path/services/engine/include",
/base/update/updateservice/test/unittest/
DBUILD.gn46 "$updateengine_root_path/interfaces/inner_api/engine/update_service_kits_impl.cpp",
47 "$updateengine_root_path/interfaces/inner_api/engine/update_service_proxy.cpp",
51 "$updateengine_root_path/services/engine/src/progress_thread.cpp",
52 "$updateengine_root_path/services/engine/src/update_helper.cpp",
53 "$updateengine_root_path/services/engine/src/update_service.cpp",
54 "$updateengine_root_path/services/engine/src/update_service_stub.cpp",
64 "$updateengine_root_path/services/engine/include",
/base/theme/wallpaper_mgr/frameworks/kits/extension/include/
Djs_wallpaper_extension_context.h31 NativeValue* CreateJsWallpaperExtensionContext(NativeEngine& engine,
36 explicit JSWallpaperExtensionConnection(NativeEngine& engine);
/base/inputmethod/imf/frameworks/kits/extension/include/
Djs_inputmethod_extension_context.h30 NativeEngine &engine, std::shared_ptr<InputMethodExtensionContext> context);
34 explicit JSInputMethodExtensionConnection(NativeEngine &engine);
/base/update/updateservice/services/engine/src/
Dprogress_thread.cpp195 auto engine = reinterpret_cast<DownloadThread*>(const_cast<void*>(localData)); in DownloadProgress() local
196 ENGINE_CHECK(engine != nullptr, return -1, "Can not find engine"); in DownloadProgress()
197 double curr = engine->GetPackageSize(); in DownloadProgress()
199 return engine->DownloadCallback(percent, UPDATE_STATE_DOWNLOAD_ON, ""); in DownloadProgress()
/base/customization/enterprise_device_management/framework/extension/include/
Djs_enterprise_admin_extension_context.h28 NativeValue* CreateJsEnterpriseAdminExtensionContext(NativeEngine& engine,
/base/inputmethod/imf/interfaces/kits/js/napi/inputmethodability/
Djs_input_method_engine_setting.cpp114 auto engine = std::make_shared<JsInputMethodEngineSetting>(); in GetInputMethodEngineSetting() local
115 if (engine == nullptr) { in GetInputMethodEngineSetting()
119 inputMethodEngine_ = engine; in GetInputMethodEngineSetting()
130 auto engine = GetInputMethodEngineSetting(); in InitInputMethodSetting() local
131 if (engine == nullptr) { in InitInputMethodSetting()
134 InputMethodAbility::GetInstance()->setImeListener(engine); in InitInputMethodSetting()
316 auto engine = GetNative(env, info); in Subscribe() local
317 if (engine == nullptr) { in Subscribe()
322 engine->RegisterListener(argv[ARGC_ONE], type, callback); in Subscribe()
351 auto engine = GetNative(env, info); in UnSubscribe() local
[all …]
/base/powermgr/battery_manager/test/fuzztest/battery_fuzzer/
Dbattery_fuzzer_test.cpp112 std::default_random_engine engine(rd()); in DoSomethingInterestingWithMyAPI() local
115 int32_t number = randomNum(engine); in DoSomethingInterestingWithMyAPI()
/base/web/webview/
DREADME.md3 nwebview is the native engine of the OpenHarmony web component and is built based on Chromium and t…
20 * nwebview: native engine of the OpenHarmony web component, which is built based on the Chromium Em…
33 ** This code repository is the native engine of the OpenHarmony web component. This topic describes…
/base/update/updateservice/test/fuzztest/updateservicechecknewversion_fuzzer/
DBUILD.gn28 "$updateengine_root_path/services/engine/include",
42 deps = [ "$updateengine_root_path/interfaces/inner_api/engine:$updateengine_inner_library_name" ]
/base/update/updateservice/test/fuzztest/updateservicecancel_fuzzer/
DBUILD.gn29 "$updateengine_root_path/services/engine/include",
43 deps = [ "$updateengine_root_path/interfaces/inner_api/engine:$updateengine_inner_library_name" ]
/base/update/updateservice/test/fuzztest/updateserviceunregisterupdatecallback_fuzzer/
DBUILD.gn28 "$updateengine_root_path/services/engine/include",
42 deps = [ "$updateengine_root_path/interfaces/inner_api/engine:$updateengine_inner_library_name" ]
/base/update/updateservice/test/fuzztest/updateservicesetupgradepolicy_fuzzer/
DBUILD.gn28 "$updateengine_root_path/services/engine/include",
42 deps = [ "$updateengine_root_path/interfaces/inner_api/engine:$updateengine_inner_library_name" ]
/base/update/updateservice/test/fuzztest/updateservicedownload_fuzzer/
DBUILD.gn29 "$updateengine_root_path/services/engine/include",
43 deps = [ "$updateengine_root_path/interfaces/inner_api/engine:$updateengine_inner_library_name" ]
/base/update/updateservice/test/fuzztest/updateserviceregisterupdatecallback_fuzzer/
DBUILD.gn28 "$updateengine_root_path/services/engine/include",
42 deps = [ "$updateengine_root_path/interfaces/inner_api/engine:$updateengine_inner_library_name" ]
/base/update/updateservice/test/fuzztest/updateservicegetupgradepolicy_fuzzer/
DBUILD.gn28 "$updateengine_root_path/services/engine/include",
42 deps = [ "$updateengine_root_path/interfaces/inner_api/engine:$updateengine_inner_library_name" ]
/base/update/updateservice/test/fuzztest/updateservicegetnewversion_fuzzer/
DBUILD.gn29 "$updateengine_root_path/services/engine/include",
43 deps = [ "$updateengine_root_path/interfaces/inner_api/engine:$updateengine_inner_library_name" ]

12