Home
last modified time | relevance | path

Searched refs:napi_call_function (Results 1 – 25 of 202) sorted by relevance

123456789

/foundation/arkui/ace_engine/interfaces/napi/kits/device/
Djs_device.cpp111 napi_call_function(env, jsonValue, parseValue, 1, funcArgv, &returnValue); in JSGetInfo()
131 napi_call_function(env, nullptr, callback, 2, result, &ret); in JSGetInfo()
138 napi_call_function(env, nullptr, callback, 2, result, &ret); in JSGetInfo()
144 napi_call_function(env, nullptr, callback, 0, nullptr, &ret); in JSGetInfo()
/foundation/communication/bluetooth/frameworks/js/napi/src/ble/
Dnapi_bluetooth_gatt_server_callback.cpp62napi_call_function(callbackInfo->env_, undefined, callback, ARGS_SIZE_ONE, &result, &callResult); in OnCharacteristicReadRequest()
106napi_call_function(callbackInfo->env_, undefined, callback, ARGS_SIZE_ONE, &result, &callResult); in OnCharacteristicWriteRequest()
168napi_call_function(callbackInfo->env_, undefined, callback, ARGS_SIZE_ONE, &result, &callResult); in OnConnectionStateUpdate()
212napi_call_function(callbackInfo->env_, undefined, callback, ARGS_SIZE_ONE, &result, &callResult); in OnDescriptorWriteRequest()
256napi_call_function(callbackInfo->env_, undefined, callback, ARGS_SIZE_ONE, &result, &callResult); in OnDescriptorReadRequest()
299napi_call_function(callbackInfo->env_, undefined, callback, ARGS_SIZE_ONE, &result, &callResult); in OnMtuUpdate()
Dnapi_bluetooth_ble_central_manager_callback.cpp103 napi_call_function(env, undefine, funcSuccess, 0, nullptr, &callbackResult); in AfterWorkCallbackToSysBLEScan()
110 napi_call_function(env, undefine, funcFail, ARGS_SIZE_TWO, callbackValue, &callbackResult); in AfterWorkCallbackToSysBLEScan()
112 napi_call_function(env, undefine, funcComplete, 0, nullptr, &callbackResult); in AfterWorkCallbackToSysBLEScan()
138 napi_call_function(env, undefine, funcSuccess, ARGS_SIZE_ONE, &object, &callbackResult); in AfterWorkCallbackToSysBLEDeviceFound()
242 napi_call_function(callbackData->env, undefined, callback, ARGS_SIZE_ONE, &result, &callResult); in UvQueueWorkOnBleBatchScanResultsEvent()
/foundation/communication/bluetooth/frameworks/js/napi/src/
Dnapi_bluetooth_opp_observer.cpp55napi_call_function(callbackInfo->env_, undefined, callback, ARGS_SIZE_ONE, &result, &callResult); in OnReceiveIncomingFileChanged()
96napi_call_function(callbackInfo->env_, undefined, callback, ARGS_SIZE_ONE, &result, &callResult); in OnTransferStateChanged()
Dnapi_bluetooth_pbap_pse_observer.cpp52napi_call_function(callbackInfo->env_, undefined, callback, ARGS_SIZE_ONE, &result, &callResult); in OnServiceConnectionStateChanged()
Dnapi_bluetooth_pbap_pce_observer.cpp54napi_call_function(callbackInfo->env_, undefined, callback, ARGS_SIZE_ONE, &result, &callResult); in OnServiceConnectionStateChanged()
/foundation/arkui/ace_engine/interfaces/napi/kits/router/
Djs_router.cpp68 napi_call_function(env, jsonValue, stringifyValue, 1, funcArgv, &returnValue); in ParseParams()
255 napi_call_function(asyncContext->env, nullptr, callback, 1, &result, &ret); in TriggerCallback()
275 napi_call_function(asyncContext->env, nullptr, callback, 1, &error, &ret); in TriggerCallback()
512 napi_call_function(context->env, nullptr, callback, 1, argv, &ret); in CallBackToJSTread()
516 napi_call_function(context->env, nullptr, callback, 0, nullptr, &ret); in CallBackToJSTread()
524 napi_call_function(context->env, nullptr, callback, 1, argv, &ret); in CallBackToJSTread()
528 napi_call_function(context->env, nullptr, callback, 0, nullptr, &ret); in CallBackToJSTread()
649 napi_call_function(env, nullptr, successFunc, 1, argv, &ret); in JSRouterDisableAlertBeforeBackPage()
653 napi_call_function(env, nullptr, completeFunc, 1, argv, &ret); in JSRouterDisableAlertBeforeBackPage()
682 napi_call_function(env, jsonValue, parseValue, 1, funcArgv, &result); in JSRouterGetParams()
/foundation/bundlemanager/bundle_framework/interfaces/kits/js/launchermgr/
Dbundle_status_callback.cpp100 napi_call_function( in OnBundleAdded()
149 napi_call_function( in OnBundleUpdated()
203 napi_call_function( in OnBundleRemoved()
/foundation/barrierfree/accessibility/interfaces/kits/napi/src/
Dnapi_accessibility_config_observer.cpp90 napi_call_function(callbackInfo->env_, undefined, handler, 1, &jsEvent, &callResult); in NotifyStateChanged()
125 napi_call_function(callbackInfo->env_, undefined, handler, 1, &jsEvent, &callResult); in NotifyPropertyChanged()
160 napi_call_function(callbackInfo->env_, undefined, handler, 1, &jsEvent, &callResult); in NotifyStringChanged()
200 napi_call_function(callbackInfo->env_, undefined, handler, 1, &jsEvent, &callResult); in NotifyIntChanged()
238 napi_call_function(callbackInfo->env_, undefined, handler, 1, &jsEvent, &callResult); in NotifyUintChanged()
276 napi_call_function(callbackInfo->env_, undefined, handler, 1, &jsEvent, &callResult); in NotifyFloatChanged()
/foundation/communication/bluetooth/frameworks/js/napi/src/hid/
Dnapi_bluetooth_hid_host_observer.cpp60napi_call_function(callbackInfo->env_, undefined, callback, ARGS_SIZE_ONE, &result, &callResult); in OnConnectionStateChanged()
/foundation/communication/bluetooth/frameworks/js/napi/src/pan/
Dnapi_bluetooth_pan_observer.cpp57napi_call_function(callbackInfo->env_, undefined, callback, ARGS_SIZE_ONE, &result, &callResult); in OnConnectionStateChanged()
/foundation/arkui/ace_engine/interfaces/napi/kits/grid/
Djs_grid.cpp41 napi_call_function(env, jsonValue, parseValue, 1, funcArgv, &result); in JSGridGetSystemLayoutInfo()
/foundation/distributeddatamgr/distributedfile/interfaces/kits/napi/file_share_ability/
Dfile_share_exporter.cpp69 napi_call_function(env, global, successFunc, count, &obj, &results); in CallBackSuccess()
85 napi_call_function(env, global, failFunc, COMMON_NUM::TWO, argvFail, &results); in CallBackError()
98 napi_call_function(env, global, completeFunc, COMMON_NUM::ZERO, nullptr, &results); in CallComplete()
/foundation/multimedia/player_framework/frameworks/js/avplayer/
Davplayer_callback.cpp56 status = napi_call_function(ref->env_, nullptr, jsCallback, 0, nullptr, &result); in UvWork()
92 status = napi_call_function(ref->env_, nullptr, jsCallback, 1, args, &result); in UvWork()
121 status = napi_call_function(ref->env_, nullptr, jsCallback, 1, args, &result); in UvWork()
152 status = napi_call_function(ref->env_, nullptr, jsCallback, argCount, args, &result); in UvWork()
188 status = napi_call_function(ref->env_, nullptr, jsCallback, 1, args, &result); in UvWork()
217 status = napi_call_function(ref->env_, nullptr, jsCallback, 1, args, &result); in UvWork()
247 status = napi_call_function(ref->env_, nullptr, jsCallback, 1, args, &result); in UvWork()
279 status = napi_call_function(ref->env_, nullptr, jsCallback, 1, args, &result); in UvWork()
312 status = napi_call_function(ref->env_, nullptr, jsCallback, argCount, args, &result); in UvWork()
385 status = napi_call_function(ref->env_, nullptr, jsCallback, argCount, args, &result); in UvWork()
[all …]
/foundation/multimedia/camera_framework/frameworks/js/camera_napi/src/input/
Dcamera_mute_listener_napi.cpp74 napi_call_function(env_, nullptr, callback, ARGS_TWO, result, &retVal); in OnCameraMuteCallback()
/foundation/multimedia/player_framework/frameworks/js/player/
Dplayer_callback_napi.cpp316 nstatus = napi_call_function(ref->env_, nullptr, jsCallback, 0, nullptr, &result); in OnJsCallBack()
380 nstatus = napi_call_function(ref->env_, nullptr, jsCallback, 1, args, &result); in OnJsCallBackError()
439 nstatus = napi_call_function(ref->env_, nullptr, jsCallback, 1, args, &result); in OnJsCallBackInt()
503 nstatus = napi_call_function(ref->env_, nullptr, jsCallback, argCount, args, &result); in OnJsCallBackIntVec()
561 nstatus = napi_call_function(ref->env_, nullptr, jsCallback, 1, args, &result); in OnJsCallBackIntArray()
621 nstatus = napi_call_function(ref->env_, nullptr, jsCallback, 1, args, &result); in OnJsCallBackInterrupt()
/foundation/distributeddatamgr/relational_store/frameworks/js/napi/rdb/src/
Dnapi_uv_queue.cpp73 … napi_status status = napi_call_function(queue->env_, global, callback, argc, argv, &result); in CallFunction()
/foundation/distributeddatamgr/relational_store/frameworks/js/napi/relationalstore/src/
Dnapi_uv_queue.cpp76 … napi_status status = napi_call_function(queue->env_, global, callback, argc, argv, &result); in CallFunction()
/foundation/multimedia/av_session/frameworks/js/napi/session/src/
Dnapi_async_callback.cpp65 napi_status status = napi_call_function(context->env, global, function, argc, argv, &result); in AfterWorkCallback()
/foundation/distributeddatamgr/data_share/frameworks/js/napi/dataShare/src/
Dnapi_datashare_inner_observer.cpp52 napi_status callStatus = napi_call_function(observer->env_, global, callback, 2, args, &result); in OnComplete()
/foundation/distributeddatamgr/preferences/frameworks/js/napi/common/src/
Duv_queue.cpp78 … napi_status status = napi_call_function(entry->env, global, method, argc, argv, &result); in AsyncCall()
/foundation/distributeddatamgr/kv_store/frameworks/jskitsimpl/distributedkvstore/src/
Duv_queue.cpp76 … napi_status status = napi_call_function(entry->env, global, method, argc, argv, &result); in AsyncCall()
/foundation/distributeddatamgr/kv_store/frameworks/jskitsimpl/distributeddata/src/
Duv_queue.cpp76 … napi_status status = napi_call_function(entry->env, global, method, argc, argv, &result); in AsyncCall()
/foundation/arkui/napi/sample/native_module_systemtest/
Djs_test_callback_scope_napi.cpp53 NAPI_CALL(env, napi_call_function(env, args[0], args[SCOPE_ARGC_TWO], 0, nullptr, &result)); in ScopeRunInCallback()
/foundation/multimedia/player_framework/frameworks/js/soundpool/src/
Dsoundpool_callback_napi.cpp180 nstatus = napi_call_function(ref->env_, nullptr, jsCallback, 1, args, &result); in OnJsErrorCallBack()
232 nstatus = napi_call_function(ref->env_, nullptr, jsCallback, argCount, args, &result); in OnJsloadCompletedCallBack()
282 nstatus = napi_call_function(ref->env_, nullptr, jsCallback, 0, nullptr, &result); in OnJsplayCompletedCallBack()

123456789