Home
last modified time | relevance | path

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

12

/base/print/print_fwk/frameworks/kits/extension/src/
Djs_print_extension_context.cpp46 static void Finalizer(napi_env engine, noneType data, noneType hint) in Finalizer() argument
52 static napi_value StartAbility(napi_env engine, napi_callback_info info) in StartAbility() argument
54 JsPrintExtensionContext* me = CheckParamsAndGetThis<JsPrintExtensionContext>(engine, info); in StartAbility()
55 return (me != nullptr) ? me->OnStartAbility(engine, info) : nullptr; in StartAbility()
58 static napi_value StartAbilityWithAccount(napi_env engine, napi_callback_info info) in StartAbilityWithAccount() argument
60 JsPrintExtensionContext* me = CheckParamsAndGetThis<JsPrintExtensionContext>(engine, info); in StartAbilityWithAccount()
61 return (me != nullptr) ? me->OnStartAbilityWithAccount(engine, info) : nullptr; in StartAbilityWithAccount()
64 static napi_value ConnectAbilityWithAccount(napi_env engine, napi_callback_info info) in ConnectAbilityWithAccount() argument
66 JsPrintExtensionContext* me = CheckParamsAndGetThis<JsPrintExtensionContext>(engine, info); in ConnectAbilityWithAccount()
67 return (me != nullptr) ? me->OnConnectAbilityWithAccount(engine, info) : nullptr; in ConnectAbilityWithAccount()
[all …]
Djs_print_extension_connection.cpp35 JSPrintExtensionConnection::JSPrintExtensionConnection(napi_env engine) : engine_(engine) {} in JSPrintExtensionConnection() argument
/base/hiviewdfx/hiview/interfaces/innerkits/xpower_event/src/
Dxpower_event_js.cpp28 auto engine = reinterpret_cast<NativeEngine*>(env); in ReportXPowerJsStackSysEvent() local
29 return ReportXPowerJsStackSysEvent(engine, tagName, info); in ReportXPowerJsStackSysEvent()
32 int ReportXPowerJsStackSysEvent(NativeEngine *engine, const std::string &tagName, const std::string… in ReportXPowerJsStackSysEvent() argument
34 if (engine == nullptr) { in ReportXPowerJsStackSysEvent()
41 bool succ = engine->BuildJsStackTrace(stack); in ReportXPowerJsStackSysEvent()
/base/hiviewdfx/hiview/test/unittest/xpower_event/
Dxpower_jsevent_test.cpp95 NativeEngine *engine = nullptr; variable
96 int ret = ReportXPowerJsStackSysEvent(engine, "XPOWER_HIVIEW_JSAPI2_TEST", "info=5,succ=true");
106 engine = reinterpret_cast<NativeEngine*>(env);
107 ret = ReportXPowerJsStackSysEvent(engine, "XPOWER_HIVIEW_JSAPI2_TEST", "info=6,succ=true");
116 ret = ReportXPowerJsStackSysEvent(engine, "XPOWER_HIVIEW_JSAPI2_TEST", "info=7,succ=true");
120 ret = ReportXPowerJsStackSysEvent(engine, "XPOWER_HIVIEW_JSAPI2_TEST");
/base/update/updateservice/services/engine/
Dengine_sa.gni48 "$updateengine_root_path/services/engine/src/message_parcel_helper.cpp",
49 "$updateengine_root_path/services/engine/src/progress_thread.cpp",
50 "$updateengine_root_path/services/engine/src/update_helper.cpp",
51 "$updateengine_root_path/services/engine/src/update_service.cpp",
52 "$updateengine_root_path/services/engine/src/update_service_cache.cpp",
53 "$updateengine_root_path/services/engine/src/update_service_impl_firmware.cpp",
54 "$updateengine_root_path/services/engine/src/update_service_impl_manager.cpp",
55 "$updateengine_root_path/services/engine/src/update_service_local_updater.cpp",
56 "$updateengine_root_path/services/engine/src/update_service_restorer.cpp",
57 "$updateengine_root_path/services/engine/src/update_service_stub.cpp",
[all …]
DBUILD.gn15 import("../../services/engine/engine_sa.gni")
/base/update/updateservice/adapter/default_config/feature_config/standard/
Dconfig.gni16 "//base/update/updateservice/services/engine/etc/dupdate_config.json"
18 "//base/update/updateservice/services/engine/etc/updater_sa.cfg"
20 "//base/update/updateservice/services/engine/sa_profile/3006.json"
/base/update/updateservice/interfaces/inner_api/engine/
DBUILD.gn51 "$updateengine_root_path/interfaces/inner_api/engine/update_service_kits_impl.cpp",
52 "$updateengine_root_path/interfaces/inner_api/engine/update_service_proxy.cpp",
56 "$updateengine_root_path/services/engine/src/message_parcel_helper.cpp",
57 "$updateengine_root_path/services/engine/src/update_helper.cpp",
64 "$updateengine_root_path/services/engine/include",
/base/web/webview/
DREADME.md3 nweb is the native engine of the OpenHarmony webview component and is built based on Chromium and t…
8 * nweb: native engine of the OpenHarmony web component, which is built based on the Chromium Embedd…
/base/print/print_fwk/frameworks/kits/extension/include/
Djs_print_extension_context.h28 napi_value CreateJsPrintExtensionContext(napi_env engine,
Djs_print_extension_connection.h33 explicit JSPrintExtensionConnection(napi_env engine);
/base/hiviewdfx/hiview/interfaces/innerkits/xpower_event/include/
Dxpower_event_js.h36 int ReportXPowerJsStackSysEvent(NativeEngine *engine, const std::string &tagName, const std::string…
/base/update/updateservice/services/engine/src/
Dprogress_thread.cpp214 auto engine = reinterpret_cast<DownloadThread*>(const_cast<void*>(localData)); in DownloadProgress() local
215 ENGINE_CHECK(engine != nullptr, return -1, "Can not find engine"); in DownloadProgress()
216 double curr = engine->GetPackageSize(); in DownloadProgress()
218 return engine->DownloadCallback(percent, UpgradeStatus::DOWNLOADING, ""); in DownloadProgress()
/base/update/updateservice/test/fuzztest/updateservicesetupgradepolicy_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/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/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/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/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/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/updateservicegetnewversion_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/
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/inputmethod/imf/frameworks/js/napi/inputmethodclient/
Djs_get_input_method_setting.cpp114 auto engine = std::make_shared<JsGetInputMethodSetting>(); in GetInputMethodSettingInstance() local
115 if (engine == nullptr) { in GetInputMethodSettingInstance()
119 inputMethod_ = engine; in GetInputMethodSettingInstance()
486 auto engine = reinterpret_cast<JsGetInputMethodSetting *>(JsUtils::GetNativeSelf(env, info)); in Subscribe() local
487 if (engine == nullptr) { in Subscribe()
494 engine->RegisterListener(argv[ARGC_ONE], type, callback); in Subscribe()
562 auto engine = reinterpret_cast<JsGetInputMethodSetting *>(JsUtils::GetNativeSelf(env, info)); in UnSubscribe() local
563 if (engine == nullptr) { in UnSubscribe()
567 engine->UnRegisterListener(argv[ARGC_ONE], type, isUpdateFlag); in UnSubscribe()
/base/hiviewdfx/hiview/test/
DBUILD.gn105 "//foundation/arkui/napi/test/unittest/engine/",
110 "//foundation/arkui/napi/test/unittest/engine/test_ark.cpp",
/base/inputmethod/imf/frameworks/js/napi/inputmethodability/
Djs_input_method_engine_setting.cpp204 auto engine = std::make_shared<JsInputMethodEngineSetting>(); in GetInputMethodEngineSetting() local
205 if (engine == nullptr) { in GetInputMethodEngineSetting()
209 inputMethodEngine_ = engine; in GetInputMethodEngineSetting()
220 auto engine = GetInputMethodEngineSetting(); in InitInputMethodSetting() local
221 if (engine == nullptr) { in InitInputMethodSetting()
224 InputMethodAbility::GetInstance()->SetImeListener(engine); in InitInputMethodSetting()
344 auto engine = reinterpret_cast<JsInputMethodEngineSetting *>(JsUtils::GetNativeSelf(env, info)); in Subscribe() local
345 if (engine == nullptr) { in Subscribe()
350 engine->RegisterListener(argv[ARGC_ONE], type, callback); in Subscribe()

12