Home
last modified time | relevance | path

Searched refs:cbInfo (Results 1 – 25 of 34) sorted by relevance

12

/base/account/os_account/interfaces/kits/napi/appaccount/include/
Dnapi_app_account.h29 static napi_value CreateAppAccountManager(napi_env env, napi_callback_info cbInfo);
30 static napi_value AddAccount(napi_env env, napi_callback_info cbInfo);
31 static napi_value AddAccountImplicitly(napi_env env, napi_callback_info cbInfo);
32 static napi_value DeleteAccount(napi_env env, napi_callback_info cbInfo);
33 static napi_value DisableAppAccess(napi_env env, napi_callback_info cbInfo);
34 static napi_value EnableAppAccess(napi_env env, napi_callback_info cbInfo);
35 static napi_value CheckAppAccountSyncEnable(napi_env env, napi_callback_info cbInfo);
36 static napi_value SetAccountCredential(napi_env env, napi_callback_info cbInfo);
37 static napi_value SetAccountExtraInfo(napi_env env, napi_callback_info cbInfo);
38 static napi_value SetAppAccountSyncEnable(napi_env env, napi_callback_info cbInfo);
[all …]
Dnapi_app_account_authenticator_callback.h34 static napi_value JsOnResult(napi_env env, napi_callback_info cbInfo);
35 static napi_value JsOnRequestRedirected(napi_env env, napi_callback_info cbInfo);
36 static napi_value JsOnRequestContinued(napi_env env, napi_callback_info cbInfo);
Dnapi_app_account_common.h274 bool ParseContextWithExInfo(napi_env env, napi_callback_info cbInfo, AppAccountAsyncContext *asyncC…
276 bool ParseContextForAuth(napi_env env, napi_callback_info cbInfo, OAuthAsyncContext *asyncContext);
278 void ParseContextForAuthenticate(napi_env env, napi_callback_info cbInfo, OAuthAsyncContext *asyncC…
280 bool ParseContextForOAuth(napi_env env, napi_callback_info cbInfo,
283 bool ParseContextForAppAccount(napi_env env, napi_callback_info cbInfo,
286 bool ParseContextCBArray(napi_env env, napi_callback_info cbInfo, GetAccountsAsyncContext *asyncCon…
288 bool ParseContextWithStrCBArray(napi_env env, napi_callback_info cbInfo, GetAccountsAsyncContext *a…
290 bool ParseContextForCreateAccount(napi_env env, napi_callback_info cbInfo, CreateAccountContext *co…
293 napi_env env, napi_callback_info cbInfo, CreateAccountImplicitlyContext *context);
295 bool ParseParametersBySubscribe(const napi_env &env, napi_callback_info cbInfo, AsyncContextForSubs…
[all …]
Dnapi_account_capability_scheduler.h111 static napi_value JsConstructor(napi_env env, napi_callback_info cbInfo);
112 static napi_value ExecuteRequest(napi_env env, napi_callback_info cbInfo);
113 static napi_value SetPresentationContext(napi_env env, napi_callback_info cbInfo);
/base/account/os_account/interfaces/kits/napi/osaccount/include/
Dnapi_os_account.h212 napi_value GetAccountManager(napi_env env, napi_callback_info cbInfo);
216 napi_value QueryOsAccountById(napi_env env, napi_callback_info cbInfo);
218 napi_value RemoveOsAccount(napi_env env, napi_callback_info cbInfo);
220 napi_value SetOsAccountName(napi_env env, napi_callback_info cbInfo);
222 napi_value SetOsAccountConstraints(napi_env env, napi_callback_info cbInfo);
224 napi_value ActivateOsAccount(napi_env env, napi_callback_info cbInfo);
226 napi_value CreateOsAccount(napi_env env, napi_callback_info cbInfo);
228 napi_value CreateOsAccountForDomain(napi_env env, napi_callback_info cbInfo);
230 napi_value GetOsAccountCount(napi_env env, napi_callback_info cbInfo);
232 napi_value GetCreatedOsAccountsCount(napi_env env, napi_callback_info cbInfo);
[all …]
Dnapi_os_account_common.h54 bool ParseParaQueryOAByIdCB(napi_env env, napi_callback_info cbInfo, QueryOAByIdAsyncContext *async…
64 bool ParseParaRemoveOACB(napi_env env, napi_callback_info cbInfo, RemoveOAAsyncContext *asyncContex…
70 bool ParseParaSetOAName(napi_env env, napi_callback_info cbInfo, SetOANameAsyncContext *asyncContex…
76 bool ParseParaSetOAConstraints(napi_env env, napi_callback_info cbInfo, SetOAConsAsyncContext *asyn…
82 bool ParseParaActiveOA(napi_env env, napi_callback_info cbInfo, ActivateOAAsyncContext *asyncContex…
88 bool ParseParaCreateOA(napi_env env, napi_callback_info cbInfo, CreateOAAsyncContext *asyncContext);
90 bool ParseParaCreateOAForDomain(napi_env env, napi_callback_info cbInfo,
103 bool ParseParaGetOACount(napi_env env, napi_callback_info cbInfo, GetOACountAsyncContext *asyncCont…
109 bool ParseParaDbDeviceId(napi_env env, napi_callback_info cbInfo, DbDeviceIdAsyncContext *asyncCont…
115 bool ParseParaGetAllCons(napi_env env, napi_callback_info cbInfo, GetAllConsAsyncContext *asyncCont…
[all …]
/base/security/dlp_permission_service/interfaces/kits/dlp_permission/napi/include/
Dnapi_dlp_permission.h38 static napi_value DlpFile(napi_env env, napi_callback_info cbInfo);
43 static napi_value GenerateDlpFile(napi_env env, napi_callback_info cbInfo);
47 static napi_value OpenDlpFile(napi_env env, napi_callback_info cbInfo);
51 static napi_value IsDlpFile(napi_env env, napi_callback_info cbInfo);
55 static napi_value AddDlpLinkFile(napi_env env, napi_callback_info cbInfo);
59 static napi_value StopDlpLinkFile(napi_env env, napi_callback_info cbInfo);
63 static napi_value ReplaceDlpLinkFile(napi_env env, napi_callback_info cbInfo);
67 static napi_value RestartDlpLinkFile(napi_env env, napi_callback_info cbInfo);
71 static napi_value DeleteDlpLinkFile(napi_env env, napi_callback_info cbInfo);
75 static napi_value RecoverDlpFile(napi_env env, napi_callback_info cbInfo);
[all …]
/base/account/os_account/interfaces/kits/napi/osaccount/src/
Dnapi_os_account.cpp138 napi_value GetAccountManager(napi_env env, napi_callback_info cbInfo) in GetAccountManager() argument
182 napi_value QueryOsAccountById(napi_env env, napi_callback_info cbInfo) in QueryOsAccountById() argument
188 if (!ParseParaQueryOAByIdCB(env, cbInfo, queryOAByIdCB.get())) { in QueryOsAccountById()
215 napi_value RemoveOsAccount(napi_env env, napi_callback_info cbInfo) in RemoveOsAccount() argument
221 if (!ParseParaRemoveOACB(env, cbInfo, removeOACB.get())) { in RemoveOsAccount()
243 napi_value SetOsAccountName(napi_env env, napi_callback_info cbInfo) in SetOsAccountName() argument
249 if (!ParseParaSetOAName(env, cbInfo, setOANameCB.get())) { in SetOsAccountName()
276 napi_value SetOsAccountConstraints(napi_env env, napi_callback_info cbInfo) in SetOsAccountConstraints() argument
282 if (!ParseParaSetOAConstraints(env, cbInfo, setOAConsCB.get())) { in SetOsAccountConstraints()
309 napi_value ActivateOsAccount(napi_env env, napi_callback_info cbInfo) in ActivateOsAccount() argument
[all …]
Dnapi_os_account_common.cpp77 static bool ParseOneParaContext(napi_env env, napi_callback_info cbInfo, CommonAsyncContext *asyncC… in ParseOneParaContext() argument
81 napi_get_cb_info(env, cbInfo, &argc, argv, nullptr, nullptr); in ParseOneParaContext()
93 bool ParseCallbackAndId(napi_env env, napi_callback_info cbInfo, napi_ref &callbackRef, int &id, bo… in ParseCallbackAndId() argument
97 napi_get_cb_info(env, cbInfo, &argc, argv, nullptr, nullptr); in ParseCallbackAndId()
116 bool ParseParaQueryOAByIdCB(napi_env env, napi_callback_info cbInfo, QueryOAByIdAsyncContext *async… in ParseParaQueryOAByIdCB() argument
118 …return ParseCallbackAndId(env, cbInfo, asyncContext->callbackRef, asyncContext->id, asyncContext->… in ParseParaQueryOAByIdCB()
269 bool ParseParaRemoveOACB(napi_env env, napi_callback_info cbInfo, RemoveOAAsyncContext *asyncContex… in ParseParaRemoveOACB() argument
271 …return ParseCallbackAndId(env, cbInfo, asyncContext->callbackRef, asyncContext->id, asyncContext->… in ParseParaRemoveOACB()
299 bool ParseParaSetOAName(napi_env env, napi_callback_info cbInfo, SetOANameAsyncContext *asyncContex… in ParseParaSetOAName() argument
303 napi_get_cb_info(env, cbInfo, &argc, argv, nullptr, nullptr); in ParseParaSetOAName()
[all …]
/base/account/os_account/interfaces/kits/napi/distributedaccount/include/
Dnapi_distributed_account.h49 static napi_value GetDistributedAccountAbility(napi_env env, napi_callback_info cbInfo);
51 static napi_value QueryOsAccountDistributedInfo(napi_env env, napi_callback_info cbInfo);
52 static napi_value GetOsAccountDistributedInfo(napi_env env, napi_callback_info cbInfo);
53 static napi_value QueryOhosAccountInfo(napi_env env, napi_callback_info cbInfo, bool throwErr);
55 static napi_value UpdateOsAccountDistributedInfo(napi_env env, napi_callback_info cbInfo);
56 static napi_value SetOsAccountDistributedInfo(napi_env env, napi_callback_info cbInfo);
57 static napi_value UpdateOhosAccountInfo(napi_env env, napi_callback_info cbInfo, bool throwErr);
/base/account/os_account/interfaces/kits/napi/appaccount/src/
Dnapi_app_account.cpp126 napi_value NapiAppAccount::JsConstructor(napi_env env, napi_callback_info cbInfo) in JsConstructor() argument
129 NAPI_CALL(env, napi_get_cb_info(env, cbInfo, nullptr, nullptr, &thisVar, nullptr)); in JsConstructor()
133 napi_value NapiAppAccount::CreateAppAccountManager(napi_env env, napi_callback_info cbInfo) in CreateAppAccountManager() argument
163 napi_value NapiAppAccount::AddAccount(napi_env env, napi_callback_info cbInfo) in AddAccount() argument
166 ParseContextWithExInfo(env, cbInfo, asyncContext.get()); in AddAccount()
195 napi_value NapiAppAccount::CreateAccount(napi_env env, napi_callback_info cbInfo) in CreateAccount() argument
198 if (!ParseContextForCreateAccount(env, cbInfo, context.get())) { in CreateAccount()
226 napi_value NapiAppAccount::CreateAccountImplicitly(napi_env env, napi_callback_info cbInfo) in CreateAccountImplicitly() argument
229 if (!ParseContextForCreateAccountImplicitly(env, cbInfo, context.get())) { in CreateAccountImplicitly()
260 napi_value NapiAppAccount::AddAccountImplicitly(napi_env env, napi_callback_info cbInfo) in AddAccountImplicitly() argument
[all …]
Dnapi_app_account_authenticator_callback.cpp70 static void ParseContextForOnResult(napi_env env, napi_callback_info cbInfo, CallbackParam *param) in ParseContextForOnResult() argument
75 napi_get_cb_info(env, cbInfo, &argc, argv, &thisVar, nullptr); in ParseContextForOnResult()
93 static void ParseContextForRequestRedirected(napi_env env, napi_callback_info cbInfo, CallbackParam… in ParseContextForRequestRedirected() argument
98 napi_get_cb_info(env, cbInfo, &argc, argv, &thisVar, nullptr); in ParseContextForRequestRedirected()
120 napi_value NapiAppAccountAuthenticatorCallback::JsOnResult(napi_env env, napi_callback_info cbInfo) in JsOnResult() argument
128 ParseContextForOnResult(env, cbInfo, param); in JsOnResult()
153 …NapiAppAccountAuthenticatorCallback::JsOnRequestRedirected(napi_env env, napi_callback_info cbInfo) in JsOnRequestRedirected() argument
161 ParseContextForRequestRedirected(env, cbInfo, param); in JsOnRequestRedirected()
184 … NapiAppAccountAuthenticatorCallback::JsOnRequestContinued(napi_env env, napi_callback_info cbInfo) in JsOnRequestContinued() argument
192 napi_get_cb_info(env, cbInfo, nullptr, nullptr, &thisVar, nullptr); in JsOnRequestContinued()
Dnapi_app_account_authorization_extension.cpp97 static bool GetExtentionCallbackCommonParam(napi_env env, napi_callback_info cbInfo, in GetExtentionCallbackCommonParam() argument
103 NAPI_CALL_BASE(env, napi_get_cb_info(env, cbInfo, &argc, argv, nullptr, &data), false); in GetExtentionCallbackCommonParam()
123 static bool GetRequestRedirectedParam(napi_env env, napi_callback_info cbInfo, in GetRequestRedirectedParam() argument
129 NAPI_CALL_BASE(env, napi_get_cb_info(env, cbInfo, &argc, argv, nullptr, &data), false); in GetRequestRedirectedParam()
204 static napi_value OnRequestRedirected(napi_env env, napi_callback_info cbInfo) in OnRequestRedirected() argument
208 if (!GetRequestRedirectedParam(env, cbInfo, &param, &businessData)) { in OnRequestRedirected()
223 static napi_value OnResultCallback(napi_env env, napi_callback_info cbInfo) in OnResultCallback() argument
228 if (!GetExtentionCallbackCommonParam(env, cbInfo, &param, error, &businessData)) { in OnResultCallback()
Dnapi_app_account_common.cpp474 bool ParseContextWithExInfo(napi_env env, napi_callback_info cbInfo, AppAccountAsyncContext *asyncC… in ParseContextWithExInfo() argument
478 napi_get_cb_info(env, cbInfo, &argc, argv, nullptr, nullptr); in ParseContextWithExInfo()
518 bool ParseContextForAuth(napi_env env, napi_callback_info cbInfo, OAuthAsyncContext *context) in ParseContextForAuth() argument
525 napi_get_cb_info(env, cbInfo, &argc, argv, nullptr, nullptr); in ParseContextForAuth()
567 void ParseContextForAuthenticate(napi_env env, napi_callback_info cbInfo, OAuthAsyncContext *asyncC… in ParseContextForAuthenticate() argument
571 napi_get_cb_info(env, cbInfo, &argc, argv, &thisVar, nullptr); in ParseContextForAuthenticate()
631 bool ParseContextForOAuth(napi_env env, napi_callback_info cbInfo, in ParseContextForOAuth() argument
638 napi_get_cb_info(env, cbInfo, &argc, argv, nullptr, nullptr); in ParseContextForOAuth()
700 bool ParseContextForAppAccount(napi_env env, napi_callback_info cbInfo, in ParseContextForAppAccount() argument
706 napi_get_cb_info(env, cbInfo, &argc, argv, nullptr, nullptr); in ParseContextForAppAccount()
[all …]
Dnapi_account_capability_scheduler.cpp783 napi_value NapiAccountCapabilityScheduler::JsConstructor(napi_env env, napi_callback_info cbInfo) in JsConstructor() argument
786 NAPI_CALL(env, napi_get_cb_info(env, cbInfo, nullptr, nullptr, &thisVar, nullptr)); in JsConstructor()
856 napi_env env, napi_callback_info cbInfo, ExecuteRequestAsyncContext *asyncContext) in ParseParamForExecuteRequest() argument
860 napi_get_cb_info(env, cbInfo, &argc, argv, &(asyncContext->thisVar), nullptr); in ParseParamForExecuteRequest()
922 napi_value NapiAccountCapabilityScheduler::ExecuteRequest(napi_env env, napi_callback_info cbInfo) in ExecuteRequest() argument
926 … env, ParseParamForExecuteRequest(env, cbInfo, executeRequestCB.get()), "parse params failed"); in ExecuteRequest()
973 static bool ParseParamForSetUIContext(napi_env env, napi_callback_info cbInfo) in ParseParamForSetUIContext() argument
978 if (napi_get_cb_info(env, cbInfo, &argc, argv, &thisVar, nullptr) != napi_ok) { in ParseParamForSetUIContext()
1003 …lue NapiAccountCapabilityScheduler::SetPresentationContext(napi_env env, napi_callback_info cbInfo) in SetPresentationContext() argument
1005 RETURN_IF_NEED_THROW_ERROR(env, ParseParamForSetUIContext(env, cbInfo), "parse params failed"); in SetPresentationContext()
/base/telephony/sms_mms/services/sms/gsm/
Dgsm_sms_cb_handler.cpp75 SmsCbInfo &cbInfo = cbMsgList_[i]; in CheckCbMessage() local
76 if (*cbInfo.header.get() == *cbHeader.get()) { in CheckCbMessage()
77 int updateNum = cbHeader->serialNum.updateNum - cbInfo.header->serialNum.updateNum; in CheckCbMessage()
82 if (cbInfo.cbMsgs.count(cbHeader->page)) { in CheckCbMessage()
86 cbInfo.cbMsgs.insert(std::make_pair(cbHeader->page, cbMessage)); in CheckCbMessage()
87 currPageCnt = cbInfo.cbMsgs.size(); in CheckCbMessage()
103 std::unique_ptr<SmsCbInfo> cbInfo = nullptr; in FindCbMessage() local
106 return cbInfo; in FindCbMessage()
112 return cbInfo; in FindCbMessage()
118 cbInfo = std::make_unique<SmsCbInfo>(info.header, info.cbMsgs); in FindCbMessage()
[all …]
/base/security/device_security_level/services/dslm/
Ddslm_fsm_process.c43 …nfoChecker(const DslmDeviceInfo *devInfo, const DslmNotifyListNode *node, DslmCallbackInfo *cbInfo,
46 …outChecker(const DslmDeviceInfo *devInfo, const DslmNotifyListNode *node, DslmCallbackInfo *cbInfo,
48 …oneChecker(const DslmDeviceInfo *devInfo, const DslmNotifyListNode *node, DslmCallbackInfo *cbInfo,
151 DslmCallbackInfo cbInfo; in ProcessSendDeviceInfoCallback() local
152 bool check = checker(info, notifyNode, &cbInfo, &result); in ProcessSendDeviceInfoCallback()
157 result, info->machine.machineId, cbInfo.level); in ProcessSendDeviceInfoCallback()
159 notifyNode->requestCallback(notifyNode->owner, notifyNode->cookie, result, &cbInfo); in ProcessSendDeviceInfoCallback()
312 …outChecker(const DslmDeviceInfo *devInfo, const DslmNotifyListNode *node, DslmCallbackInfo *cbInfo, in SdkTimeoutChecker() argument
324 cbInfo->level = 0; in SdkTimeoutChecker()
325 cbInfo->extraLen = 0; in SdkTimeoutChecker()
[all …]
/base/account/os_account/interfaces/kits/napi/domain_account/include/
Dnapi_domain_account_manager.h162 static napi_value JsConstructor(napi_env env, napi_callback_info cbInfo);
163 static napi_value RegisterPlugin(napi_env env, napi_callback_info cbInfo);
164 static napi_value UnregisterPlugin(napi_env env, napi_callback_info cbInfo);
165 static napi_value Auth(napi_env env, napi_callback_info cbInfo);
166 static napi_value AuthWithPopup(napi_env env, napi_callback_info cbInfo);
167 static napi_value HasAccount(napi_env env, napi_callback_info cbInfo);
168 static napi_value UpdateAccountToken(napi_env env, napi_callback_info cbInfo);
169 static napi_value GetAccessToken(napi_env env, napi_callback_info cbInfo);
170 static napi_value GetDomainAccountInfo(napi_env env, napi_callback_info cbInfo);
Dnapi_domain_auth_callback.h34 static napi_value JsOnResult(napi_env env, napi_callback_info cbInfo);
35 static napi_value JsConstructor(napi_env env, napi_callback_info cbInfo);
/base/security/dlp_permission_service/interfaces/kits/dlp_permission/napi/src/
Dnapi_dlp_permission.cpp77 napi_value NapiDlpPermission::GenerateDlpFile(napi_env env, napi_callback_info cbInfo) in GenerateDlpFile() argument
89 if (!GetGenerateDlpFileParams(env, cbInfo, *asyncContext)) { in GenerateDlpFile()
153 napi_value NapiDlpPermission::OpenDlpFile(napi_env env, napi_callback_info cbInfo) in OpenDlpFile() argument
165 if (!GetOpenDlpFileParams(env, cbInfo, *asyncContext)) { in OpenDlpFile()
271 napi_value NapiDlpPermission::IsDlpFile(napi_env env, napi_callback_info cbInfo) in IsDlpFile() argument
280 if (!GetIsDlpFileParams(env, cbInfo, *asyncContext)) { in IsDlpFile()
332 napi_value NapiDlpPermission::AddDlpLinkFile(napi_env env, napi_callback_info cbInfo) in AddDlpLinkFile() argument
347 if (!GetDlpLinkFileParams(env, cbInfo, *asyncContext)) { in AddDlpLinkFile()
396 napi_value NapiDlpPermission::StopDlpLinkFile(napi_env env, napi_callback_info cbInfo) in StopDlpLinkFile() argument
411 if (!GetLinkFileStatusParams(env, cbInfo, *asyncContext)) { in StopDlpLinkFile()
[all …]
/base/account/os_account/interfaces/kits/napi/distributedaccount/src/
Dnapi_distributed_account.cpp77 napi_env env, napi_callback_info cbInfo, DistributedAccountAsyncContext *asyncContext) in ParseQueryOhosAccountInfoAsyncContext() argument
81 napi_get_cb_info(env, cbInfo, &argc, argv, nullptr, nullptr); in ParseQueryOhosAccountInfoAsyncContext()
203 napi_env env, napi_callback_info cbInfo, DistributedAccountAsyncContext *asyncContext) in ParseUpdateOhosAccountInfoAsyncContext() argument
207 napi_get_cb_info(env, cbInfo, &argc, argv, nullptr, nullptr); in ParseUpdateOhosAccountInfoAsyncContext()
325 …value NapiDistributedAccount::GetDistributedAccountAbility(napi_env env, napi_callback_info cbInfo) in GetDistributedAccountAbility() argument
340 …alue NapiDistributedAccount::QueryOsAccountDistributedInfo(napi_env env, napi_callback_info cbInfo) in QueryOsAccountDistributedInfo() argument
342 return QueryOhosAccountInfo(env, cbInfo, false); in QueryOsAccountDistributedInfo()
345 …_value NapiDistributedAccount::GetOsAccountDistributedInfo(napi_env env, napi_callback_info cbInfo) in GetOsAccountDistributedInfo() argument
347 return QueryOhosAccountInfo(env, cbInfo, true); in GetOsAccountDistributedInfo()
379 napi_value NapiDistributedAccount::QueryOhosAccountInfo(napi_env env, napi_callback_info cbInfo, bo… in QueryOhosAccountInfo() argument
[all …]
/base/account/os_account/interfaces/kits/napi/domain_account/src/
Dnapi_domain_account_manager.cpp78 static bool GetPluginCallbackCommonParam(napi_env env, napi_callback_info cbInfo, in GetPluginCallbackCommonParam() argument
84 NAPI_CALL_BASE(env, napi_get_cb_info(env, cbInfo, &argc, argv, nullptr, &data), false); in GetPluginCallbackCommonParam()
220 napi_env env, napi_callback_info cbInfo, UpdateAccountTokenAsyncContext *asyncContext) in ParseParamForUpdateAccountToken() argument
224 napi_get_cb_info(env, cbInfo, &argc, argv, nullptr, nullptr); in ParseParamForUpdateAccountToken()
247 napi_env env, napi_callback_info cbInfo, GetAccessTokenAsyncContext *asyncContext) in ParseParamForGetAccessToken() argument
251 napi_get_cb_info(env, cbInfo, &argc, argv, nullptr, nullptr); in ParseParamForGetAccessToken()
273 static napi_value GetDomainAccountInfoCallback(napi_env env, napi_callback_info cbInfo) in GetDomainAccountInfoCallback() argument
278 if (!GetPluginCallbackCommonParam(env, cbInfo, &param, error, &businessData)) { in GetDomainAccountInfoCallback()
342 static napi_value OnAccountBoundCallback(napi_env env, napi_callback_info cbInfo) in OnAccountBoundCallback() argument
347 if (!GetPluginCallbackCommonParam(env, cbInfo, &param, error, &businessData)) { in OnAccountBoundCallback()
[all …]
Dnapi_domain_auth_callback.cpp104 static bool ParseContextForOnResult(napi_env env, napi_callback_info cbInfo, CallbackParam *param) in ParseContextForOnResult() argument
109 napi_get_cb_info(env, cbInfo, &argc, argv, &thisVar, nullptr); in ParseContextForOnResult()
125 napi_value NapiDomainAuthCallback::JsOnResult(napi_env env, napi_callback_info cbInfo) in JsOnResult() argument
133 if (!ParseContextForOnResult(env, cbInfo, param)) { in JsOnResult()
/base/security/access_token/interfaces/kits/privacy/napi/include/
Dpermission_record_manager_napi.h54 napi_value RegisterPermActiveChangeCallback(napi_env env, napi_callback_info cbInfo);
55 napi_value UnregisterPermActiveChangeCallback(napi_env env, napi_callback_info cbInfo);
/base/security/access_token/interfaces/kits/accesstoken/napi/include/
Dnapi_atmanager.h149 static napi_value CreateAtManager(napi_env env, napi_callback_info cbInfo);
177 static bool ParseInputToRegister(const napi_env env, const napi_callback_info cbInfo,
179 static napi_value RegisterPermStateChangeCallback(napi_env env, napi_callback_info cbInfo);
181 static bool ParseInputToUnregister(const napi_env env, napi_callback_info cbInfo,
183 static napi_value UnregisterPermStateChangeCallback(napi_env env, napi_callback_info cbInfo);
192 const napi_env& env, const napi_callback_info& cbInfo, RequestAsyncContext& asyncContext);

12