Home
last modified time | relevance | path

Searched defs:CommonAsyncContext (Results 1 – 4 of 4) sorted by relevance

/base/account/os_account/interfaces/kits/napi/common/include/
Dnapi_account_common.h35 struct CommonAsyncContext { struct
36 CommonAsyncContext() {}; in CommonAsyncContext() argument
37CommonAsyncContext(napi_env napiEnv, bool throwAble = false) : env(napiEnv), throwErr(throwAble) {… in env() argument
59 void ProcessCallbackOrPromise(napi_env env, const CommonAsyncContext *asyncContext, napi_value err,… argument
/base/security/dlp_permission_service/interfaces/kits/napi_common/include/
Dnapi_common.h76 struct CommonAsyncContext { struct
79 napi_env env = nullptr;
80 napi_status status = napi_invalid_arg;
81 int32_t errCode = 0;
82 napi_deferred deferred = nullptr; // promise handle
106 struct UnregisterSandboxChangeCallbackAsyncContext : public CommonAsyncContext { argument
/base/account/os_account/interfaces/kits/napi/appaccount/include/
Dnapi_app_account_common.h69 …AppAccountAsyncContext(napi_env napiEnv, bool isThrowable = false) : CommonAsyncContext(napiEnv, i… in CommonAsyncContext() function
90 OAuthAsyncContext(napi_env env, bool throwAble = false) : CommonAsyncContext(env, throwAble) {}; in CommonAsyncContext() function
108 …VerifyCredentialContext(napi_env env, bool throwAble = false) : CommonAsyncContext(env, throwAble)… in CommonAsyncContext() function
117 …SetPropertiesContext(napi_env env, bool throwAble = false) : CommonAsyncContext(env, throwAble) {}; in CommonAsyncContext() function
/base/security/dlp_permission_service/interfaces/kits/napi_common/src/
Dnapi_common.cpp411 CommonAsyncContext::CommonAsyncContext(napi_env napiEnv) in CommonAsyncContext() function in OHOS::Security::DlpPermission::CommonAsyncContext