/foundation/arkui/ace_engine_lite/frameworks/src/core/modules/ |
H A D | dialog_module.cpp | 71 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 D | js_dialog.cpp | 71 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 D | js_dialog.h | 49 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 D | napi_async_proxy.h | 57 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 D | napi_async_proxy.h | 58 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 D | nfc_napi_adapter.cpp | 66 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 D | nfc_napi_utils.h | 51 std::function<void(void*)> completeFunc;
member in OHOS::NFC::AsyncContext 62 completeFunc = nullptr;
in AsyncContext()
|
H A D | nfc_napi_utils.cpp | 201 context->completeFunc(data);
in DoCallBackAsyncWork() 252 context->completeFunc(data);
in DoPromiseAsyncWork()
|
/foundation/communication/wifi/wifi/frameworks/js/napi/src/ |
H A D | wifi_napi_p2p.cpp | 129 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 D | wifi_ext_napi_hotspot.cpp | 94 asyncContext->completeFunc = [&](void* data) -> void { in GetSupportedPowerModel() 130 asyncContext->completeFunc = [&](void* data) -> void { in GetPowerModel()
|
H A D | wifi_napi_utils.cpp | 364 context->completeFunc(data); in DoCallBackAsyncWork() 401 context->completeFunc(data); in DoPromiseAsyncWork()
|
H A D | wifi_napi_device.cpp | 216 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 D | wifi_napi_utils.h | 73 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 D | js_router.cpp | 740 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 D | btm_snoop_filter_cmd.c | 25 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 D | common_func.h | 201 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 D | nfc_napi_common_utils.h | 96 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 D | file_n_exporter.cpp | 88 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()
|