Searched refs:DispatchEvent (Results 1 - 3 of 3) sorted by relevance
/commonlibrary/ets_utils/js_concurrent_module/worker/ |
H A D | worker.h | 238 static napi_value DispatchEvent(napi_env env, napi_callback_info cbinfo);
|
H A D | worker.cpp | 77 DECLARE_NAPI_FUNCTION("dispatchEvent", DispatchEvent), in InitWorker() 690 napi_value Worker::DispatchEvent(napi_env env, napi_callback_info cbinfo) in DispatchEvent() function in Commonlibrary::Concurrent::WorkerModule::Worker 705 "the type of DispatchEvent first param must be event object."); in DispatchEvent() 712 HILOG_ERROR("worker:: worker is nullptr when DispatchEvent, maybe worker is terminated"); in DispatchEvent() 1069 ErrorHelper::ThrowError(env, ErrorHelper::TYPE_ERROR, "DispatchEvent param count must be more than 1."); in ParentPortDispatchEvent() 1075 "the type of worker DispatchEvent first param must be Event."); in ParentPortDispatchEvent()
|
/commonlibrary/ets_utils/js_concurrent_module/worker/test/ |
H A D | test_worker.cpp | 1314 //worker DispatchEvent 1349 funcName = "DispatchEvent"; in HWTEST_F() 1351 napi_create_function(env, funcName.c_str(), funcName.size(), Worker::DispatchEvent, worker, &cb); in HWTEST_F() 2922 std::string funcName = "DispatchEvent"; in HWTEST_F() 2924 napi_create_function(env, funcName.c_str(), funcName.size(), Worker::DispatchEvent, worker, &cb); in HWTEST_F() 2946 std::string funcName = "DispatchEvent"; in HWTEST_F() 2948 napi_create_function(env, funcName.c_str(), funcName.size(), Worker::DispatchEvent, worker, &cb); in HWTEST_F() 2974 std::string funcName = "DispatchEvent"; in HWTEST_F() 2976 napi_create_function(env, funcName.c_str(), funcName.size(), Worker::DispatchEvent, worker, &cb); in HWTEST_F() 3006 std::string funcName = "DispatchEvent"; in HWTEST_F() [all...] |
Completed in 14 milliseconds