Home
last modified time | relevance | path

Searched refs:errcode (Results 1 - 25 of 146) sorted by relevance

123456

/foundation/ability/ability_runtime/services/abilitymgr/src/
H A Duser_callback_proxy.cpp22 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 Dgt_bundle_installer.h87 #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 Dbundle_installer.h71 #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 Dshared_bundle_installer.h82 #define CHECK_RESULT(errcode, errmsg) \
84 if ((errcode) != ERR_OK) { \
85 APP_LOGE(errmsg, errcode); \
86 return errcode; \
H A Dinner_shared_bundle_installer.h147 #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 Dstop_user_callback_proxy_test.cpp65 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 Dstop_user_callback_stub_mock.h48 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 Duser_callback_proxy.h38 * @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 Duser_callback.h31 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 Dtrans_event_test.cpp39 .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 Dconn_event_test.cpp39 .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 Dtrans_auth_message.c74 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 Dapp_provision_info_rdb.h46 #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 Djs_ability.cpp41 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 DRdbstoreRdbstoreJsunit.test.js73 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 DRdbstoreUpdateJsunit.test.js104 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 Dpreferences_base.cpp174 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 Dbundle_resource_rdb.h88 #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 Dbluetooth_socket_observer_stub.cpp33 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 Dstorage_radar.cpp24 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 Dipc_credential_auth_status_req.h82 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 Ddisc_hisysevent_matcher.h57 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 Duser_controller_test.cpp54 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 Dzip_util.cpp60 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 Dtrans_event_form.h73 int32_t errcode; // ERROR_CODE member
111 int32_t errcode; member
158 int32_t errcode; // ERROR_CODE member

Completed in 9 milliseconds

123456