Home
last modified time | relevance | path

Searched refs:callbackRef (Results 1 – 3 of 3) sorted by relevance

/test/xts/device_attest/interfaces/kits/napi/src/
Ddevattest_napi.cpp27 napi_ref callbackRef = nullptr; // 用于callback模式 member
120 if (callback->callbackRef != nullptr) { // callback模式 in Complete()
123 napi_get_reference_value(env, callback->callbackRef, &callbackfunc); in Complete()
127 napi_delete_reference(env, callback->callbackRef); in Complete()
168 napi_create_reference(env, argv[0], 1, &callback->callbackRef); in GetAttestResultInfo()
173 if (!callback->callbackRef) { in GetAttestResultInfo()
/test/testfwk/arkxtest/uitest/napi/
Dui_event_observer_napi.cpp84 napi_ref callbackRef; member
124 ctx.callbackRef = findCallback->second; in InitCallbackContext()
156 napi_get_reference_value(ctx->env, ctx->callbackRef, &jsCallback); in HandleEventCallback()
171 napi_delete_reference(ctx->env, ctx->callbackRef); in HandleEventCallback()
/test/testfwk/arkxtest/uitest/core/
Dfrontend_api_handler.cpp81 const auto &callbackRef = find->second.second; in OnEvent() local
87 in.paramList_.push_back(callbackRef); in OnEvent()
89 in.paramList_.push_back(DecAndGetRef(callbackRef) == 0); in OnEvent()