Home
last modified time | relevance | path

Searched defs:env (Results 1 – 16 of 16) sorted by relevance

/test/xts/acts/arkui/ace_napi_test/entry/src/main/cpp/napi/
Dnapi_test.cpp30 static void add_returned_status(napi_env env, in add_returned_status()
58 static void add_last_status(napi_env env, const char* key, napi_value return_value) in add_last_status()
77 static napi_value getLastErrorInfo(napi_env env, napi_callback_info info) in getLastErrorInfo()
96 static napi_value cleanUpErrorInfo(napi_env env, napi_callback_info info) in cleanUpErrorInfo()
108 static napi_value throwExistingError(napi_env env, napi_callback_info info) in throwExistingError()
128 static napi_value throwError(napi_env env, napi_callback_info info) in throwError()
146 static napi_value throwTypeError(napi_env env, napi_callback_info info) in throwTypeError()
165 static napi_value throwRangeError(napi_env env, napi_callback_info info) in throwRangeError()
184 static napi_value isError(napi_env env, napi_callback_info info) in isError()
199 static napi_value createError(napi_env env, napi_callback_info info) in createError()
[all …]
Dtest_string.cpp23 static napi_value TestLatin1(napi_env env, napi_callback_info info) { in TestLatin1()
50 static napi_value Init(napi_env env, napi_value exports) { in Init()
/test/xts/acts/arkui/ace_ets_xcomponent/entry/src/main/cpp/
Dplugin_manager.cpp30 napi_value PluginManager::GetContext(napi_env env, napi_callback_info info) in GetContext()
91 bool PluginManager::Export(napi_env env, napi_value exports) in Export()
163 napi_value PluginManager::NapiOnCreate(napi_env env, napi_callback_info info) in NapiOnCreate()
172 napi_value PluginManager::NapiOnShow(napi_env env, napi_callback_info info) in NapiOnShow()
178 napi_value PluginManager::NapiOnHide(napi_env env, napi_callback_info info) in NapiOnHide()
184 napi_value PluginManager::NapiOnDestroy(napi_env env, napi_callback_info info) in NapiOnDestroy()
190 void PluginManager::OnCreateNative(napi_env env, uv_loop_t* loop) in OnCreateNative()
212 napi_value PluginManager::NapiOnPageShow(napi_env env, napi_callback_info info) in NapiOnPageShow()
218 napi_value PluginManager::NapiOnPageHide(napi_env env, napi_callback_info info) in NapiOnPageHide()
/test/xts/acts/arkui/ace_napi_test/entry/src/main/cpp/common/
Dnative_common.h24 #define GET_AND_THROW_LAST_ERROR(env) … argument
37 #define NAPI_ASSERT_BASE(env, assertion, message, retVal) \ argument
45 #define NAPI_ASSERT(env, assertion, message) NAPI_ASSERT_BASE(env, assertion, message, nullptr) argument
47 #define NAPI_ASSERT_RETURN_VOID(env, assertion, message) NAPI_ASSERT_BASE(env, assertion, message, … argument
49 #define NAPI_CALL_BASE(env, theCall, retVal) \ argument
57 #define NAPI_CALL(env, theCall) NAPI_CALL_BASE(env, theCall, nullptr) argument
59 #define NAPI_CALL_RETURN_VOID(env, theCall) NAPI_CALL_BASE(env, theCall, NAPI_RETVAL_NOTHING) argument
/test/xts/acts/arkui/ace_ets_xcomponent/entry/src/main/cpp/common/
Dnative_common.h24 #define GET_AND_THROW_LAST_ERROR(env) … argument
37 #define NAPI_ASSERT_BASE(env, assertion, message, retVal) \ argument
45 #define NAPI_ASSERT(env, assertion, message) NAPI_ASSERT_BASE(env, assertion, message, nullptr) argument
47 #define NAPI_ASSERT_RETURN_VOID(env, assertion, message) NAPI_ASSERT_BASE(env, assertion, message, … argument
49 #define NAPI_CALL_BASE(env, theCall, retVal) \ argument
57 #define NAPI_CALL(env, theCall) NAPI_CALL_BASE(env, theCall, nullptr) argument
59 #define NAPI_CALL_RETURN_VOID(env, theCall) NAPI_CALL_BASE(env, theCall, NAPI_RETVAL_NOTHING) argument
/test/xts/device_attest/interfaces/kits/napi/src/
Ddevattest_napi.cpp34 static napi_value GenerateDevAttestHandle(napi_env env, int32_t auth, int32_t software, string tick… in GenerateDevAttestHandle()
63 static napi_value GenerateBusinessError(napi_env env, int32_t code) in GenerateBusinessError()
84 static napi_value GenerateReturnValue(napi_env env, DevAttestAsyncContext* callback) in GenerateReturnValue()
97 static void Execute(napi_env env, void* data) in Execute()
113 static void Complete(napi_env env, napi_status status, void* data) in Complete()
143 napi_value DevAttestNapi::GetAttestResultInfo(napi_env env, napi_callback_info info) in GetAttestResultInfo()
194 napi_value DevAttestNapi::GetAttestResultInfoSync(napi_env env, napi_callback_info info) in GetAttestResultInfoSync()
207 napi_value DevAttestNapi::Init(napi_env env, napi_value exports) in Init()
218 static napi_value DevattestInit(napi_env env, napi_value exports) in DevattestInit()
/test/testfwk/arkxtest/uitest/napi/
Duitest_napi.cpp49 static string JsStrToCppStr(napi_env env, napi_value jsStr) in JsStrToCppStr()
66 static napi_value ScheduleEstablishConnection(napi_env env, napi_callback_info info) in ScheduleEstablishConnection()
96 static napi_value CreateJsException(napi_env env, uint32_t code, string_view msg) in CreateJsException()
107 …static napi_status MountJsConstructorToGlobal(napi_env env, string_view typeName, napi_value funct… in MountJsConstructorToGlobal()
118 …static napi_status GetJsConstructorFromGlobal(napi_env env, string_view typeName, napi_value *pFun… in GetJsConstructorFromGlobal()
129 …static napi_status ValueStringConvert(napi_env env, napi_value in, napi_value *out, bool stringify) in ValueStringConvert()
150 …static napi_status UnmarshalObject(napi_env env, const json &in, napi_value *pOut, napi_value jsTh… in UnmarshalObject()
195 …static napi_value UnmarshalReply(napi_env env, const TransactionContext &ctx, const ApiReplyInfo &… in UnmarshalReply()
225 napi_value TransactSync(napi_env env, TransactionContext &ctx) in TransactSync()
263 static napi_value TransactAsync(napi_env env, TransactionContext &ctx) in TransactAsync()
[all …]
/test/xts/acts/global/global_napi_test/entry/src/main/cpp/napi/
Dtest_string.cpp28 #define GET_PARAMS(env, info, num) \ argument
43 return [](napi_env env, void* data) { in TestRawFileExecute()
89 … asyncContext->createValueFunc_ = [](napi_env env, NdkAsyncContext &context) -> napi_value { in TestRawFileExecute()
92 [](napi_env env, void *data, void *hint) { in TestRawFileExecute()
112 auto completeFunc = [](napi_env env, napi_status status, void* data) { in __anonfdb96b820402()
160 napi_value GetResourceManager(napi_env env, napi_callback_info info) in GetResourceManager()
215 static napi_value Init(napi_env env, napi_value exports) in Init()
/test/xts/acts/hiviewdfx/hilogtest/hilogjstest/src/main/cpp/
Dhilogndk.cpp19 static napi_value OhIsLoggableTest(napi_env env, napi_callback_info info) in OhIsLoggableTest()
27 static napi_value OhPrintTest(napi_env env, napi_callback_info info) in OhPrintTest()
41 static napi_value Init(napi_env env, napi_value exports) in Init()
/test/xts/acts/multimedia/image/image_js_standard/image_ndk_test/entry/src/main/cpp/napi/
DimagePixelmap.cpp21 static napi_value TestGetImageInfo(napi_env env, napi_callback_info info) in TestGetImageInfo()
37 static napi_value TestAccessPixels(napi_env env, napi_callback_info info) in TestAccessPixels()
53 static napi_value TestUnAccessPixels(napi_env env, napi_callback_info info) in TestUnAccessPixels()
69 static napi_value Init(napi_env env, napi_value exports) in Init()
/test/xts/acts/arkui/ace_ets_xcomponent/entry/src/main/cpp/render/
Dplugin_render.cpp250 napi_value PluginRender::Export(napi_env env, napi_value exports) in Export()
292 napi_value PluginRender::NapiChangeShape(napi_env env, napi_callback_info info) in NapiChangeShape()
329 napi_value PluginRender::NapiDrawTriangle(napi_env env, napi_callback_info info) in NapiDrawTriangle()
366 napi_value PluginRender::NapiChangeColor(napi_env env, napi_callback_info info) in NapiChangeColor()
403 napi_value PluginRender::TestGetXComponentId(napi_env env, napi_callback_info info) in TestGetXComponentId()
430 napi_value PluginRender::TestOnSurfaceCreated(napi_env env, napi_callback_info info) in TestOnSurfaceCreated()
441 napi_value PluginRender::TestGetXComponentSize_Height(napi_env env, napi_callback_info info) in TestGetXComponentSize_Height()
450 napi_value PluginRender::TestGetXComponentSize_Width(napi_env env, napi_callback_info info) in TestGetXComponentSize_Width()
459 napi_value PluginRender::TestGetXComponentOffset_x(napi_env env, napi_callback_info info) in TestGetXComponentOffset_x()
470 napi_value PluginRender::TestGetXComponentOffset_y(napi_env env, napi_callback_info info) in TestGetXComponentOffset_y()
[all …]
/test/xts/acts/bundlemanager/bundle_standard/bundlemanager/actsbundlenativetest/entry/src/main/cpp/
Dbundlendk.cpp22 static napi_value GetCurrentApplicationInfo(napi_env env, napi_callback_info info) in GetCurrentApplicationInfo()
37 static napi_value Init(napi_env env, napi_value exports) in Init()
/test/xts/device_attest/interfaces/kits/napi/include/
Ddevattest_napi.h26 #define DEVICE_ATTEST_NAPI_RETURN_UNDEF(env, errCode) \ argument
/test/xts/acts/arkui/ace_ets_xcomponent/entry/src/main/cpp/napi/
Dnapi_init.cpp22 static napi_value Init(napi_env env, napi_value exports) in Init()
/test/xts/acts/kernel_lite/dyload_posix/
DExecApiTest.cpp87 char *env[] = {"NAME=Bob", NULL}; variable
/test/testfwk/xdevice/src/xdevice/_core/config/
Dconfig_manager.py37 def __init__(self, config_file="", env=""): argument