Lines Matching defs:errCode
27 bool DmsRadar::RegisterFocusedRes(const std::string& func, int32_t errCode)
30 StageRes stageRes = (errCode == ERR_OK) ? StageRes::STAGE_SUCC : StageRes::STAGE_FAIL;
53 ERROR_CODE, errCode);
62 bool DmsRadar::RegisterSoftbusCallbackRes(const std::string& func, int32_t errCode)
65 StageRes stageRes = (errCode == ERR_OK) ? StageRes::STAGE_SUCC : StageRes::STAGE_FAIL;
90 ERROR_CODE, errCode);
119 bool DmsRadar::NormalFocusedGetAccessTokenIdRes(const std::string& func, int32_t errCode)
122 StageRes stageRes = (errCode == ERR_OK) ? StageRes::STAGE_SUCC : StageRes::STAGE_FAIL;
145 ERROR_CODE, errCode);
154 bool DmsRadar::NormalFocusedSendEventRes(const std::string& func, int32_t errCode)
157 StageRes stageRes = (errCode == ERR_OK) ? StageRes::STAGE_SUCC : StageRes::STAGE_FAIL;
182 ERROR_CODE, errCode);
210 bool DmsRadar::ChangeStateFocusedGetAccessTokenIdRes(const std::string& func, int32_t errCode)
213 StageRes stageRes = (errCode == ERR_OK) ? StageRes::STAGE_SUCC : StageRes::STAGE_FAIL;
236 ERROR_CODE, errCode);
245 bool DmsRadar::ChangeStateFocusedSendEventRes(const std::string& func, int32_t errCode)
248 StageRes stageRes = (errCode == ERR_OK) ? StageRes::STAGE_SUCC : StageRes::STAGE_FAIL;
273 ERROR_CODE, errCode);
301 bool DmsRadar::NormalUnfocusedGetAccessTokenIdRes(const std::string& func, int32_t errCode)
304 StageRes stageRes = (errCode == ERR_OK) ? StageRes::STAGE_SUCC : StageRes::STAGE_FAIL;
327 ERROR_CODE, errCode);
336 bool DmsRadar::NormalUnfocusedSendEventRes(const std::string& func, int32_t errCode)
339 StageRes stageRes = (errCode == ERR_OK) ? StageRes::STAGE_SUCC : StageRes::STAGE_FAIL;
364 ERROR_CODE, errCode);
392 bool DmsRadar::MultimodeUnfocusedGetAccessTokenIdRes(const std::string& func, int32_t errCode)
395 StageRes stageRes = (errCode == ERR_OK) ? StageRes::STAGE_SUCC : StageRes::STAGE_FAIL;
418 ERROR_CODE, errCode);
427 bool DmsRadar::MultimodeUnfocusedSendEventRes(const std::string& func, int32_t errCode)
430 StageRes stageRes = (errCode == ERR_OK) ? StageRes::STAGE_SUCC : StageRes::STAGE_FAIL;
455 ERROR_CODE, errCode);
483 bool DmsRadar::ChangeStateUnfocusedGetAccessTokenIdRes(const std::string& func, int32_t errCode)
486 StageRes stageRes = (errCode == ERR_OK) ? StageRes::STAGE_SUCC : StageRes::STAGE_FAIL;
509 ERROR_CODE, errCode);
518 bool DmsRadar::ChangeStateUnfocusedSendEventRes(const std::string& func, int32_t errCode)
521 StageRes stageRes = (errCode == ERR_OK) ? StageRes::STAGE_SUCC : StageRes::STAGE_FAIL;
546 ERROR_CODE, errCode);
576 bool DmsRadar::FocusedGetBundleName(const std::string& func, int32_t errCode)
579 StageRes stageRes = (errCode == ERR_OK) ? StageRes::STAGE_SUCC : StageRes::STAGE_FAIL;
602 ERROR_CODE, errCode);
611 bool DmsRadar::NotifyDockFocused(const std::string& func, int32_t errCode)
614 StageRes stageRes = (errCode == ERR_OK) ? StageRes::STAGE_SUCC : StageRes::STAGE_FAIL;
635 ERROR_CODE, errCode);
665 bool DmsRadar::UnfocusedGetBundleName(const std::string& func, int32_t errCode)
668 StageRes stageRes = (errCode == ERR_OK) ? StageRes::STAGE_SUCC : StageRes::STAGE_FAIL;
691 ERROR_CODE, errCode);
700 bool DmsRadar::NotifyDockUnfocused(const std::string& func, int32_t errCode)
703 StageRes stageRes = (errCode == ERR_OK) ? StageRes::STAGE_SUCC : StageRes::STAGE_FAIL;
724 ERROR_CODE, errCode);
733 bool DmsRadar::ClickIconDmsContinue(const std::string& func, int32_t errCode, std::string peerDeviceId,
745 StageRes stageRes = (errCode == ERR_OK) ? StageRes::STAGE_SUCC : StageRes::STAGE_FAIL;
776 ERROR_CODE, errCode);
785 bool DmsRadar::ClickIconDmsStartAbility(const std::string& func, int32_t errCode)
788 StageRes stageRes = (errCode == ERR_OK) ? StageRes::STAGE_SUCC : StageRes::STAGE_FAIL;
811 ERROR_CODE, errCode);
820 bool DmsRadar::ClickIconDmsRecvOver(const std::string& func, int32_t errCode)
823 StageRes stageRes = (errCode == ERR_OK || errCode == MISSION_NOT_FOCUSED ||
824 errCode == MISSION_NOT_CONTINUE_ACTIVE) ? StageRes::STAGE_SUCC : StageRes::STAGE_FAIL;
847 ERROR_CODE, errCode);
856 bool DmsRadar::SaveDataDmsContinue(const std::string& func, int32_t errCode)
859 StageRes stageRes = (errCode == ERR_OK) ? StageRes::STAGE_SUCC : StageRes::STAGE_FAIL;
884 ERROR_CODE, errCode);
893 bool DmsRadar::SaveDataDmsRemoteWant(const std::string& func, int32_t errCode)
896 StageRes stageRes = (errCode == ERR_OK) ? StageRes::STAGE_SUCC : StageRes::STAGE_FAIL;
919 ERROR_CODE, errCode);