/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/dialog/ |
H A D | js_dialog.cpp | 70 JSIValue completeFunc) in ShowDialog() argument 83 dismissListener_ = new DismissListener(this, cancelFunc, completeFunc, thisVal); in ShowDialog() 91 if (!ParseButton(this, buttons, successFunc, completeFunc, thisVal)) { in ShowDialog() 181 JSIValue completeFunc, in DialogListener() argument 186 jsCompleteFunc_(JSI::AcquireValue(completeFunc)), in DialogListener() 211 DismissListener::DismissListener(JSDialog *jsDialog, JSIValue cancelFunc, JSIValue completeFunc, JS… in DismissListener() argument 214 jsCompleteFunc_(JSI::AcquireValue(completeFunc)), in DismissListener()
|
H A D | js_dialog.h | 49 JSIValue completeFunc); 75 …DialogListener(JSDialog *jsDialog, uint8_t index, JSIValue successFunc, JSIValue completeFunc, JSI… 90 … DismissListener(JSDialog *jsDialog, JSIValue cancelFunc, JSIValue completeFunc, JSIValue context);
|
/ohos5.0/foundation/distributeddatamgr/relational_store/frameworks/js/napi/common/mock/include/ |
H A D | napi_async_proxy.h | 57 NapiAsyncComplete completeFunc = nullptr; member 104 …ue 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()
|
/ohos5.0/foundation/distributeddatamgr/relational_store/frameworks/js/napi/dataability/include/ |
H A D | napi_async_proxy.h | 58 NapiAsyncComplete completeFunc = nullptr; member 115 …ue 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()
|
/ohos5.0/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()
|
/ohos5.0/base/security/huks/frameworks/crypto_lite/js/napi/ |
H A D | cipher_napi.cpp | 119 napi_value *failFunc, napi_value *completeFunc) in GetCallbackFuncProperty() argument 131 status = napi_get_named_property(env, object, "complete", completeFunc); in GetCallbackFuncProperty() 132 if (status != napi_ok || *completeFunc == nullptr) { in GetCallbackFuncProperty() 140 napi_value completeFunc, CallbackContext *callback) in CreateCallbackReference() argument 163 status = napi_create_reference(env, completeFunc, 1, &callback->callbackComplete); in CreateCallbackReference() 271 napi_value completeFunc = nullptr; in GetAesInput() local 292 ret = GetCallbackFuncProperty(env, object, &successFunc, &failFunc, &completeFunc); in GetAesInput() 303 ret = CreateCallbackReference(env, successFunc, failFunc, completeFunc, context->callback); in GetAesInput() 396 napi_value completeFunc = nullptr; in GetRsaInput() local 417 ret = GetCallbackFuncProperty(env, object, &successFunc, &failFunc, &completeFunc); in GetRsaInput() [all …]
|
/ohos5.0/base/location/interfaces/inner_api/include/ |
H A D | async_context.h | 31 std::function<void(void*)> completeFunc; variable 42 completeFunc = nullptr;
|
/ohos5.0/foundation/communication/connected_nfc_tag/frameworks/js/napi/ |
H A D | nfc_napi_utils.h | 51 std::function<void(void*)> completeFunc; variable 62 completeFunc = nullptr;
|
H A D | nfc_napi_adapter.cpp | 66 asyncContext->completeFunc = [&](void* data) -> void { in ReadNdefTag() 104 asyncContext->completeFunc = [&](void* data) -> void { in WriteNdefTag()
|
H A D | nfc_napi_utils.cpp | 201 context->completeFunc(data); in DoCallBackAsyncWork() 252 context->completeFunc(data); in DoPromiseAsyncWork()
|
/ohos5.0/base/location/frameworks/js/napi/source/ |
H A D | location_napi_adapter.cpp | 57 asyncContext->completeFunc = [&](void* data) -> void { in GetLastLocation() 125 asyncContext->completeFunc = [&](void* data) -> void { in IsLocationEnabled() 186 asyncContext->completeFunc = [&](void* data) -> void { in EnableLocation() 226 asyncContext->completeFunc = [&](void* data) -> void { in DisableLocation() 260 asyncContext->completeFunc = [&](void* data) -> void { in RequestEnableLocation() 300 asyncContext->completeFunc = [&](void* data) -> void { in IsGeoServiceAvailable() 347 asyncContext->completeFunc = [&](void* data) -> void { in CreateReverseGeocodeAsyncContext() 388 asyncContext->completeFunc = [&](void* data) -> void { in CreateReverseGeocodeAsyncContext() 610 asyncContext->completeFunc = [&](void* data) -> void { in CreateReverseGeocodeAsyncContext() 659 asyncContext->completeFunc = [&](void* data) -> void { in CreateReverseGeocodeAsyncContext() [all …]
|
H A D | napi_util.cpp | 983 context->completeFunc(data); in CreateAsyncWork()
|
H A D | location_napi_event.cpp | 497 asyncContext->completeFunc = [&](void* data) -> void { in CreateSingleLocationAsyncContext()
|
/ohos5.0/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 | 359 context->completeFunc(data); in DoCallBackAsyncWork() 396 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()
|
/ohos5.0/foundation/arkui/ace_engine/interfaces/napi/kits/router/ |
H A D | js_router.cpp | 750 napi_value completeFunc = nullptr; in JSRouterEnableAlertBeforeBackPage() local 753 napi_get_named_property(env, argv, "complete", &completeFunc); in JSRouterEnableAlertBeforeBackPage() 766 napi_typeof(env, completeFunc, &valueType); in JSRouterEnableAlertBeforeBackPage() 768 napi_create_reference(env, completeFunc, 1, &context->callbackComplete); in JSRouterEnableAlertBeforeBackPage() 806 napi_value completeFunc = nullptr; in JSRouterDisableAlertBeforeBackPage() local 808 napi_get_named_property(env, argv, "complete", &completeFunc); in JSRouterDisableAlertBeforeBackPage() 819 napi_typeof(env, completeFunc, &valueType); in JSRouterDisableAlertBeforeBackPage() 821 napi_call_function(env, nullptr, completeFunc, 1, argv, &ret); in JSRouterDisableAlertBeforeBackPage()
|
/ohos5.0/foundation/communication/wifi/wifi/frameworks/js/napi/inc/ |
H A D | wifi_napi_utils.h | 73 std::function<void(void*)> completeFunc; variable 85 completeFunc = nullptr;
|
/ohos5.0/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()
|
/ohos5.0/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()
|
/ohos5.0/foundation/communication/nfc/frameworks/js/napi/common/ |
H A D | nfc_napi_common_utils.h | 96 std::function<void(void *)> completeFunc; variable 106 completeFunc(nullptr),
|
/ohos5.0/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()
|