Home
last modified time | relevance | path

Searched refs:deferred (Results 1 – 18 of 18) sorted by relevance

/test/xts/device_attest/interfaces/kits/napi/src/
Ddevattest_napi.cpp28 napi_deferred deferred; // 用于promise模式 member
130 napi_resolve_deferred(env, callback->deferred, result[1]); in Complete()
132 napi_reject_deferred(env, callback->deferred, result[0]); in Complete()
174 napi_create_promise(env, &callback->deferred, &promise); in GetAttestResultInfo()
/test/xts/acts/commonlibrary/thirdparty/musl/entry/src/main/cpp/common/
Dnapi_helper.cpp83 napi_value NapiHelper::CreatePromise(napi_env env, napi_deferred *deferred) in CreatePromise() argument
86 napi_create_promise(env, deferred, &promise); in CreatePromise()
Dnapi_helper.h47 static napi_value CreatePromise(napi_env env, napi_deferred *deferred);
/test/xts/acts/ai/nnrtndk/entry/src/main/cpp/common/
Dnapi_helper.cpp83 napi_value NapiHelper::CreatePromise(napi_env env, napi_deferred *deferred) in CreatePromise() argument
86 napi_create_promise(env, deferred, &promise); in CreatePromise()
Dnapi_helper.h47 static napi_value CreatePromise(napi_env env, napi_deferred *deferred);
/test/xts/acts/graphic/nativeimage/entry/src/main/cpp/common/
Dnapi_helper.cpp83 napi_value NapiHelper::CreatePromise(napi_env env, napi_deferred *deferred) in CreatePromise() argument
86 napi_create_promise(env, deferred, &promise); in CreatePromise()
Dnapi_helper.h47 static napi_value CreatePromise(napi_env env, napi_deferred *deferred);
/test/xts/acts/graphic/graphicEGL/entry/src/main/cpp/common/
Dnapi_helper.cpp83 napi_value NapiHelper::CreatePromise(napi_env env, napi_deferred *deferred) in CreatePromise() argument
86 napi_create_promise(env, deferred, &promise); in CreatePromise()
Dnapi_helper.h47 static napi_value CreatePromise(napi_env env, napi_deferred *deferred);
/test/xts/acts/graphic/nativedrawing/entry/src/main/cpp/common/
Dnapi_helper.cpp83 napi_value NapiHelper::CreatePromise(napi_env env, napi_deferred *deferred) in CreatePromise() argument
86 napi_create_promise(env, deferred, &promise); in CreatePromise()
Dnapi_helper.h47 static napi_value CreatePromise(napi_env env, napi_deferred *deferred);
/test/xts/acts/startup/startup_standard/init_ndkTest/entry/src/main/cpp/common/
Dnapi_helper.cpp83 napi_value NapiHelper::CreatePromise(napi_env env, napi_deferred *deferred) in CreatePromise() argument
86 napi_create_promise(env, deferred, &promise); in CreatePromise()
Dnapi_helper.h45 static napi_value CreatePromise(napi_env env, napi_deferred *deferred);
/test/xts/acts/commonlibrary/thirdparty/musl32/entry/src/main/cpp/common/
Dnapi_helper.cpp83 napi_value NapiHelper::CreatePromise(napi_env env, napi_deferred *deferred) in CreatePromise() argument
86 napi_create_promise(env, deferred, &promise); in CreatePromise()
Dnapi_helper.h47 static napi_value CreatePromise(napi_env env, napi_deferred *deferred);
/test/xts/acts/security/huks_ndk_Test/entry/src/main/cpp/
Dhuksndk.cpp43 napi_deferred deferred = nullptr; member
54 napi_resolve_deferred(env, addonData->deferred, result); in resultAsyncWork()
190 napi_deferred deferred = nullptr; in OHHuksExportPublicKeyItem() local
191 napi_create_promise(env, &deferred, &promise); in OHHuksExportPublicKeyItem()
195 .deferred = deferred, in OHHuksExportPublicKeyItem()
262 napi_deferred deferred = nullptr; in OHHuksImportKeyItem() local
263 napi_create_promise(env, &deferred, &promise); in OHHuksImportKeyItem()
267 .deferred = deferred, in OHHuksImportKeyItem()
/test/xts/acts/arkui/ace_napi_test/entry/src/main/cpp/napi/
Dnapi_test.cpp80 napi_deferred deferred = nullptr; member
89 napi_deferred deferred = nullptr; member
1899 napi_deferred deferred = nullptr; in createPromise() local
1901 napi_create_promise(env, &deferred, &promise); in createPromise()
1902 NAPI_ASSERT(env, deferred != nullptr, "create promise success"); in createPromise()
1912 napi_deferred deferred = nullptr; in resolveAndRejectDeferred() local
1914 NAPI_CALL(env, napi_create_promise(env, &deferred, &promise)); in resolveAndRejectDeferred()
1921 NAPI_CALL(env, napi_resolve_deferred(env, deferred, undefined)); in resolveAndRejectDeferred()
1930 napi_deferred deferred = nullptr; in isPromise() local
1932 NAPI_CALL(env, napi_create_promise(env, &deferred, &promise)); in isPromise()
[all …]
/test/xts/acts/commonlibrary/ark_runtime/ark_runtime_jsvm_test/entry/src/main/cpp/napi/
Dnapi_test.cpp2279 static JSVM_Deferred deferred = nullptr; variable
2319 OH_JSVM_CreatePromise(env, &deferred, &promise); in testOthers()
2437 JSVM_Deferred deferred = nullptr; in test() local
2438 OH_JSVM_ResolveDeferred(env, deferred,value); in test()
2439 OH_JSVM_RejectDeferred(env, deferred, value); in test()
7000 JSVM_Deferred deferred = nullptr; in ResolveRejectDeferred() local
7002 JSVM_Status createStatus = OH_JSVM_CreatePromise(env, &deferred, &promise); in ResolveRejectDeferred()
7007 OH_JSVM_ResolveDeferred(env, deferred, args[0]); in ResolveRejectDeferred()
7009 OH_JSVM_RejectDeferred(env, deferred, args[1]); in ResolveRejectDeferred()