/foundation/multimedia/camera_framework/services/deferred_processing_service/src/post_processor/command/ |
H A D | video_process_command.cpp | 51 work_(work) in VideoProcessSuccessCommand() 59 work_ = nullptr; in ~VideoProcessSuccessCommand() 68 controller_->HandleSuccess(userId_, work_); in Executing() 75 work_(work), in VideoProcessFailedCommand() 84 work_ = nullptr; in ~VideoProcessFailedCommand() 93 controller_->HandleError(userId_, work_, error_); in Executing()
|
/foundation/ability/ability_runtime/frameworks/native/runtime/ |
H A D | js_runtime_utils.cpp | 196 if (work_ && env_) { in ~NapiAsyncTask() 197 napi_delete_async_work(env_, work_); in ~NapiAsyncTask() 198 work_ = nullptr; in ~NapiAsyncTask() 232 if (work_) { in StartWithDefaultQos() 233 napi_delete_async_work(env, work_); in StartWithDefaultQos() 234 work_ = nullptr; in StartWithDefaultQos() 240 work_ = reinterpret_cast<napi_async_work>(engine->CreateAsyncWork(name, in StartWithDefaultQos() 243 napi_queue_async_work_with_qos(env, work_, napi_qos_default); in StartWithDefaultQos() 372 if (work_) { in Start() 373 napi_delete_async_work(env, work_); in Start() [all...] |
/foundation/filemanagement/user_file_service/frameworks/js/napi/file_access_module/ |
H A D | napi_observer_callback.cpp | 122 if (work_ == nullptr) { in OnChange() 123 work_ = std::make_unique<uv_work_t>(); in OnChange() 126 if (work_ == nullptr) { in OnChange() 131 work_->data = callbackParam.get(); in OnChange() 132 int ret = uv_queue_work(loop, work_.get(), in OnChange() 139 work_.release(); in OnChange()
|
H A D | napi_observer_callback.h | 44 std::unique_ptr<uv_work_t> work_ = nullptr; member in OHOS::FileAccessFwk::NapiObserver
|
/foundation/ai/intelligent_voice_framework/frameworks/js/napi/ |
H A D | intell_voice_napi_queue.cpp | 36 if (work_ != nullptr) { in ~AsyncContext() 37 napi_delete_async_work(env_, work_); in ~AsyncContext() 91 static_cast<void *>(context.get()), &context->work_); in AsyncWork() 98 status = napi_queue_async_work(env, context->work_); in AsyncWork() 123 static_cast<void *>(context.get()), &context->work_); in AsyncWork() 130 status = napi_queue_async_work(env, context->work_); in AsyncWork()
|
H A D | intell_voice_napi_queue.h | 44 napi_async_work work_ = nullptr; member in OHOS::IntellVoiceNapi::AsyncContext
|
/foundation/arkui/napi/native_engine/ |
H A D | native_async_work.cpp | 55 : work_({ 0 }), engine_(engine), engineId_(engine->GetId()), execute_(execute), complete_(complete), data_(data) in NativeAsyncWork() 57 work_.data = this; 116 int status = uv_queue_work(loop, &work_, AsyncWorkCallback, AsyncAfterWorkCallback); in Queue() 150 int status = uv_queue_work_with_qos(loop, &work_, AsyncWorkCallback, AsyncAfterWorkCallback, uv_qos_t(qos)); in QueueWithQos() 173 int status = uv_cancel((uv_req_t*)&work_); in Cancel()
|
H A D | native_async_work.h | 77 uv_work_t work_; member in NativeAsyncWork
|
/foundation/multimedia/camera_framework/services/deferred_processing_service/include/post_processor/command/ |
H A D | video_process_command.h | 48 DeferredVideoWorkPtr work_; member in OHOS::CameraStandard::DeferredProcessing::VideoProcessSuccessCommand 60 DeferredVideoWorkPtr work_; member in OHOS::CameraStandard::DeferredProcessing::VideoProcessFailedCommand
|
/foundation/distributeddatamgr/relational_store/frameworks/js/napi/rdb/src/ |
H A D | napi_async_call.cpp | 61 if (work_ != nullptr) {
in ~BaseContext() 62 napi_delete_async_work(env_, work_);
in ~BaseContext() 104 reinterpret_cast<void *>(context.get()), &context->work_);
in Call() 106 auto status = napi_queue_async_work_with_qos(env, context->work_, napi_qos_user_initiated);
in Call()
|
/foundation/distributeddatamgr/relational_store/frameworks/js/napi/relationalstore/src/ |
H A D | napi_async_call.cpp | 100 if (work_ != nullptr) {
in ~ContextBase() 101 napi_delete_async_work(env_, work_);
in ~ContextBase() 102 work_ = nullptr;
in ~ContextBase() 150 reinterpret_cast<void *>(context.get()), &context->work_);
in Async() 152 auto status = napi_queue_async_work_with_qos(env, context->work_, napi_qos_user_initiated);
in Async()
|
/foundation/distributeddatamgr/preferences/frameworks/js/napi/common/src/ |
H A D | napi_async_call.cpp | 72 if (work_ != nullptr) { in ~BaseContext() 73 napi_delete_async_work(env_, work_); in ~BaseContext() 121 reinterpret_cast<void *>(context.get()), &context->work_); in Async() 123 napi_queue_async_work_with_qos(env, context->work_, napi_qos_user_initiated); in Async()
|
/foundation/ability/ability_runtime/frameworks/simulator/ability_simulator/src/ |
H A D | js_runtime_utils.cpp | 273 if (work_) { in Start() 274 napi_delete_async_work(env, work_); in Start() 275 work_ = nullptr; in Start() 281 work_ = reinterpret_cast<napi_async_work>(engine->CreateAsyncWork(name, in Start() 284 napi_queue_async_work(env, work_); in Start()
|
/foundation/barrierfree/accessibility/interfaces/kits/napi/src/ |
H A D | napi_accessibility_system_ability_client.cpp | 115 reinterpret_cast<void*>(callbackInfo), &callbackInfo->work_); in IsOpenAccessibility() 122 napi_queue_async_work_with_qos(env, callbackInfo->work_, napi_qos_user_initiated); in IsOpenAccessibility() 182 reinterpret_cast<void*>(callbackInfo), &callbackInfo->work_); in IsOpenTouchExploration() 189 napi_queue_async_work_with_qos(env, callbackInfo->work_, napi_qos_user_initiated); in IsOpenTouchExploration() 208 napi_delete_async_work(env, callbackInfo->work_); in Completefunction() 228 napi_delete_async_work(env, callbackInfo->work_); in Completefunction() 267 napi_delete_async_work(env, callbackInfo->work_); in GetAbilityListComplete() 308 &callbackInfo->work_); in GetAbilityList() 315 napi_queue_async_work_with_qos(env, callbackInfo->work_, napi_qos_user_initiated); in GetAbilityList() 397 &callbackInfo->work_); in GetAccessibilityExtensionListAsync() [all...] |
/foundation/distributeddatamgr/preferences/frameworks/js/napi/common/include/ |
H A D | napi_async_call.h | 54 napi_async_work work_ = nullptr; member in OHOS::PreferencesJsKit::BaseContext
|
/foundation/distributeddatamgr/relational_store/frameworks/js/napi/rdb/include/ |
H A D | napi_async_call.h | 49 napi_async_work work_ = nullptr;
member in OHOS::AppDataMgrJsKit::BaseContext
|
/foundation/barrierfree/accessibility/interfaces/kits/napi/accessibility_extension_module_loader/src/ |
H A D | napi_accessibility_element.cpp | 256 &callbackInfo->work_); in AttributeNames() 257 napi_queue_async_work_with_qos(env, callbackInfo->work_, napi_qos_user_initiated); in AttributeNames() 294 napi_delete_async_work(env, callbackInfo->work_); in AttributeNamesComplete() 391 NAccessibilityElement::AttributeValueComplete, reinterpret_cast<void*>(callbackInfo), &callbackInfo->work_); in AttributeValueAsync() 392 napi_queue_async_work_with_qos(env, callbackInfo->work_, napi_qos_user_initiated); in AttributeValueAsync() 479 napi_delete_async_work(env, callbackInfo->work_); in AttributeValueComplete() 1573 &callbackInfo->work_); in ActionNames() 1574 napi_queue_async_work_with_qos(env, callbackInfo->work_, napi_qos_user_initiated); in ActionNames() 1625 napi_delete_async_work(env, callbackInfo->work_); in ActionNamesComplete() 1779 reinterpret_cast<void*>(callbackInfo), &callbackInfo->work_); in PerformActionConstructPromise() [all...] |
/foundation/distributeddatamgr/relational_store/frameworks/js/napi/relationalstore/include/ |
H A D | napi_async_call.h | 75 napi_async_work work_ = nullptr;
member in OHOS::RelationalStoreJsKit::ContextBase
|
/foundation/barrierfree/accessibility/interfaces/kits/napi/accessibility_config/src/ |
H A D | napi_accessibility_config.cpp | 144 }, NAccessibilityConfig::AsyncWorkComplete, reinterpret_cast<void*>(callbackInfo), &callbackInfo->work_); in EnableAbility() 145 napi_queue_async_work_with_qos(env, callbackInfo->work_, napi_qos_user_initiated); in EnableAbility() 196 reinterpret_cast<void*>(callbackInfo), &callbackInfo->work_); in DisableAbility() 197 napi_queue_async_work_with_qos(env, callbackInfo->work_, napi_qos_user_initiated); in DisableAbility() 380 napi_delete_async_work(env, callbackInfo->work_); in AsyncWorkComplete() 529 napi_delete_async_work(env, callbackInfo->work_); in GetConfigComplete() 763 &callbackInfo->work_); in SetConfig() 764 napi_queue_async_work_with_qos(env, callbackInfo->work_, napi_qos_user_initiated); in SetConfig() 818 &callbackInfo->work_); in GetConfig() 819 napi_queue_async_work_with_qos(env, callbackInfo->work_, napi_qos_user_initiate in GetConfig() [all...] |
/foundation/barrierfree/accessibility/interfaces/kits/napi/include/ |
H A D | napi_accessibility_system_ability_client.h | 65 napi_async_work work_ {};
|
/foundation/barrierfree/accessibility/interfaces/kits/napi/accessibility_config/include/ |
H A D | napi_accessibility_config.h | 65 napi_async_work work_ {};
|
/foundation/ability/ability_runtime/interfaces/inner_api/runtime/include/ |
H A D | js_runtime_utils.h | 288 napi_async_work work_ = nullptr; member in OHOS::AbilityRuntime::final
|
/foundation/barrierfree/accessibility/interfaces/kits/napi/accessibility_extension_module_loader/include/ |
H A D | napi_accessibility_element.h | 49 napi_async_work work_ {};
|