/foundation/ability/ability_runtime/services/abilitymgr/src/ |
H A D | user_callback_proxy.cpp | 22 void UserCallbackProxy::OnStopUserDone(int userId, int errcode) in OnStopUserDone() argument 24 SendRequestCommon(userId, errcode, IUserCallback::UserCallbackCmd::ON_STOP_USER_DONE); in OnStopUserDone() 27 void UserCallbackProxy::OnStartUserDone(int userId, int errcode) in OnStartUserDone() argument 29 SendRequestCommon(userId, errcode, IUserCallback::UserCallbackCmd::ON_START_USER_DONE); in OnStartUserDone() 32 void UserCallbackProxy::SendRequestCommon(int userId, int errcode, IUserCallback::UserCallbackCmd cmd) in SendRequestCommon() argument 39 "UserCallbackProxy, sendrequest, cmd:%{public}d, userId:%{public}d, errcode:%{public}d", cmd, userId, errcode); in SendRequestCommon() 50 if (!data.WriteInt32(errcode)) { in SendRequestCommon() 51 TAG_LOGE(AAFwkTag::ABILITYMGR, "write errcode error"); in SendRequestCommon()
|
/foundation/bundlemanager/bundle_framework_lite/services/bundlemgr_lite/include/ |
H A D | gt_bundle_installer.h | 87 #define CHECK_PRO_RESULT(errcode, fp, permissions, bundleInfo, signatureInfo) \ 89 if ((errcode) != ERR_OK) { \ 92 return errcode; \ 105 #define CHECK_PRO_PART_ROLLBACK(errcode, path, permissions, bundleInfo, signatureInfo) \ 107 if ((errcode) != ERR_OK) { \ 113 return errcode; \ 117 #define CHECK_PRO_ROLLBACK(errcode, permissions, bundleInfo, signatureInfo, randStr) \ 119 if ((errcode) != ERR_OK && (bundleInfo) != nullptr) { \ 125 return errcode; \
|
H A D | bundle_installer.h | 71 #define CHECK_PRO_RESULT(errcode, bundleInfo, permissions, abilityRes) \ 73 if ((errcode) != ERR_OK) { \ 77 return errcode; \ 90 #define CHECK_PRO_PART_ROLLBACK(errcode, path, permissions, bundleInfo, abilityRes) \ 92 if ((errcode) != ERR_OK && (bundleInfo) != nullptr) { \ 97 return errcode; \ 101 #define CHECK_PRO_ROLLBACK(errcode, permissions, bundleInfo, abilityRes, randStr) \ 103 if ((errcode) != ERR_OK && (bundleInfo) != nullptr) { \ 109 return errcode; \
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/shared/ |
H A D | shared_bundle_installer.h | 82 #define CHECK_RESULT(errcode, errmsg) \ 84 if ((errcode) != ERR_OK) { \ 85 APP_LOGE(errmsg, errcode); \ 86 return errcode; \
|
H A D | inner_shared_bundle_installer.h | 147 #define CHECK_RESULT(errcode, errmsg) \ 149 if ((errcode) != ERR_OK) { \ 150 APP_LOGE(errmsg, errcode); \ 151 return errcode; \
|
/foundation/ability/ability_runtime/test/unittest/stop_user_callback_proxy_test/ |
H A D | stop_user_callback_proxy_test.cpp | 65 int errcode = 0; in HWTEST_F() local 66 proxy_->OnStopUserDone(userId, errcode); in HWTEST_F() 84 int errcode = 0; in HWTEST_F() local 85 proxy_->OnStopUserDone(userId, errcode); in HWTEST_F()
|
H A D | stop_user_callback_stub_mock.h | 48 virtual void OnStopUserDone(int userId, int errcode) {}; in OnStopUserDone() argument 49 virtual void OnStartUserDone(int userId, int errcode) {} in OnStartUserDone() argument
|
/foundation/ability/ability_runtime/interfaces/inner_api/ability_manager/include/ |
H A D | user_callback_proxy.h | 38 * @param errcode errcode. 40 virtual void OnStopUserDone(int userId, int errcode) override; 46 * @param errcode errcode. 48 virtual void OnStartUserDone(int userId, int errcode) override; 50 void SendRequestCommon(int userId, int errcode, IUserCallback::UserCallbackCmd cmd);
|
H A D | user_callback.h | 31 virtual void OnStopUserDone(int userId, int errcode) = 0; 37 * @param errcode errcode. 39 virtual void OnStartUserDone(int userId, int errcode) = 0;
|
/foundation/communication/dsoftbus/tests/core/common/dfx/event/unittest/src/ |
H A D | trans_event_test.cpp | 39 .errcode = 2233, in HWTEST_F() 43 constexpr int32_t VALID_EXTRA_SIZE = 4; //result errcode socketName firstTokenId in HWTEST_F() 63 .errcode = 2, in HWTEST_F() 115 .errcode = -2, // valid in HWTEST_F() 142 constexpr int32_t VALID_EXTRA_SIZE = 3; // result, errcode and firstTokenId is valid in HWTEST_F() 161 constexpr int32_t VALID_EXTRA_SIZE = 3; // result, errcode and firstTokenId is valid in HWTEST_F() 186 .errcode = 2233, in HWTEST_F() 210 .errcode = 2, in HWTEST_F() 251 .errcode = 2, in HWTEST_F() 281 .errcode in HWTEST_F() [all...] |
H A D | conn_event_test.cpp | 39 .errcode = 2233, in HWTEST_F() 60 .errcode = 2, 120 .errcode = -2, // valid 168 constexpr int32_t TWO_VALID_EXTRA_SIZE = 2; // result, errcode is valid in HWTEST_F() 188 constexpr int32_t TWO_VALID_EXTRA_SIZE = 2; // result, errcode is valid in HWTEST_F() 200 .errcode = 1000,
|
/foundation/communication/dsoftbus/core/transmission/trans_channel/auth/src/ |
H A D | trans_auth_message.c | 74 int32_t errcode; in TransAuthChannelMsgUnpack() local 75 if (GetJsonObjectInt32Item(obj, "ERR_CODE", &errcode)) { in TransAuthChannelMsgUnpack() 76 TRANS_LOGE(TRANS_SVC, "peer failed: errcode=%{public}d.", errcode); in TransAuthChannelMsgUnpack() 78 return errcode; in TransAuthChannelMsgUnpack() 114 int32_t TransAuthChannelErrorPack(int32_t errcode, const char *errMsg, char *cJsonStr, int32_t maxLen) in TransAuthChannelErrorPack() argument 125 !AddNumberToJsonObject(obj, "ERR_CODE", errcode) || in TransAuthChannelErrorPack()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/app_provision_info/ |
H A D | app_provision_info_rdb.h | 46 #define CHECK_RDB_RESULT_RETURN_IF_FAIL(errcode, errmsg) \ 48 if ((errcode) != NativeRdb::E_OK) { \ 49 APP_LOGE(errmsg, errcode); \
|
/foundation/distributeddatamgr/preferences/frameworks/js/napi/common/src/ |
H A D | js_ability.cpp | 41 int errcode = stageContext->GetSystemPreferencesDir(dataGroupId, false, contextInfo.preferencesDir); in GetContextInfo() local 42 if (errcode != 0) { in GetContextInfo() 43 LOG_ERROR("GetSystemPreferencesDir fails, rc = %{public}d", errcode); in GetContextInfo()
|
/foundation/distributeddatamgr/relational_store/test/js/rdb/unittest/src/ |
H A D | RdbstoreRdbstoreJsunit.test.js | 73 console.log(TAG + `failed, errcode:${JSON.stringify(err)}.`); 94 console.log(TAG + `failed, errcode:${JSON.stringify(err)}.`); 111 console.log(TAG + `failed, errcode:${JSON.stringify(err)}.`); 142 console.log(TAG + `failed, errcode:${JSON.stringify(err)}.`);
|
H A D | RdbstoreUpdateJsunit.test.js | 104 console.log(TAG + `failed, errcode:${JSON.stringify(err)}.`); 129 console.log(TAG + `empty failed, errcode:${JSON.stringify(err)}.`); 138 console.log(TAG + `test failed, errcode:${JSON.stringify(err)}.`); 147 console.log(TAG + `aaa failed, errcode:${JSON.stringify(err)}.`); 172 console.log(TAG + `wrongTable failed, errcode:${JSON.stringify(err)}.`); 179 console.log(TAG + `test failed, errcode:${JSON.stringify(err)}.`); 204 console.log(TAG + `test failed, errcode:${JSON.stringify(err)}.`); 215 console.log(TAG + `emptyBucket failed, errcode:${JSON.stringify(err)}.`); 264 console.log(TAG + `failed, errcode:${JSON.stringify(err)}.`); 314 console.log(TAG + `failed, errcode [all...] |
/foundation/distributeddatamgr/preferences/frameworks/native/src/ |
H A D | preferences_base.cpp | 174 int errcode = dataObsMgrClient->RegisterObserver(MakeUri(), observer); in RegisterObserver() local 175 if (errcode != 0) { in RegisterObserver() 176 LOG_ERROR("RegisterObserver multiProcessChange failed, errCode %{public}d", errcode); in RegisterObserver() 177 return errcode; in RegisterObserver() 269 int errcode = dataObsMgrClient->UnregisterObserver(MakeUri(), *it); in UnRegisterObserver() local 270 if (errcode != 0) { in UnRegisterObserver() 271 LOG_ERROR("UnRegisterObserver multiProcessChange failed, errCode %{public}d", errcode); in UnRegisterObserver() 272 return errcode; in UnRegisterObserver()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/bundle_resource/ |
H A D | bundle_resource_rdb.h | 88 #define CHECK_RDB_RESULT_RETURN_IF_FAIL(errcode, errmsg) \ 90 if ((errcode) != NativeRdb::E_OK) { \ 91 APP_LOGE(errmsg, errcode); \
|
/foundation/communication/bluetooth/frameworks/inner/ipc/src/ |
H A D | bluetooth_socket_observer_stub.cpp | 33 int32_t errcode = BT_NO_ERROR;
in OnRemoteRequest() local 36 errcode = OnConnectionStateChangedInner(data, reply);
in OnRemoteRequest() 42 return errcode;
in OnRemoteRequest()
|
/foundation/filemanagement/storage_service/services/storage_daemon/utils/ |
H A D | storage_radar.cpp | 24 bool StorageRadar::RecordKillProcessResult(std::string processName, int32_t errcode) in RecordKillProcessResult() argument 27 if (errcode == E_OK) { in RecordKillProcessResult() 49 "ERROR_CODE", errcode, in RecordKillProcessResult()
|
/foundation/distributedhardware/device_manager/common/include/ipc/model/ |
H A D | ipc_credential_auth_status_req.h | 82 void SetErrCode(int32_t errcode) in SetErrCode() argument 84 errcode_ = errcode; in SetErrCode()
|
/foundation/communication/dsoftbus/tests/core/common/dfx/event/unittest/mock/ |
H A D | disc_hisysevent_matcher.h | 57 MatchDiscEventNameTypeExtraInt32Param(params, ++index, extra.errcode); in MATCHER_P2() 93 MatchDiscEventNameTypeExtraInt32Param(params, ++index, ((extra.errcode < 0) ? (-extra.errcode) : extra.errcode)); in MATCHER_P2()
|
/foundation/ability/ability_runtime/test/unittest/user_controller_test/ |
H A D | user_controller_test.cpp | 54 void OnStopUserDone(int userId, int errcode) override; 55 void OnStartUserDone(int userId, int errcode) override; 60 void TestUserCallback::OnStartUserDone(int userId, int errcode) in OnStartUserDone() argument 62 errCode_ = errcode; in OnStartUserDone() 65 void TestUserCallback::OnStopUserDone(int userId, int errcode) {} in OnStopUserDone() argument
|
/foundation/multimedia/media_library/frameworks/innerkitsimpl/medialibrary_data_extension/src/ |
H A D | zip_util.cpp | 60 int errcode = 0; in AddFileInZip() local 70 errcode = errno; in AddFileInZip() 76 return errcode; in AddFileInZip()
|
/foundation/communication/dsoftbus/core/common/dfx/interface/include/form/ |
H A D | trans_event_form.h | 73 int32_t errcode; // ERROR_CODE member 111 int32_t errcode; member 158 int32_t errcode; // ERROR_CODE member
|