Home
last modified time | relevance | path

Searched refs:errcode (Results 1 – 9 of 9) sorted by relevance

/base/account/os_account/services/accountmgr/src/osaccount/
Dos_account_stop_user_callback.cpp22 void OsAccountStopUserCallback::OnStopUserDone(int userId, int errcode) in OnStopUserDone() argument
25 userId, errcode); in OnStopUserDone()
27 if (errcode == 0) { in OnStopUserDone()
/base/security/code_signature/services/key_enable/src/
Dcs_hisysevent.rs19 pub fn report_add_key_err(cert_type: &str, errcode: i32) in report_add_key_err()
26 hisysevent::build_number_param!("INT32_SINGLE", errcode)] in report_add_key_err()
/base/customization/enterprise_device_management/common/native/include/
Dedm_errors.h109 #define RETURN_IF_FAILED(errcode) if (FAILED(errcode)) { return errcode; } argument
/base/print/print_fwk/frameworks/kits/extension/src/
Djs_print_extension_context.cpp126 ErrCode errcode = ERR_OK; in OnStartAbility() local
127 (unwrapArgc == 1) ? errcode = context->StartAbility(want) in OnStartAbility()
128 : errcode = context->StartAbility(want, startOptions); in OnStartAbility()
129 if (errcode == 0) { in OnStartAbility()
132 task.Reject(engine, CreateJsError(engine, errcode, "Start Ability failed.")); in OnStartAbility()
193 ErrCode errcode = ERR_OK; in OnStartAbilityWithAccount() local
195 ? errcode = context->StartAbilityWithAccount(want, accountId) in OnStartAbilityWithAccount()
196 : errcode = context->StartAbilityWithAccount(want, accountId, startOptions); in OnStartAbilityWithAccount()
197 if (errcode == 0) { in OnStartAbilityWithAccount()
200 task.Reject(engine, CreateJsError(engine, errcode, "Start Ability failed.")); in OnStartAbilityWithAccount()
[all …]
/base/inputmethod/imf/frameworks/kits/extension/src/
Djs_inputmethod_extension_context.cpp134 ErrCode errcode = ERR_OK; in OnStartAbility() local
135 (unwrapArgc == 1) ? errcode = context->StartAbility(want) in OnStartAbility()
136 : errcode = context->StartAbility(want, startOptions); in OnStartAbility()
137 if (errcode == 0) { in OnStartAbility()
140 task.Reject(engine, CreateJsError(engine, errcode, "Start Ability failed.")); in OnStartAbility()
195 ErrCode errcode = ERR_OK; in OnStartAbilityWithAccount() local
196 (unwrapArgc == ARGC_TWO) ? errcode = context->StartAbilityWithAccount(want, accountId) in OnStartAbilityWithAccount()
197 … : errcode = context->StartAbilityWithAccount(want, accountId, startOptions); in OnStartAbilityWithAccount()
198 if (errcode == 0) { in OnStartAbilityWithAccount()
201 task.Reject(engine, CreateJsError(engine, errcode, "Start Ability failed.")); in OnStartAbilityWithAccount()
[all …]
/base/theme/wallpaper_mgr/frameworks/kits/extension/src/
Djs_wallpaper_extension_context.cpp133 ErrCode errcode = ERR_OK; in OnStartAbility() local
134 (unwrapArgc == 1) ? errcode = context->StartAbility(want) in OnStartAbility()
135 : errcode = context->StartAbility(want, startOptions); in OnStartAbility()
136 if (errcode == 0) { in OnStartAbility()
139 task.Reject(engine, CreateJsError(engine, errcode, "Start Ability failed.")); in OnStartAbility()
194 ErrCode errcode = ERR_OK; in OnStartAbilityWithAccount() local
195 (unwrapArgc == ARGC_TWO) ? errcode = context->StartAbilityWithAccount(want, accountId) in OnStartAbilityWithAccount()
196 … : errcode = context->StartAbilityWithAccount(want, accountId, startOptions); in OnStartAbilityWithAccount()
197 if (errcode == 0) { in OnStartAbilityWithAccount()
200 task.Reject(engine, CreateJsError(engine, errcode, "Start Ability failed.")); in OnStartAbilityWithAccount()
[all …]
/base/account/os_account/services/accountmgr/include/osaccount/
Dos_account_stop_user_callback.h25 void OnStopUserDone(int userId, int errcode) override;
/base/notification/distributed_notification_service/services/ans/test/unittest/
Dpush_callback_stub_test.cpp100 int errcode = 305; variable
101 EXPECT_EQ(ret, errcode);
/base/inputmethod/imf/frameworks/js/napi/inputmethodclient/
Djs_get_input_method_controller.cpp574 auto errcode = InputMethodController::GetInstance()->SetCallingWindow(ctxt->windID); in SetCallingWindow() local
575 ctxt->SetErrorCode(errcode); in SetCallingWindow()
576 CHECK_RETURN_VOID(errcode == ErrorCode::NO_ERROR, "setCallingWindow return error!"); in SetCallingWindow()
604 auto errcode = InputMethodController::GetInstance()->OnCursorUpdate(ctxt->cursorInfo); in UpdateCursor() local
605 ctxt->SetErrorCode(errcode); in UpdateCursor()
606 CHECK_RETURN_VOID(errcode == ErrorCode::NO_ERROR, "updateCursor return error!"); in UpdateCursor()
627 …auto errcode = InputMethodController::GetInstance()->OnSelectionChange(ctxt->text, ctxt->start, ct… in ChangeSelection() local
628 ctxt->SetErrorCode(errcode); in ChangeSelection()
629 CHECK_RETURN_VOID(errcode == ErrorCode::NO_ERROR, "changeSelection return error!"); in ChangeSelection()
656 … auto errcode = InputMethodController::GetInstance()->OnConfigurationChange(ctxt->configuration); in UpdateAttribute() local
[all …]