/ohos5.0/base/account/os_account/interfaces/kits/napi/account_iam/src/ |
H A D | napi_account_iam_user_auth.cpp | 77 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 D | napi_account_iam_identity_manager.cpp | 146 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 D | napi_account_iam_inputer_manager.cpp | 59 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 D | napi_account_iam_pin_auth.cpp | 59 AccountNapiThrow(env, ERR_JS_PARAMETER_ERROR, errMsg, true); in ParseContextForRegisterInputer() 72 AccountNapiThrow(env, ERR_JS_PARAMETER_ERROR, errMsg, true); in ParseContextForRegisterInputer()
|
H A D | napi_account_iam_common.cpp | 949 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 D | napi_os_account_common.cpp | 87 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 D | napi_os_account.cpp | 888 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 D | napi_domain_account_manager.cpp | 201 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 D | napi_domain_server_manager.cpp | 129 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 D | napi_domain_auth_callback.cpp | 135 AccountNapiThrow(env, ERR_JS_PARAMETER_ERROR, errMsg, true); in JsOnResult()
|
/ohos5.0/base/account/os_account/interfaces/kits/napi/distributedaccount/src/ |
H A D | napi_distributed_account.cpp | 89 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 D | napi_account_error.h | 31 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 D | napi_account_error.cpp | 153 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 D | napi_account_common.cpp | 337 AccountNapiThrow(env, ERR_JS_IS_NOT_SYSTEM_APP, errMsg, true); in IsSystemApp() 626 AccountNapiThrow(env, ERR_JS_PARAMETER_ERROR, errMsg, false); in JsObjectToNativeString()
|