mirror of
https://gitee.com/openharmony/ability_dmsfwk
synced 2024-11-23 06:20:07 +00:00
codecheck
Signed-off-by: MisterE <smart_e@126.com>
This commit is contained in:
parent
3d890c26db
commit
4c608e7eb5
@ -450,10 +450,9 @@ int32_t DSchedContinue::UpdateElementInfo(std::shared_ptr<DSchedContinueDataCmd>
|
|||||||
}
|
}
|
||||||
auto element = cmd->want_.GetElement();
|
auto element = cmd->want_.GetElement();
|
||||||
DmsAbilityInfo finalAbility = result[0];
|
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",
|
"bundleName: %{public}s; abilityName: %{public}s; moduleName: %{public}s",
|
||||||
result.size(), cmd->dstBundleName_.c_str(),
|
cmd->dstBundleName_.c_str(), finalAbility.abilityName.c_str(), finalAbility.moduleName.c_str());
|
||||||
finalAbility.abilityName.c_str(), finalAbility.moduleName.c_str());
|
|
||||||
cmd->want_.SetElementName(element.GetDeviceID(), cmd->dstBundleName_, finalAbility.abilityName,
|
cmd->want_.SetElementName(element.GetDeviceID(), cmd->dstBundleName_, finalAbility.abilityName,
|
||||||
finalAbility.moduleName);
|
finalAbility.moduleName);
|
||||||
return ERR_OK;
|
return ERR_OK;
|
||||||
|
@ -34,7 +34,6 @@ config("test_config") {
|
|||||||
"${distributed_service}/dtbschedmgr/include/continue/state/sink_state",
|
"${distributed_service}/dtbschedmgr/include/continue/state/sink_state",
|
||||||
"${distributed_service}/dtbschedmgr/include/distributedWant",
|
"${distributed_service}/dtbschedmgr/include/distributedWant",
|
||||||
"${distributed_service}/dtbschedmgr/include/softbus_adapter/transport",
|
"${distributed_service}/dtbschedmgr/include/softbus_adapter/transport",
|
||||||
"${distributed_service}/dtbschedmgr/include/mission",
|
|
||||||
"${distributed_service}/dtbschedmgr/test/unittest",
|
"${distributed_service}/dtbschedmgr/test/unittest",
|
||||||
"${dms_path}/common/include",
|
"${dms_path}/common/include",
|
||||||
"${dms_path}/interfaces/innerkits/distributed_event/include",
|
"${dms_path}/interfaces/innerkits/distributed_event/include",
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
#include "dtbschedmgr_log.h"
|
#include "dtbschedmgr_log.h"
|
||||||
#include "softbus_error_code.h"
|
#include "softbus_error_code.h"
|
||||||
#include "test_log.h"
|
#include "test_log.h"
|
||||||
#include "distributed_bm_storage.h"
|
#include "mission/distributed_bm_storage.h"
|
||||||
|
|
||||||
using namespace testing;
|
using namespace testing;
|
||||||
using namespace testing::ext;
|
using namespace testing::ext;
|
||||||
|
Loading…
Reference in New Issue
Block a user