Home
last modified time | relevance | path

Searched refs:completeFunc (Results 1 - 18 of 18) sorted by relevance

/foundation/arkui/ace_engine_lite/frameworks/src/core/modules/
H A Ddialog_module.cpp71 JSIValue completeFunc = JSI::GetNamedProperty(args[0], COMPLETE_FUNC_KEY); in ShowDialog() local
73 bool result = jsDialog->ShowDialog(thisVal, buttons, successFunc, cancelFunc, completeFunc); in ShowDialog()
79 JSI::ReleaseValueList(buttons, successFunc, cancelFunc, completeFunc); in ShowDialog()
/foundation/arkui/ace_engine_lite/frameworks/src/core/dialog/
H A Djs_dialog.cpp71 JSIValue completeFunc) in ShowDialog()
84 dismissListener_ = new DismissListener(this, cancelFunc, completeFunc, thisVal); in ShowDialog()
92 if (!ParseButton(this, buttons, successFunc, completeFunc, thisVal)) { in ShowDialog()
182 JSIValue completeFunc, in DialogListener()
187 jsCompleteFunc_(JSI::AcquireValue(completeFunc)), in DialogListener()
212 DismissListener::DismissListener(JSDialog *jsDialog, JSIValue cancelFunc, JSIValue completeFunc, JSIValue context) in DismissListener() argument
215 jsCompleteFunc_(JSI::AcquireValue(completeFunc)), in DismissListener()
67 ShowDialog(JSIValue thisVal, JSIValue buttons, JSIValue successFunc, JSIValue cancelFunc, JSIValue completeFunc) ShowDialog() argument
179 DialogListener(JSDialog *jsDialog, uint8_t index, JSIValue successFunc, JSIValue completeFunc, JSIValue context) DialogListener() argument
H A Djs_dialog.h49 JSIValue completeFunc);
75 DialogListener(JSDialog *jsDialog, uint8_t index, JSIValue successFunc, JSIValue completeFunc, JSIValue context);
90 DismissListener(JSDialog *jsDialog, JSIValue cancelFunc, JSIValue completeFunc, JSIValue context);
/foundation/distributeddatamgr/relational_store/frameworks/js/napi/common/mock/include/
H A Dnapi_async_proxy.h57 NapiAsyncComplete completeFunc = nullptr; member
104 napi_value DoAsyncWork(std::string resourceName, NapiAsyncExecute execFunc, NapiAsyncComplete completeFunc) in DoAsyncWork() argument
120 asyncContext->completeFunc = completeFunc; in DoAsyncWork()
129 int completeStatus = context->completeFunc(context, output); in DoAsyncWork()
/foundation/distributeddatamgr/relational_store/frameworks/js/napi/dataability/include/
H A Dnapi_async_proxy.h58 NapiAsyncComplete completeFunc = nullptr; member
115 napi_value DoAsyncWork(std::string resourceName, NapiAsyncExecute execFunc, NapiAsyncComplete completeFunc) in DoAsyncWork() argument
131 asyncContext->completeFunc = completeFunc; in DoAsyncWork()
140 int completeStatus = context->completeFunc(context, output); in DoAsyncWork()
/foundation/communication/connected_nfc_tag/frameworks/js/napi/
H A Dnfc_napi_adapter.cpp66 asyncContext->completeFunc = [&](void* data) -> void { in ReadNdefTag()
104 asyncContext->completeFunc = [&](void* data) -> void { in WriteNdefTag()
105 HILOGI("WriteNdefTag completeFunc in, no return value"); in WriteNdefTag()
H A Dnfc_napi_utils.h51 std::function<void(void*)> completeFunc; member in OHOS::NFC::AsyncContext
62 completeFunc = nullptr; in AsyncContext()
H A Dnfc_napi_utils.cpp201 context->completeFunc(data); in DoCallBackAsyncWork()
252 context->completeFunc(data); in DoPromiseAsyncWork()
/foundation/communication/wifi/wifi/frameworks/js/napi/src/
H A Dwifi_napi_p2p.cpp129 asyncContext->completeFunc = [&](void* data) -> void { in GetCurrentGroup()
163 asyncContext->completeFunc = [&](void* data) -> void { in GetP2pGroups()
235 asyncContext->completeFunc = [&](void* data) -> void { in GetP2pDevices()
269 asyncContext->completeFunc = [&](void* data) -> void { in GetP2pLocalDevice()
412 asyncContext->completeFunc = [&](void* data) -> void { in GetP2pLinkedInfo()
H A Dwifi_ext_napi_hotspot.cpp94 asyncContext->completeFunc = [&](void* data) -> void { in GetSupportedPowerModel()
130 asyncContext->completeFunc = [&](void* data) -> void { in GetPowerModel()
H A Dwifi_napi_utils.cpp364 context->completeFunc(data); in DoCallBackAsyncWork()
401 context->completeFunc(data); in DoPromiseAsyncWork()
H A Dwifi_napi_device.cpp216 asyncContext->completeFunc = [&](void* data) -> void { in GetScanInfos()
253 asyncContext->completeFunc = [&](void* data) -> void { in GetScanInfoResults()
605 asyncContext->completeFunc = [&](void* data) -> void { in AddDeviceConfig()
660 asyncContext->completeFunc = [&](void* data) -> void { in AddUntrustedConfig()
709 asyncContext->completeFunc = [&](void* data) -> void { in RemoveUntrustedConfig()
765 asyncContext->completeFunc = [&](void* data) -> void { in AddCandidateConfig()
805 asyncContext->completeFunc = [&](void* data) -> void { in RemoveCandidateConfig()
1067 asyncContext->completeFunc = [&](void* data) -> void { in GetLinkedInfo()
/foundation/communication/wifi/wifi/frameworks/js/napi/inc/
H A Dwifi_napi_utils.h73 std::function<void(void*)> completeFunc; member in OHOS::Wifi::AsyncContext
85 completeFunc = nullptr; in AsyncContext()
/foundation/arkui/ace_engine/interfaces/napi/kits/router/
H A Djs_router.cpp740 napi_value completeFunc = nullptr; in JSRouterEnableAlertBeforeBackPage() local
743 napi_get_named_property(env, argv, "complete", &completeFunc); in JSRouterEnableAlertBeforeBackPage()
756 napi_typeof(env, completeFunc, &valueType); in JSRouterEnableAlertBeforeBackPage()
758 napi_create_reference(env, completeFunc, 1, &context->callbackComplete); in JSRouterEnableAlertBeforeBackPage()
796 napi_value completeFunc = nullptr; in JSRouterDisableAlertBeforeBackPage() local
798 napi_get_named_property(env, argv, "complete", &completeFunc); in JSRouterDisableAlertBeforeBackPage()
809 napi_typeof(env, completeFunc, &valueType); in JSRouterDisableAlertBeforeBackPage()
811 napi_call_function(env, nullptr, completeFunc, 1, argv, &ret); in JSRouterDisableAlertBeforeBackPage()
/foundation/communication/bluetooth_service/services/bluetooth/stack/src/btm/
H A Dbtm_snoop_filter_cmd.c25 BtmFilterFunc completeFunc; member
521 if (filterFuncInfo != NULL && filterFuncInfo->completeFunc != NULL) { in BtmFilterHciCmdCompleteEvt()
523 filterFuncInfo->completeFunc(copyData + offset + filterFuncInfo->completeEvtDataOffset); in BtmFilterHciCmdCompleteEvt()
/foundation/bundlemanager/bundle_framework/interfaces/kits/js/common/
H A Dcommon_func.h201 void (*completeFunc)(napi_env, napi_status, void *)) in AsyncCallNativeMethod()
216 env, nullptr, resource, execFunc, completeFunc, in AsyncCallNativeMethod()
197 AsyncCallNativeMethod(napi_env env, T *asyncCallbackInfo, const std::string &methodName, void (*execFunc)(napi_env, void *), void (*completeFunc)(napi_env, napi_status, void *)) AsyncCallNativeMethod() argument
/foundation/communication/nfc/frameworks/js/napi/common/
H A Dnfc_napi_common_utils.h96 std::function<void(void *)> completeFunc; member in OHOS::NFC::KITS::AsyncContext
106 completeFunc(nullptr), in AsyncContext()
/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_file/class_file/
H A Dfile_n_exporter.cpp88 napi_value completeFunc = nullptr; in CallComplete() local
92 napi_get_reference_value(env, completeFuncRef, &completeFunc); in CallComplete()
93 if (completeFunc == nullptr) { in CallComplete()
96 napi_call_function(env, global, completeFunc, COMMON_NUM::ZERO, nullptr, &results); in CallComplete()

Completed in 21 milliseconds