Home
last modified time | relevance | path

Searched refs:asyncWork_ (Results 1 – 13 of 13) sorted by relevance

/ohos5.0/foundation/communication/netstack/utils/napi_utils/src/
H A Dbase_context.cpp34 asyncWork_(nullptr), in BaseContext()
52 asyncWork_(nullptr), in BaseContext()
115 return asyncWork_; in GetAsyncWork()
121 this, &asyncWork_); in CreateAsyncWork()
122 asyncWorkBack1_ = asyncWork_; in CreateAsyncWork()
123 asyncWorkBack2_ = asyncWork_; in CreateAsyncWork()
124 asyncWorkBack3_ = asyncWork_; in CreateAsyncWork()
125 asyncWorkBack4_ = asyncWork_; in CreateAsyncWork()
130 (void)napi_queue_async_work_with_qos(env_, asyncWork_, napi_qos_default); in CreateAsyncWork()
135 if (asyncWork_ == nullptr) { in DeleteAsyncWork()
[all …]
/ohos5.0/foundation/communication/netmanager_base/utils/napi_utils/src/
H A Dbase_context.cpp32 asyncWork_(nullptr), in BaseContext()
87 this, &asyncWork_); in CreateAsyncWork()
92 (void)napi_queue_async_work_with_qos(env_, asyncWork_, napi_qos_default); in CreateAsyncWork()
97 if (asyncWork_ == nullptr) { in DeleteAsyncWork()
100 (void)napi_delete_async_work(env_, asyncWork_); in DeleteAsyncWork()
/ohos5.0/base/powermgr/battery_statistics/frameworks/napi/src/
H A Dasync_callback_info.cpp42 if (asyncWork_ != nullptr) { in Release()
43 napi_delete_async_work(env, asyncWork_); in Release()
44 asyncWork_ = nullptr; in Release()
/ohos5.0/base/powermgr/power_manager/frameworks/napi/utils/
H A Dasync_callback_info.cpp42 if (asyncWork_ != nullptr) { in Release()
43 napi_delete_async_work(env, asyncWork_); in Release()
44 asyncWork_ = nullptr; in Release()
H A Dasync_callback_info.h38 return asyncWork_; in GetAsyncWork()
81 napi_async_work asyncWork_ = nullptr; variable
/ohos5.0/base/powermgr/battery_statistics/frameworks/napi/include/
H A Dasync_callback_info.h39 return asyncWork_; in GetAsyncWork()
70 napi_async_work asyncWork_ = nullptr; variable
/ohos5.0/foundation/communication/bluetooth/frameworks/js/napi/src/socket/
H A Dnapi_bluetooth_spp_server.cpp184 napi_delete_async_work(env, callbackInfo->asyncWork_); in SppListen()
189 &callbackInfo->asyncWork_); in SppListen()
191 napi_queue_async_work(env, callbackInfo->asyncWork_); in SppListen()
292 napi_delete_async_work(env, callbackInfo->asyncWork_); in SppAccept()
297 &callbackInfo->asyncWork_); in SppAccept()
299 napi_queue_async_work(env, callbackInfo->asyncWork_); in SppAccept()
H A Dnapi_bluetooth_spp_client.cpp174 napi_delete_async_work(env, callbackInfo->asyncWork_); in SppConnect()
178 static_cast<void*>(callbackInfo), &callbackInfo->asyncWork_); in SppConnect()
179 if (napi_queue_async_work(env, callbackInfo->asyncWork_) != napi_ok) { in SppConnect()
/ohos5.0/foundation/window/window_manager/window_scene/interfaces/kits/napi/scene_session_manager/
H A Djs_rss_session.cpp231 &cbInfo->asyncWork_)); in OnReceiveEvent()
232 NAPI_CALL_RETURN_VOID(env, napi_queue_async_work(env, cbInfo->asyncWork_)); in OnReceiveEvent()
323 NAPI_CALL_RETURN_VOID(env, napi_delete_async_work(env, cbInfo->asyncWork_)); in CompleteCb()
324 cbInfo->asyncWork_ = nullptr; in CompleteCb()
H A Djs_rss_session.h62 napi_async_work asyncWork_ = nullptr; member
/ohos5.0/foundation/communication/netmanager_base/utils/napi_utils/include/
H A Dbase_context.h76 napi_async_work asyncWork_; variable
/ohos5.0/foundation/communication/netstack/utils/napi_utils/include/
H A Dbase_context.h146 napi_async_work asyncWork_ = nullptr; variable
/ohos5.0/foundation/communication/bluetooth/frameworks/js/napi/include/
H A Dnapi_bluetooth_utils.h124 napi_async_work asyncWork_; member