/foundation/ability/ability_runtime/services/abilitymgr/src/ |
D | stop_user_callback_proxy.cpp | 24 void StopUserCallbackProxy::OnStopUserDone(int userId, int errcode) in OnStopUserDone() argument 26 SendRequestCommon(userId, errcode, IStopUserCallback::StopUserCallbackCmd::ON_STOP_USER_DONE); in OnStopUserDone() 29 void StopUserCallbackProxy::SendRequestCommon(int userId, int errcode, IStopUserCallback::StopUserC… in SendRequestCommon() argument 36 cmd, userId, errcode); in SendRequestCommon() 47 if (!data.WriteInt32(errcode)) { in SendRequestCommon()
|
/foundation/bundlemanager/bundle_framework_lite/services/bundlemgr_lite/include/ |
D | gt_bundle_installer.h | 87 #define CHECK_PRO_RESULT(errcode, fp, permissions, bundleInfo, signatureInfo) \ argument 89 if ((errcode) != ERR_OK) { \ 92 return errcode; \ 105 #define CHECK_PRO_PART_ROLLBACK(errcode, path, permissions, bundleInfo, signatureInfo) \ argument 107 if ((errcode) != ERR_OK) { \ 113 return errcode; \ 117 #define CHECK_PRO_ROLLBACK(errcode, permissions, bundleInfo, signatureInfo, randStr) \ argument 119 if ((errcode) != ERR_OK && (bundleInfo) != nullptr) { \ 125 return errcode; \
|
D | bundle_installer.h | 71 #define CHECK_PRO_RESULT(errcode, bundleInfo, permissions, abilityRes) \ argument 73 if ((errcode) != ERR_OK) { \ 77 return errcode; \ 90 #define CHECK_PRO_PART_ROLLBACK(errcode, path, permissions, bundleInfo, abilityRes) \ argument 92 if ((errcode) != ERR_OK && (bundleInfo) != nullptr) { \ 97 return errcode; \ 101 #define CHECK_PRO_ROLLBACK(errcode, permissions, bundleInfo, abilityRes, randStr) \ argument 103 if ((errcode) != ERR_OK && (bundleInfo) != nullptr) { \ 109 return errcode; \
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/shared/ |
D | shared_bundle_installer.h | 82 #define CHECK_RESULT(errcode, errmsg) \ argument 84 if (errcode != ERR_OK) { \ 85 APP_LOGE(errmsg, errcode); \ 86 return errcode; \
|
D | inner_shared_bundle_installer.h | 121 #define CHECK_RESULT(errcode, errmsg) \ argument 123 if (errcode != ERR_OK) { \ 124 APP_LOGE(errmsg, errcode); \ 125 return errcode; \
|
/foundation/ability/ability_runtime/test/unittest/stop_user_callback_proxy_test/ |
D | stop_user_callback_proxy_test.cpp | 65 int errcode = 0; variable 66 proxy_->OnStopUserDone(userId, errcode); 84 int errcode = 0; variable 85 proxy_->OnStopUserDone(userId, errcode);
|
D | stop_user_callback_stub_mock.h | 48 virtual void OnStopUserDone(int userId, int errcode) {}; in OnStopUserDone() argument
|
/foundation/communication/dsoftbus/core/transmission/trans_channel/auth/src/ |
D | trans_auth_message.c | 60 int32_t errcode; in TransAuthChannelMsgUnpack() local 61 if (GetJsonObjectNumberItem(obj, "ERR_CODE", &errcode)) { in TransAuthChannelMsgUnpack() 62 SoftBusLog(SOFTBUS_LOG_TRAN, SOFTBUS_LOG_ERROR, "unpack errcode:%d", errcode); in TransAuthChannelMsgUnpack() 81 NO_SANITIZE("cfi") int32_t TransAuthChannelErrorPack(int32_t errcode, const char *errMsg, char *cJs… in TransAuthChannelErrorPack() argument 94 !AddNumberToJsonObject(obj, "ERR_CODE", errcode) || in TransAuthChannelErrorPack()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/app_provision_info/ |
D | app_provision_info_rdb.h | 46 #define CHECK_RDB_RESULT_RETURN_IF_FAIL(errcode, errmsg) \ argument 48 if ((errcode) != NativeRdb::E_OK) { \ 49 APP_LOGE(errmsg, errcode); \
|
/foundation/ability/ability_runtime/interfaces/inner_api/ability_manager/include/ |
D | stop_user_callback_proxy.h | 40 virtual void OnStopUserDone(int userId, int errcode) override; 42 void SendRequestCommon(int userId, int errcode, IStopUserCallback::StopUserCallbackCmd cmd);
|
D | stop_user_callback.h | 31 virtual void OnStopUserDone(int userId, int errcode) = 0;
|
D | atomic_service_status_callback_proxy.h | 63 …void SendRequestCommon(int errcode, IAtomicServiceStatusCallback::IAtomicServiceStatusCallbackCmd …
|
/foundation/ability/ability_runtime/frameworks/js/napi/ability_manager/ |
D | js_ability_manager.cpp | 116 auto errcode = AbilityManagerClient::GetInstance()->GetAbilityRunningInfos(infos); in OnGetAbilityRunningInfos() local 117 if (errcode == 0) { in OnGetAbilityRunningInfos() 121 … task.Reject(engine, CreateJsError(engine, GetJsErrorCodeByNativeError(errcode))); in OnGetAbilityRunningInfos() 125 … task.Reject(engine, CreateJsError(engine, errcode, "Get mission infos failed.")); in OnGetAbilityRunningInfos() 159 … auto errcode = AbilityManagerClient::GetInstance()->GetExtensionRunningInfos(upperLimit, infos); in OnGetExtensionRunningInfos() local 160 if (errcode == 0) { in OnGetExtensionRunningInfos() 164 … task.Reject(engine, CreateJsError(engine, GetJsErrorCodeByNativeError(errcode))); in OnGetExtensionRunningInfos() 168 … task.Reject(engine, CreateJsError(engine, errcode, "Get mission infos failed.")); in OnGetExtensionRunningInfos() 213 auto errcode = GetAppManagerInstance()->UpdateConfiguration(changeConfig); in OnUpdateConfiguration() local 214 if (errcode == 0) { in OnUpdateConfiguration() [all …]
|
/foundation/distributeddatamgr/preferences/frameworks/js/napi/common/src/ |
D | js_ability.cpp | 39 …int errcode = stageContext->GetSystemPreferencesDir(dataGroupId, false, contextInfo.preferencesDir… in GetContextInfo() local 40 if (errcode != 0) { in GetContextInfo()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/ |
D | base_bundle_installer.h | 652 #define CHECK_RESULT(errcode, errmsg) \ argument 654 if (errcode != ERR_OK) { \ 655 APP_LOGE(errmsg, errcode); \ 656 return errcode; \ 660 #define CHECK_RESULT_WITH_ROLLBACK(errcode, errmsg, newInfos, oldInfo) \ argument 662 if ((errcode) == ERR_APPEXECFWK_INSTALL_SINGLETON_NOT_SAME || \ 663 (errcode) == ERR_APPEXECFWK_INSTALL_ZERO_USER_WITH_NO_SINGLETON) { \ 664 APP_LOGE(errmsg, errcode); \ 665 return errcode; \ 668 if (errcode != ERR_OK) { \ [all …]
|
/foundation/ability/ability_runtime/frameworks/simulator/ability_simulator/src/ |
D | js_ability_context.cpp | 129 auto errcode = abilityContext->TerminateSelf(); in OnTerminateSelf() local 130 if (errcode == 0) { in OnTerminateSelf() 133 task->Reject(engine, CreateJsErrorByNativeErr(engine, errcode)); in OnTerminateSelf() 161 auto errcode = abilityContext->TerminateSelf(); in OnTerminateSelfWithResult() local 162 if (errcode == 0) { in OnTerminateSelfWithResult() 165 task->Reject(engine, CreateJsErrorByNativeErr(engine, errcode)); in OnTerminateSelfWithResult()
|
/foundation/ability/ability_runtime/frameworks/native/ability/native/ability_runtime/ |
D | js_ability_context.cpp | 747 auto errcode = context->StartServiceExtensionAbility(want); in OnStartExtensionAbility() local 748 if (errcode == 0) { in OnStartExtensionAbility() 751 task.Reject(engine, CreateJsErrorByNativeErr(engine, errcode)); in OnStartExtensionAbility() 788 auto errcode = context->StartServiceExtensionAbility(want, accountId); in OnStartExtensionAbilityWithAccount() local 789 if (errcode == 0) { in OnStartExtensionAbilityWithAccount() 792 task.Reject(engine, CreateJsErrorByNativeErr(engine, errcode)); in OnStartExtensionAbilityWithAccount() 826 auto errcode = context->StopServiceExtensionAbility(want); in OnStopExtensionAbility() local 827 if (errcode == 0) { in OnStopExtensionAbility() 830 task.Reject(engine, CreateJsErrorByNativeErr(engine, errcode)); in OnStopExtensionAbility() 867 auto errcode = context->StopServiceExtensionAbility(want, accountId); in OnStopExtensionAbilityWithAccount() local [all …]
|
/foundation/communication/dsoftbus/core/transmission/trans_channel/auth/include/ |
D | trans_auth_message.h | 32 int32_t TransAuthChannelErrorPack(int32_t errcode, const char *errMsg, char *cJsonStr, int32_t maxL…
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/ui_extension/ |
D | ui_extension_pattern.cpp | 214 auto errcode = Rosen::ExtensionSessionManager::GetInstance().RequestExtensionSessionActivation( in RequestExtensionSessionActivation() local 216 if (errcode != OHOS::Rosen::WSError::WS_OK) { in RequestExtensionSessionActivation() 217 int32_t code = static_cast<int32_t>(errcode); in RequestExtensionSessionActivation() 234 auto errcode = in RequestExtensionSessionBackground() local 236 if (errcode != OHOS::Rosen::WSError::WS_OK) { in RequestExtensionSessionBackground() 238 int32_t code = static_cast<int32_t>(errcode); in RequestExtensionSessionBackground() 252 auto errcode = in RequestExtensionSessionDestruction() local 254 if (errcode != OHOS::Rosen::WSError::WS_OK) { in RequestExtensionSessionDestruction() 256 int32_t code = static_cast<int32_t>(errcode); in RequestExtensionSessionDestruction()
|
/foundation/distributeddatamgr/preferences/frameworks/native/src/ |
D | preferences_impl.cpp | 354 int errcode = dataObsMgrClient->RegisterObserver(MakeUri(), observer); in RegisterObserver() local 355 if (errcode != 0) { in RegisterObserver() 356 LOG_ERROR("RegisterObserver multiProcessChange failed, errCode %{public}d", errcode); in RegisterObserver() 357 return errcode; in RegisterObserver() 385 int errcode = dataObsMgrClient->UnregisterObserver(MakeUri(), *it); in UnRegisterObserver() local 386 if (errcode != 0) { in UnRegisterObserver() 387 … LOG_ERROR("RegisterObserver multiProcessChange failed, errCode %{public}d", errcode); in UnRegisterObserver() 388 return errcode; in UnRegisterObserver()
|
/foundation/ability/form_fwk/services/include/ |
D | free_install_status_callback_proxy.h | 42 …void SendRequestCommon(int32_t errcode, IFreeInstallStatusCallBack::IFreeInstallStatusCallBackCmd …
|
/foundation/communication/dsoftbus/core/common/dfx/hisysevent_adapter/include/ |
D | softbus_hisysevt_transreporter.h | 40 void SoftbusReportTransErrorEvt(int32_t errcode);
|
/foundation/distributeddatamgr/udmf/interfaces/jskits/common/ |
D | napi_queue.h | 141 #define ASSERT_WITH_ERRCODE(ctxt, condition, errcode, message) \ argument 145 GenerateNapiError(errcode, (ctxt)->jsCode, (ctxt)->error); \
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/storage/ |
D | distributeddb_relational_schema_analysis_test.cpp | 105 int errcode = SQLiteUtils::AnalysisSchema(db, name, table); in AnalysisTable() local 106 EXPECT_EQ(errcode, E_OK); in AnalysisTable()
|
/foundation/arkui/ui_appearance/services/src/ |
D | ui_appearance_ability.cpp | 106 auto errcode = appManagerInstance->UpdateConfiguration(config); in OnSetDarkMode() local 107 if (errcode != 0) { in OnSetDarkMode()
|