Home
last modified time | relevance | path

Searched refs:OHOSJsEnvironmentImpl (Results 1 – 6 of 6) sorted by relevance

/ohos5.0/foundation/ability/ability_runtime/frameworks/native/runtime/
H A Dohos_js_environment_impl.cpp30 void OHOSJsEnvironmentImpl::PostTaskToHandler(void* handler, uv_io_cb func, void* work, int status,… in PostTaskToHandler()
66 OHOSJsEnvironmentImpl::OHOSJsEnvironmentImpl() in OHOSJsEnvironmentImpl() function in OHOS::AbilityRuntime::OHOSJsEnvironmentImpl
71 OHOSJsEnvironmentImpl::OHOSJsEnvironmentImpl(const std::shared_ptr<AppExecFwk::EventRunner>& eventR… in OHOSJsEnvironmentImpl() function in OHOS::AbilityRuntime::OHOSJsEnvironmentImpl
83 OHOSJsEnvironmentImpl::~OHOSJsEnvironmentImpl() in ~OHOSJsEnvironmentImpl()
96 void OHOSJsEnvironmentImpl::PostSyncTask(const std::function<void()>& task, const std::string& name) in PostSyncTask()
104 void OHOSJsEnvironmentImpl::RemoveTask(const std::string& name) in RemoveTask()
112 void OHOSJsEnvironmentImpl::InitTimerModule(NativeEngine* engine) in InitTimerModule()
122 void OHOSJsEnvironmentImpl::InitConsoleModule(NativeEngine* engine) in InitConsoleModule()
128 bool OHOSJsEnvironmentImpl::InitLoop(NativeEngine* engine, bool isStage) in InitLoop()
152 void OHOSJsEnvironmentImpl::DeInitLoop(NativeEngine* engine) in DeInitLoop()
[all …]
H A Dohos_js_environment_impl.h23 class OHOSJsEnvironmentImpl : public JsEnv::JsEnvironmentImpl {
25 OHOSJsEnvironmentImpl();
26 explicit OHOSJsEnvironmentImpl(const std::shared_ptr<AppExecFwk::EventRunner>& eventRunner);
27 ~OHOSJsEnvironmentImpl() override;
H A Djs_runtime_lite.cpp160 …jsEnv = std::make_shared<JsEnv::JsEnvironment>(std::make_unique<OHOSJsEnvironmentImpl>(options.eve… in CreateJsEnv()
H A Djs_runtime.cpp844 …jsEnv_ = std::make_shared<JsEnv::JsEnvironment>(std::make_unique<OHOSJsEnvironmentImpl>(options.ev… in CreateJsEnv()
1536 jsEnv_->ReInitJsEnvImpl(std::make_unique<OHOSJsEnvironmentImpl>(options.eventRunner)); in ReInitJsEnvImpl()
/ohos5.0/foundation/ability/ability_runtime/js_environment/test/unittest/js_environment_test/
H A Djs_environment_test.cpp74 …jsEnv = std::make_shared<JsEnvironment>(std::make_unique<AbilityRuntime::OHOSJsEnvironmentImpl>());
98 …jsEnv = std::make_shared<JsEnvironment>(std::make_unique<AbilityRuntime::OHOSJsEnvironmentImpl>());
115 …jsEnv = std::make_shared<JsEnvironment>(std::make_unique<AbilityRuntime::OHOSJsEnvironmentImpl>());
129 …jsEnv = std::make_shared<JsEnvironment>(std::make_unique<AbilityRuntime::OHOSJsEnvironmentImpl>());
147 …jsEnv = std::make_shared<JsEnvironment>(std::make_unique<AbilityRuntime::OHOSJsEnvironmentImpl>());
169 …jsEnv = std::make_shared<JsEnvironment>(std::make_unique<AbilityRuntime::OHOSJsEnvironmentImpl>());
187 …jsEnv = std::make_shared<JsEnvironment>(std::make_unique<AbilityRuntime::OHOSJsEnvironmentImpl>());
202 …jsEnv = std::make_shared<JsEnvironment>(std::make_unique<AbilityRuntime::OHOSJsEnvironmentImpl>());
216 …jsEnv = std::make_shared<JsEnvironment>(std::make_unique<AbilityRuntime::OHOSJsEnvironmentImpl>());
231 …jsEnv = std::make_shared<JsEnvironment>(std::make_unique<AbilityRuntime::OHOSJsEnvironmentImpl>());
[all …]
/ohos5.0/foundation/ability/ability_runtime/test/unittest/runtime_test/
H A Dohos_js_environment_test.cpp58 auto jsEnvImpl = std::make_shared<OHOSJsEnvironmentImpl>();
80 auto jsEnvImpl = std::make_shared<OHOSJsEnvironmentImpl>(runner);
107 auto jsEnvImpl = std::make_unique<OHOSJsEnvironmentImpl>();
129 auto jsEnvImpl = std::make_shared<OHOSJsEnvironmentImpl>();
147 auto jsEnvImpl = std::make_shared<OHOSJsEnvironmentImpl>();