Home
last modified time | relevance | path

Searched refs:AccountNapiThrow (Results 1 – 14 of 14) sorted by relevance

/ohos5.0/base/account/os_account/interfaces/kits/napi/account_iam/src/
H A Dnapi_account_iam_user_auth.cpp77 AccountNapiThrow(env, ERR_JS_PARAMETER_ERROR, errMsg, true); in GetAvailableStatus()
84 AccountNapiThrow(env, ERR_JS_PARAMETER_ERROR, errMsg, true); in GetAvailableStatus()
92 AccountNapiThrow(env, ERR_JS_PARAMETER_ERROR, errMsg, true); in GetAvailableStatus()
123 AccountNapiThrow(env, ERR_JS_PARAMETER_ERROR, errMsg, true); in ParseContextForGetSetProperty()
202 AccountNapiThrow(env, ERR_JS_PARAMETER_ERROR, errMsg, true); in ParseContextForGetPropertyById()
210 AccountNapiThrow(env, ERR_JS_PARAMETER_ERROR, errMsg, true); in ParseContextForGetPropertyById()
217 AccountNapiThrow(env, ERR_JS_PARAMETER_ERROR, errMsg, true); in ParseContextForGetPropertyById()
318 AccountNapiThrow(env, ERR_JS_PARAMETER_ERROR, errMsg, true); in ParseContextForRemoteAuthOptions()
325 AccountNapiThrow(env, ERR_JS_PARAMETER_ERROR, errMsg, true); in ParseContextForRemoteAuthOptions()
332 AccountNapiThrow(env, ERR_JS_PARAMETER_ERROR, errMsg, true); in ParseContextForRemoteAuthOptions()
[all …]
H A Dnapi_account_iam_identity_manager.cpp146 AccountNapiThrow(env, ERR_JS_PARAMETER_ERROR, errMsg, true); in ParseContextForUpdateCredential()
151 AccountNapiThrow(env, ERR_JS_PARAMETER_ERROR, errMsg, true); in ParseContextForUpdateCredential()
157 AccountNapiThrow(env, ERR_JS_PARAMETER_ERROR, errMsg, true); in ParseContextForUpdateCredential()
246 AccountNapiThrow(env, ERR_JS_PARAMETER_ERROR, errMsg, true); in Cancel()
254 AccountNapiThrow(env, ERR_JS_PARAMETER_ERROR, errMsg, true); in Cancel()
276 AccountNapiThrow(env, ERR_JS_PARAMETER_ERROR, errMsg, true); in ParseContextForDelUser()
281 AccountNapiThrow(env, ERR_JS_PARAMETER_ERROR, errMsg, true); in ParseContextForDelUser()
287 AccountNapiThrow(env, ERR_JS_PARAMETER_ERROR, errMsg, true); in ParseContextForDelUser()
322 AccountNapiThrow(env, ERR_JS_PARAMETER_ERROR, errMsg, true); in ParseContextForDelCred()
327 AccountNapiThrow(env, ERR_JS_PARAMETER_ERROR, errMsg, true); in ParseContextForDelCred()
[all …]
H A Dnapi_account_iam_inputer_manager.cpp59 AccountNapiThrow(env, ERR_JS_PARAMETER_ERROR, errMsg, true); in ParseContextForRegisterInputer()
65 AccountNapiThrow(env, ERR_JS_PARAMETER_ERROR, errMsg, true); in ParseContextForRegisterInputer()
73 AccountNapiThrow(env, ERR_JS_PARAMETER_ERROR, errMsg, true); in ParseContextForRegisterInputer()
81 AccountNapiThrow(env, ERR_JS_PARAMETER_ERROR, errMsg, true); in ParseContextForRegisterInputer()
112 AccountNapiThrow(env, ERR_JS_PARAMETER_ERROR, errMsg, true); in UnregisterInputer()
119 AccountNapiThrow(env, ERR_JS_PARAMETER_ERROR, errMsg, true); in UnregisterInputer()
H A Dnapi_account_iam_pin_auth.cpp59 AccountNapiThrow(env, ERR_JS_PARAMETER_ERROR, errMsg, true); in ParseContextForRegisterInputer()
72 AccountNapiThrow(env, ERR_JS_PARAMETER_ERROR, errMsg, true); in ParseContextForRegisterInputer()
H A Dnapi_account_iam_common.cpp949 AccountNapiThrow(env, ERR_JS_PARAMETER_ERROR, errMsg, true); in OnSetData()
962 AccountNapiThrow(env, ERR_JS_PARAMETER_ERROR, errMsg, true); in OnSetData()
969 AccountNapiThrow(env, ERR_JS_PARAMETER_ERROR, errMsg, true); in OnSetData()
/ohos5.0/base/account/os_account/interfaces/kits/napi/osaccount/src/
H A Dnapi_os_account_common.cpp87 AccountNapiThrow(env, ERR_JS_PARAMETER_ERROR, errMsg, asyncContext->throwErr); in ParseOneParaContext()
104 AccountNapiThrow(env, ERR_JS_PARAMETER_ERROR, errMsg, throwErr); in ParseCallbackAndId()
111 AccountNapiThrow(env, ERR_JS_PARAMETER_ERROR, errMsg, throwErr); in ParseCallbackAndId()
126 AccountNapiThrow(env, ERR_JS_PARAMETER_ERROR, errMsg, true); in ParseParaDeactivateOA()
132 AccountNapiThrow(env, ERR_JS_PARAMETER_ERROR, errMsg, true); in ParseParaDeactivateOA()
369 AccountNapiThrow(env, ERR_JS_PARAMETER_ERROR, errMsg, asyncContext->throwErr); in ParseParaSetOAName()
375 AccountNapiThrow(env, ERR_JS_PARAMETER_ERROR, errMsg, asyncContext->throwErr); in ParseParaSetOAName()
427 AccountNapiThrow(env, ERR_JS_PARAMETER_ERROR, errMsg, asyncContext->throwErr); in ParseParaSetOAConstraints()
435 AccountNapiThrow(env, ERR_JS_PARAMETER_ERROR, errMsg, true); in ParseParaSetOAConstraints()
443 AccountNapiThrow(env, ERR_JS_PARAMETER_ERROR, errMsg, true); in ParseParaSetOAConstraints()
[all …]
H A Dnapi_os_account.cpp888 AccountNapiThrow(env, ERR_JS_PARAMETER_ERROR, errMsg, true); in ParseUidFromCbInfo()
894 AccountNapiThrow(env, ERR_JS_PARAMETER_ERROR, errMsg, true); in ParseUidFromCbInfo()
910 AccountNapiThrow(env, errCode); in GetOsAccountLocalIdForUidSync()
958 AccountNapiThrow(env, errCode); in GetBundleIdForUidSync()
1508 AccountNapiThrow(env, errCode, true); in Subscribe()
1674 AccountNapiThrow(env, errCode, true); in UnsubscribeSync()
1691 AccountNapiThrow(env, ERR_JS_IS_NOT_SYSTEM_APP); in IsOsAccountActivated()
1704 AccountNapiThrow(env, ERR_JS_IS_NOT_SYSTEM_APP); in IsOsAccountConstraintEnabled()
1717 AccountNapiThrow(env, ERR_JS_IS_NOT_SYSTEM_APP); in IsOsAccountUnlocked()
1726 AccountNapiThrow(env, ERR_JS_IS_NOT_SYSTEM_APP); in GetEnabledOsAccountConstraints()
[all …]
/ohos5.0/base/account/os_account/interfaces/kits/napi/domain_account/src/
H A Dnapi_domain_account_manager.cpp201 AccountNapiThrow(env, ERR_JS_PARAMETER_ERROR, errMsg, true); in ParseParamForUpdateAccountToken()
215 AccountNapiThrow(env, ERR_JS_PARAMETER_ERROR, errMsg, true); in ParseParamForUpdateAccountToken()
221 AccountNapiThrow(env, ERR_JS_PARAMETER_ERROR, errMsg, true); in ParseParamForUpdateAccountToken()
236 AccountNapiThrow(env, ERR_JS_PARAMETER_ERROR, errMsg, true); in ParseParamForIsAuthenticationExpired()
298 AccountNapiThrow(env, ERR_JS_INVALID_PARAMETER, true); in GetDomainAccountInfoCallback()
304 AccountNapiThrow(env, ERR_JS_INVALID_PARAMETER, true); in GetDomainAccountInfoCallback()
368 AccountNapiThrow(env, ERR_JS_INVALID_PARAMETER, true); in OnAccountBoundCallback()
436 AccountNapiThrow(env, ERR_JS_INVALID_PARAMETER, true); in GetAuthStatusInfoCallback()
442 AccountNapiThrow(env, ERR_JS_INVALID_PARAMETER, true); in GetAuthStatusInfoCallback()
996 AccountNapiThrow(env, errCode, true); in RegisterPlugin()
[all …]
H A Dnapi_domain_server_manager.cpp129 AccountNapiThrow(env, ERR_JS_PARAMETER_ERROR, errMsg, true); in AddServerConfig()
194 AccountNapiThrow(env, ERR_JS_PARAMETER_ERROR, errMsg, true); in RemoveServerConfig()
262 AccountNapiThrow(env, ERR_JS_PARAMETER_ERROR, errMsg, true); in GetAccountServerConfig()
H A Dnapi_domain_auth_callback.cpp135 AccountNapiThrow(env, ERR_JS_PARAMETER_ERROR, errMsg, true); in JsOnResult()
/ohos5.0/base/account/os_account/interfaces/kits/napi/distributedaccount/src/
H A Dnapi_distributed_account.cpp89 AccountNapiThrow(env, ERR_JS_PARAMETER_ERROR, errMsg, asyncContext->throwErr); in ParseQueryOhosAccountInfoAsyncContext()
101 AccountNapiThrow(env, ERR_JS_PARAMETER_ERROR, errMsg, asyncContext->throwErr); in GetAccountInfo()
107 AccountNapiThrow(env, ERR_JS_PARAMETER_ERROR, errMsg, asyncContext->throwErr); in GetAccountInfo()
113 AccountNapiThrow(env, ERR_JS_PARAMETER_ERROR, errMsg, asyncContext->throwErr); in GetAccountInfo()
119 AccountNapiThrow(env, ERR_JS_PARAMETER_ERROR, errMsg, asyncContext->throwErr); in GetAccountInfo()
152 AccountNapiThrow(env, ERR_JS_PARAMETER_ERROR, errMsg, asyncContext->throwErr); in ParseInfoAndEvent()
161 AccountNapiThrow(env, ERR_JS_PARAMETER_ERROR, errMsg, asyncContext->throwErr); in ParseInfoAndEvent()
176 AccountNapiThrow(env, ERR_JS_PARAMETER_ERROR, errMsg, asyncContext->throwErr); in ParseUpdateOhosAccountInfoAsyncContext()
383 AccountNapiThrow(env, ERR_JS_IS_NOT_SYSTEM_APP); in SetCurrentOsAccountDistributedInfo()
435 AccountNapiThrow(env, ERR_JS_PARAMETER_ERROR, errMsg, asyncContext->throwErr); in ParseSetOsAccountDistributedInfoByLocalId()
[all …]
/ohos5.0/base/account/os_account/interfaces/kits/napi/common/include/
H A Dnapi_account_error.h31 void AccountNapiThrow(napi_env env, int32_t jsErrCode, const std::string &jsErrMsg, bool throwErr =…
32 void AccountNapiThrow(napi_env env, int32_t nativeErrCode, bool throwErr = true);
/ohos5.0/base/account/os_account/interfaces/kits/napi/common/src/
H A Dnapi_account_error.cpp153 void AccountNapiThrow(napi_env env, int32_t nativeErrCode, bool throwErr) in AccountNapiThrow() function
160 void AccountNapiThrow(napi_env env, int32_t jsErrCode, const std::string &jsErrMsg, bool throwErr) in AccountNapiThrow() function
H A Dnapi_account_common.cpp337 AccountNapiThrow(env, ERR_JS_IS_NOT_SYSTEM_APP, errMsg, true); in IsSystemApp()
626 AccountNapiThrow(env, ERR_JS_PARAMETER_ERROR, errMsg, false); in JsObjectToNativeString()