/ohos5.0/foundation/ability/form_fwk/frameworks/js/napi/form_info/ |
H A D | js_form_info.cpp | 30 … napi_set_named_property(engine, objValue, "JS", CreateJsValue(engine, AppExecFwk::FormType::JS)); in CreateJsFormType() 41 … engine, objValue, "MODE_AUTO", CreateJsValue(engine, AppExecFwk::FormsColorMode::AUTO_MODE)); in CreateJsColorMode() 163 engine, objValue, "NEGATIVE_SCREEN", CreateJsValue(engine, in CreateJsFormLocation() 166 engine, objValue, "FORM_CENTER_NEGATIVE_SCREEN", CreateJsValue(engine, in CreateJsFormLocation() 169 engine, objValue, "FORM_MANAGER_NEGATIVE_SCREEN", CreateJsValue(engine, in CreateJsFormLocation() 200 engine, objValue, "RECT", CreateJsValue(engine, AppExecFwk::Constants::Shape::RECT)); in CreateJsFormShape() 210 napi_set_named_property(engine, exportObj, "FormType", CreateJsFormType(engine)); in FormInfoInit() 211 napi_set_named_property(engine, exportObj, "ColorMode", CreateJsColorMode(engine)); in FormInfoInit() 212 napi_set_named_property(engine, exportObj, "FormState", CreateJsFormState(engine)); in FormInfoInit() 213 napi_set_named_property(engine, exportObj, "FormParam", CreateJsFormParam(engine)); in FormInfoInit() [all …]
|
/ohos5.0/base/print/print_fwk/frameworks/kits/extension/src/ |
H A D | js_print_extension_context.cpp | 150 task.Reject(engine, CreateJsError(engine, errcode, "Start Ability failed.")); in OnStartAbility() 208 task.Reject(engine, CreateJsError(engine, errcode, "Start Ability failed.")); in OnStartAbilityWithAccount() 422 napi_set_named_property(engine, object, "name", CreateJsValue(engine, Info.name)); in CreateJsMetadata() 423 napi_set_named_property(engine, object, "value", CreateJsValue(engine, Info.value)); in CreateJsMetadata() 424 napi_set_named_property(engine, object, "resource", CreateJsValue(engine, Info.resource)); in CreateJsMetadata() 436 napi_set_element(engine, arrayValue, index++, CreateJsMetadata(engine, item)); in CreateJsMetadataArray() 449 napi_set_named_property(engine, object, "name", CreateJsValue(engine, info.name)); in CreateJsExtensionAbilityInfoMessage() 450 napi_set_named_property(engine, object, "labelId", CreateJsValue(engine, info.labelId)); in CreateJsExtensionAbilityInfoMessage() 452 napi_set_named_property(engine, object, "iconId", CreateJsValue(engine, info.iconId)); in CreateJsExtensionAbilityInfoMessage() 453 napi_set_named_property(engine, object, "isVisible", CreateJsValue(engine, info.visible)); in CreateJsExtensionAbilityInfoMessage() [all …]
|
/ohos5.0/base/print/print_fwk/test/unittest/others/ |
H A D | js_print_extension_context_other_test.cpp | 38 napi_env engine; in HWTEST_F() local 53 napi_env engine; in HWTEST_F() local 61 napi_env engine; in HWTEST_F() local 72 napi_env engine; in HWTEST_F() local 83 napi_env engine; in HWTEST_F() local 94 napi_env engine; in HWTEST_F() local 105 napi_env engine; in HWTEST_F() local 117 napi_env engine; in HWTEST_F() local 128 napi_env engine; in TEST_F() local 136 napi_env engine; in TEST_F() local [all …]
|
/ohos5.0/base/telephony/call_manager/test/unittest/call_earthquake_alarm_test/src/ |
H A D | call_earthquake_alarm_test.cpp | 85 if (engine == nullptr) { 89 engine->mylocator = engine; 90 engine = engine->GetInstance(); 91 engine->SetValue(); 97 engine->OOBEComplete(); 103 engine->OnInit(); 104 engine->SetValue(); 120 engine->SetValue(); 149 engine->SetValue(); 167 engine->SetValue(); [all …]
|
/ohos5.0/foundation/arkui/napi/interfaces/inner_api/cjffi/ark_interop/ |
H A D | ark_interop_engine.cpp | 34 ArkNativeEngine* engine; member 108 if (!engine) { in ARKTS_CreateEngine() 118 delete engine; in ARKTS_CreateEngine() 122 result->engine = engine; in ARKTS_CreateEngine() 156 return engine->engine; in ARKTS_GetNAPIEnv() 161 delete engine->engine; in ARKTSInnerDisposeEngine() 162 if (engine->vm) { in ARKTSInnerDisposeEngine() 168 engine->engine = nullptr; in ARKTSInnerDisposeEngine() 179 engine->eventHandler->PostTask([engine, &cv, &isComplete] { in ARKTS_DestroyEngine() 196 delete engine; in ARKTS_DestroyEngine() [all …]
|
/ohos5.0/foundation/multimedia/media_foundation/engine/ |
H A D | CMakeLists.txt | 55 ${TOP_DIR}/engine 56 ${TOP_DIR}/engine/include 57 ${TOP_DIR}/engine/scene/player 58 ${TOP_DIR}/engine/scene/recorder 59 ${TOP_DIR}/engine/plugin 73 ${TOP_DIR}/engine/scene/standard 80 ${TOP_DIR}/engine/pipeline/*.cpp 83 ${TOP_DIR}/engine/plugin/core/*.cpp 84 ${TOP_DIR}/engine/plugin/types/*.cpp 87 ${TOP_DIR}/engine/scene/common/*.cpp [all …]
|
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/intelligent_voice_engine_v1_1/dump_ast_target/ |
H A D | dump.txt | 2 package ohos.hdi.intelligent_voice.engine.v1_1; 4 import ohos.hdi.intelligent_voice.engine.v1_1.IIntellVoiceDataOprCallback; 5 import ohos.hdi.intelligent_voice.engine.v1_0.IIntellVoiceEngineManager; 14 package ohos.hdi.intelligent_voice.engine.v1_0; 17 import ohos.hdi.intelligent_voice.engine.v1_0.IntellVoiceEngineTypes; 33 package ohos.hdi.intelligent_voice.engine.v1_1; 46 package ohos.hdi.intelligent_voice.engine.v1_0; 68 [in] ohos.hdi.intelligent_voice.engine.v1_0.StartInfo info); 82 package ohos.hdi.intelligent_voice.engine.v1_1; 91 package ohos.hdi.intelligent_voice.engine.v1_0; [all …]
|
/ohos5.0/foundation/graphic/graphic_3d/3d_widget_adapter/test/ |
H A D | 3d_widget_adapter_test.cpp | 175 adapter.Initialize(std::move(engine)); 197 adapter.Initialize(std::move(engine)); 217 adapter.Initialize(std::move(engine)); 236 adapter.Initialize(std::move(engine)); 254 adapter.Initialize(std::move(engine)); 270 adapter.Initialize(std::move(engine)); 286 adapter.Initialize(std::move(engine)); 302 adapter.Initialize(std::move(engine)); 318 adapter.Initialize(std::move(engine)); 334 adapter.Initialize(std::move(engine)); [all …]
|
/ohos5.0/foundation/multimedia/av_codec/services/engine/codec/audio/ |
H A D | BUILD.gn | 49 "$av_codec_root_dir/services/engine/base/include", 50 "$av_codec_root_dir/services/engine/codec/include/audio", 51 "$av_codec_root_dir/services/engine/codec/include/audio/decoder", 52 "$av_codec_root_dir/services/engine/codec/include/audio/encoder", 53 "$av_codec_root_dir/services/engine/factory", 55 "$av_codec_root_dir/services/engine/common/include", 59 "$av_codec_root_dir/services/engine/codec/audio/audio_buffer_info.cpp", 62 "$av_codec_root_dir/services/engine/codec/audio/audio_codec_worker.cpp", 63 "$av_codec_root_dir/services/engine/codec/audio/audio_resample.cpp", 81 "$av_codec_root_dir/services/engine/base:av_codec_codec_base", [all …]
|
/ohos5.0/foundation/multimedia/media_foundation/test/unittest/ |
H A D | BUILD.gn | 30 "$histreamer_root_dir/engine/include/plugin/", 31 "$histreamer_root_dir/engine/pipeline/core/", 32 "$histreamer_root_dir/engine/pipeline/filters/common/", 33 "$histreamer_root_dir/engine/plugin/core/", 37 "$histreamer_root_dir/engine/include/", 44 "$histreamer_root_dir/engine/pipeline:histreamer_pipeline_base", 47 "$histreamer_root_dir/engine/plugin:ffmpeg_convert", 48 "$histreamer_root_dir/engine/plugin:histreamer_plugin_base", 49 "$histreamer_root_dir/engine/plugin:histreamer_plugin_core", 66 "$histreamer_root_dir/engine/scene:std_engine_factory", [all …]
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/build/flutter/glfw/ |
H A D | BUILD.gn | 20 "$flutter_root/engine/flutter/shell/platform/common/cpp/public", 21 "$flutter_root/engine/flutter/shell/platform/glfw/public", 59 "$flutter_root/engine/flutter/shell/platform/embedder/ace_embedder.cc", 60 "$flutter_root/engine/flutter/shell/platform/embedder/ace_embedder_engine.cc", 66 "$flutter_root/engine/flutter/shell/platform/embedder/embedder_surface.cc", 67 "$flutter_root/engine/flutter/shell/platform/embedder/embedder_surface_gl.cc", 69 "$flutter_root/engine/flutter/shell/platform/embedder/embedder_task_runner.cc", 70 "$flutter_root/engine/flutter/shell/platform/embedder/embedder_thread_host.cc", 117 "$flutter_root/engine/flutter/shell/platform/glfw/glfw_event_loop.cc", 120 "$flutter_root/engine/flutter/shell/platform/glfw/flutter_glfw.cc", [all …]
|
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/intelligent_voice_engine_v1_0/dump_ast_target/ |
H A D | dump.txt | 2 package ohos.hdi.intelligent_voice.engine.v1_0; 4 import ohos.hdi.intelligent_voice.engine.v1_0.IIntellVoiceEngineAdapter; 5 import ohos.hdi.intelligent_voice.engine.v1_0.IntellVoiceEngineTypes; 21 package ohos.hdi.intelligent_voice.engine.v1_0; 23 import ohos.hdi.intelligent_voice.engine.v1_0.IIntellVoiceEngineCallback; 24 import ohos.hdi.intelligent_voice.engine.v1_0.IntellVoiceEngineTypes; 43 [in] ohos.hdi.intelligent_voice.engine.v1_0.StartInfo info); 51 [in] ohos.hdi.intelligent_voice.engine.v1_0.ContentType type, 57 package ohos.hdi.intelligent_voice.engine.v1_0; 59 import ohos.hdi.intelligent_voice.engine.v1_0.IntellVoiceEngineTypes; [all …]
|
/ohos5.0/foundation/ai/ai_engine/services/server/server_executor/source/ |
H A D | engine_manager.cpp | 67 if (engine == nullptr) { in StartEngine() 85 engine->AddEngineReference(); in StartEngine() 86 RecordClient(transactionId, engine); in StartEngine() 93 if (engine == nullptr) { in StopEngine() 112 engine->DelEngineReference(); in StopEngine() 134 if (engine == nullptr) { in SetOption() 150 if (engine == nullptr) { in GetOption() 227 engine.reset(newEngine); in CreateEngine() 228 retCode = engine->Initialize(); in CreateEngine() 245 engine = iter->second; in CreateEngineWithCheck() [all …]
|
/ohos5.0/foundation/ability/ability_runtime/frameworks/native/runtime/ |
H A D | ohos_js_environment_impl.cpp | 115 CHECK_POINTER(engine); in InitTimerModule() 131 CHECK_POINTER_AND_RETURN(engine, false); in InitLoop() 132 auto uvLoop = engine->GetUVLoop(); in InitLoop() 152 void OHOSJsEnvironmentImpl::DeInitLoop(NativeEngine* engine) in DeInitLoop() argument 154 CHECK_POINTER(engine); in DeInitLoop() 155 auto uvLoop = engine->GetUVLoop(); in DeInitLoop() 167 CHECK_POINTER(engine); in InitWorkerModule() 169 engine->SetInitWorkerFunc(InitWorkerFunc); in InitWorkerModule() 170 engine->SetOffWorkerFunc(OffWorkerFunc); in InitWorkerModule() 171 engine->SetGetAssetFunc(AssetHelper(workerInfo)); in InitWorkerModule() [all …]
|
/ohos5.0/foundation/multimedia/media_foundation/engine/scene/player/ |
H A D | BUILD.gn | 18 "//foundation/multimedia/media_foundation/engine/include", 19 "//foundation/multimedia/media_foundation/engine/scene/player", 42 "//foundation/multimedia/media_foundation/engine/scene/player/internal/state.cpp", 50 "//foundation/multimedia/media_foundation/engine/foundation:histreamer_foundation", 51 "//foundation/multimedia/media_foundation/engine/pipeline:histreamer_base", 53 "//foundation/multimedia/media_foundation/engine/scene:scene_common", 56 "//foundation/multimedia/media_foundation/engine/scene/player/lite/hiplayer.cpp", 67 "//foundation/multimedia/media_foundation/engine/scene/player/internal/state.cpp", 75 "//foundation/multimedia/media_foundation/engine/foundation:histreamer_foundation", 76 "//foundation/multimedia/media_foundation/engine/pipeline:histreamer_base", [all …]
|
/ohos5.0/drivers/interface/intelligent_voice/engine/v1_2/ |
H A D | IIntellVoiceEngineManager.idl | 23 …of intelligent voice engine devices based on the intelligent voice engine IDs, thereby obtaining o… 24 …creating or releasing an intelligent voice engine adapter, attaching or detaching the intelligent … 25 … or stopping the intelligent voice engine, setting parameter to or getting parameter from the inte… 26 …o or reading files from the intelligent voice engine, subscribing callback to the intelligent voic… 35 … the APIs provided by the intelligent voice engine manager for obtaining or sending intelligent vo… 36 * creating or releasing an intelligent voice engine adapter. 42 package ohos.hdi.intelligent_voice.engine.v1_2; 45 import ohos.hdi.intelligent_voice.engine.v1_0.IntellVoiceEngineTypes; 50 * @brief Defines the functions in intelligent voice engine manager. 52 …de obtaining or sending intelligent voice engine information, creating or releasing an intelligent… [all …]
|
H A D | IIntellVoiceEngineAdapter.idl | 20 …s unified APIs for intelligent voice framework services to access intelligent voice engine drivers. 23 …of intelligent voice engine devices based on the intelligent voice engine IDs, thereby obtaining o… 24 …creating or releasing an intelligent voice engine adapter, attaching or detaching the intelligent … 25 … or stopping the intelligent voice engine, setting parameter to or getting parameter from the inte… 26 …o or reading files from the intelligent voice engine, subscribing callback to the intelligent voic… 35 …* @brief Declares the APIs provided by the intelligent voice engine adapter for obtaining wakeup p… 41 package ohos.hdi.intelligent_voice.engine.v1_2; 43 import ohos.hdi.intelligent_voice.engine.v1_0.IIntellVoiceEngineAdapter; 44 import ohos.hdi.intelligent_voice.engine.v1_2.IntellVoiceEngineTypes; 47 * @brief Defines the functions in intelligent voice engine adapter. [all …]
|
H A D | IntellVoiceEngineTypes.idl | 20 …s unified APIs for intelligent voice framework services to access intelligent voice engine drivers. 23 …of intelligent voice engine devices based on the intelligent voice engine IDs, thereby obtaining o… 24 …creating or releasing an intelligent voice engine adapter, attaching or detaching the intelligent … 25 … or stopping the intelligent voice engine, setting parameter to or getting parameter from the inte… 26 …o or reading files from the intelligent voice engine, subscribing callback to the intelligent voic… 41 package ohos.hdi.intelligent_voice.engine.v1_2; 43 import ohos.hdi.intelligent_voice.engine.v1_0.IntellVoiceEngineTypes; 46 * @brief Enumerates intelligent voice engine content types. 51 enum ContentType : ohos.hdi.intelligent_voice.engine.v1_0.ContentType { 57 * @brief Enumerates intelligent voice engine message types. [all …]
|
/ohos5.0/foundation/multimedia/av_codec/test/unittest/audio_test/ |
H A D | BUILD.gn | 55 "$av_codec_root_dir/services/engine/common/include", 56 "$av_codec_root_dir/services/engine/base/include", 59 "$av_codec_root_dir/services/engine/factory", 106 "$av_codec_root_dir/services/engine/base/include", 109 "$av_codec_root_dir/services/engine/factory", 154 "$av_codec_root_dir/services/engine/base/include", 157 "$av_codec_root_dir/services/engine/factory", 207 "$av_codec_root_dir/services/engine/factory", 254 "$av_codec_root_dir/services/engine/factory", 304 "$av_codec_root_dir/services/engine/factory", [all …]
|
/ohos5.0/commonlibrary/ets_utils/js_sys_module/dfx/ |
H A D | native_module_dfx.cpp | 47 NativeEngine *engine = reinterpret_cast<NativeEngine*>(env); in DumpHeapSnapshot() local 48 engine->DumpHeapSnapshot(pathStr, isVmMode); in DumpHeapSnapshot() 57 NativeEngine *engine = reinterpret_cast<NativeEngine*>(env); in BuildNativeAndJsStackTrace() local 86 NativeEngine *engine = reinterpret_cast<NativeEngine*>(env); in StartHeapTracking() local 114 NativeEngine *engine = reinterpret_cast<NativeEngine*>(env); in StopHeapTracking() local 115 auto stopResult = engine->StopHeapTracking(filePath); in StopHeapTracking() 123 NativeEngine *engine = reinterpret_cast<NativeEngine*>(env); in PrintStatisticResult() local 124 engine->PrintStatisticResult(); in PrintStatisticResult() 132 NativeEngine *engine = reinterpret_cast<NativeEngine*>(env); in StartRuntimeStat() local 133 engine->StartRuntimeStat(); in StartRuntimeStat() [all …]
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/common/utils/ |
H A D | engine_helper.cpp | 40 engineWeakMap_.emplace(id, engine); in AddEngine() 78 auto engine = GetCurrentEngine(); in GetCurrentDelegate() local 79 if (engine) { in GetCurrentDelegate() 80 return { engine->GetFrontend(), Container::CurrentId() }; in GetCurrentDelegate() 88 auto engine = GetCurrentEngineSafely(); in GetCurrentDelegateSafely() local 89 if (engine) { in GetCurrentDelegateSafely() 98 auto engine = GetCurrentEngine(); in GetDefaultDelegate() local 99 if (engine) { in GetDefaultDelegate() 100 return { engine->GetFrontend(), Container::CurrentId() }; in GetDefaultDelegate() 111 auto engine = GetEngine(container->GetInstanceId()); in GetDelegateByContainer() local [all …]
|
/ohos5.0/foundation/multimedia/media_foundation/test/scenetest/ |
H A D | CMakeLists.txt | 72 ${TOP_DIR}/histreamer/engine 73 ${TOP_DIR}/histreamer/engine/include 74 ${TOP_DIR}/histreamer/engine/scene/standard 75 ${TOP_DIR}/histreamer/engine/plugin 122 ${TOP_DIR}/histreamer/engine/plugin/core/muxer.cpp 123 ${TOP_DIR}/histreamer/engine/plugin/core/source.cpp 124 ${TOP_DIR}/histreamer/engine/plugin/core/demuxer.cpp 125 ${TOP_DIR}/histreamer/engine/plugin/core/base.cpp 126 ${TOP_DIR}/histreamer/engine/plugin/core/audio_sink.cpp 127 ${TOP_DIR}/histreamer/engine/plugin/core/codec.cpp [all …]
|
/ohos5.0/foundation/arkui/napi/native_engine/ |
H A D | native_node_api.cpp | 86 auto result = engine->CreateRuntime(true); in napi_create_limit_runtime() 123 auto ecmaVm = engine->GetEcmaVm(); in napi_create_async_work() 189 if (!NativeEngine::IsAlive(engine)) { in napi_get_uv_event_loop() 193 *loop = engine->GetUVLoop(); in napi_get_uv_event_loop() 205 engine->AddCleanupHook(fun, arg); in napi_add_env_cleanup_hook() 217 engine->RemoveCleanupHook(fun, arg); in napi_remove_env_cleanup_hook() 257 engine->DecreaseWaitingRequestCounter(); in FinishAsyncCleanupHook() 267 engine->IncreaseWaitingRequestCounter(); in RunAsyncCleanupHook() 579 engine->GetInstanceData(data); in napi_get_instance_data() 588 *result = engine->GetModuleFileName(); in node_api_get_module_file_name() [all …]
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/ |
H A D | BUILD.gn | 104 input = "engine/stateMgmt.js" 113 input = "engine/jsEnumStyle.js" 122 input = "engine/arkTheme.js" 131 input = "engine/arkComponent.js" 152 input = "engine/jsUIContext.js" 229 "engine/js_types.cpp", 760 "engine/js_types.cpp", 1110 foreach(engine, support_engines) { 1157 sources = [ "engine/jsMock.js" ] 1166 sources = [ "engine/jsXNode.js" ] [all …]
|
/ohos5.0/foundation/arkui/ace_engine/adapter/ohos/entrance/pa_engine/engine/ |
H A D | BUILD.gn | 17 # build service backend javascript engine library 52 foreach(engine, support_engines) { 53 js_pa_engine("js_pa_engine_${engine.engine_name}_$platform") { 55 engine_name = engine.engine_name 56 engine_path = engine.engine_path 57 defines = engine.engine_defines 68 if (defined(engine.have_debug) && engine.have_debug) { 69 js_pa_engine("js_pa_engine_${engine.engine_name}_debug_$platform") { 71 engine_name = engine.engine_name 72 engine_path = engine.engine_path [all …]
|