codecheck

Signed-off-by: MisterE <smart_e@126.com>
This commit is contained in:
MisterE 2024-11-19 19:28:55 +08:00
parent 3d890c26db
commit 4c608e7eb5
3 changed files with 3 additions and 5 deletions

View File

@ -450,10 +450,9 @@ int32_t DSchedContinue::UpdateElementInfo(std::shared_ptr<DSchedContinueDataCmd>
}
auto element = cmd->want_.GetElement();
DmsAbilityInfo finalAbility = result[0];
HILOGD("UpdateElementInfo final sink ability total:%{public}d; detail info: "
HILOGD("UpdateElementInfo final sink ability detail info: "
"bundleName: %{public}s; abilityName: %{public}s; moduleName: %{public}s",
result.size(), cmd->dstBundleName_.c_str(),
finalAbility.abilityName.c_str(), finalAbility.moduleName.c_str());
cmd->dstBundleName_.c_str(), finalAbility.abilityName.c_str(), finalAbility.moduleName.c_str());
cmd->want_.SetElementName(element.GetDeviceID(), cmd->dstBundleName_, finalAbility.abilityName,
finalAbility.moduleName);
return ERR_OK;

View File

@ -34,7 +34,6 @@ config("test_config") {
"${distributed_service}/dtbschedmgr/include/continue/state/sink_state",
"${distributed_service}/dtbschedmgr/include/distributedWant",
"${distributed_service}/dtbschedmgr/include/softbus_adapter/transport",
"${distributed_service}/dtbschedmgr/include/mission",
"${distributed_service}/dtbschedmgr/test/unittest",
"${dms_path}/common/include",
"${dms_path}/interfaces/innerkits/distributed_event/include",

View File

@ -20,7 +20,7 @@
#include "dtbschedmgr_log.h"
#include "softbus_error_code.h"
#include "test_log.h"
#include "distributed_bm_storage.h"
#include "mission/distributed_bm_storage.h"
using namespace testing;
using namespace testing::ext;