!278 fix review code issue

Merge pull request !278 from zhangmingxiang/0714-1
This commit is contained in:
openharmony_ci
2022-07-14 07:28:37 +00:00
committed by Gitee
21 changed files with 73 additions and 14 deletions
@@ -16,10 +16,14 @@
#ifndef OHOS_DISTRIBUTED_DNETWORK_ADAPTER_H
#define OHOS_DISTRIBUTED_DNETWORK_ADAPTER_H
#include <iosfwd>
#include <memory>
#include <mutex>
#include <set>
#include <string>
#include "event_handler.h"
#include "nocopyable.h"
#include "softbus_bus_center.h"
namespace OHOS {
@@ -16,6 +16,7 @@
#ifndef OHOS_DISTRIBUTED_DMS_DEVICE_INFO_H
#define OHOS_DISTRIBUTED_DMS_DEVICE_INFO_H
#include <iosfwd>
#include <string>
#include "parcel.h"
@@ -16,7 +16,10 @@
#ifndef OHOS_DISTRIBUTED_DEVICE_NODE_LISTENER_H
#define OHOS_DISTRIBUTED_DEVICE_NODE_LISTENER_H
#include <iosfwd>
#include "adapter/dnetwork_adapter.h"
#include "softbus_bus_center.h"
namespace OHOS {
namespace DistributedSchedule {
@@ -16,12 +16,13 @@
#include "adapter/dnetwork_adapter.h"
#include <chrono>
#include <mutex>
#include <functional>
#include <thread>
#include <unistd.h>
#include "datetime_ex.h"
#include "errors.h"
#include "dtbschedmgr_log.h"
#include "event_runner.h"
namespace OHOS {
namespace DistributedSchedule {
@@ -15,7 +15,6 @@
#include "deviceManager/dms_device_info.h"
#include "dtbschedmgr_log.h"
#include "parcel_helper.h"
#include "string_ex.h"
@@ -15,6 +15,9 @@
#include "distributed_device_node_listener.h"
#include <memory>
#include <string>
#include "deviceManager/dms_device_info.h"
#include "dtbschedmgr_device_info_storage.h"
#include "dtbschedmgr_log.h"
@@ -16,12 +16,17 @@
#ifndef OHOS_DISTRIBUTED_ABILITY_MANAGER_APP_DEVICE_CALLBACK_STUB_H
#define OHOS_DISTRIBUTED_ABILITY_MANAGER_APP_DEVICE_CALLBACK_STUB_H
#include <map>
#include <iosfwd>
#include <vector>
#include "continuation_result.h"
#include "dms_notifier.h"
#include "iapp_device_callback_interface.h"
#include "iremote_stub.h"
#include "message_option.h"
#include "message_parcel.h"
#include "nocopyable.h"
#include "refbase.h"
namespace OHOS {
namespace DistributedSchedule {
@@ -16,6 +16,7 @@
#ifndef OHOS_DISTRIBUTED_ABILITY_MANAGER_CONNECT_STATUS_INFO_H
#define OHOS_DISTRIBUTED_ABILITY_MANAGER_CONNECT_STATUS_INFO_H
#include <iosfwd>
#include <string>
#include "device_connect_status.h"
@@ -16,10 +16,14 @@
#ifndef OHOS_DISTRIBUTED_ABILITY_MANAGER_DEVICE_SELECTION_NOTIFIER_PROXY_H
#define OHOS_DISTRIBUTED_ABILITY_MANAGER_DEVICE_SELECTION_NOTIFIER_PROXY_H
#include "idevice_selection_notifier.h"
#include <functional>
#include <iosfwd>
#include <vector>
#include "iremote_object.h"
#include "idevice_selection_notifier.h"
#include "iremote_broker.h"
#include "iremote_proxy.h"
#include "refbase.h"
namespace OHOS {
namespace DistributedSchedule {
@@ -18,6 +18,7 @@
#include "dms_notifier.h"
#include "iremote_object.h"
#include "refbase.h"
namespace OHOS {
namespace DistributedSchedule {
@@ -16,10 +16,15 @@
#ifndef OHOS_DISTRIBUTED_ABILITY_MANAGER_NOTIFIER_INFO_H
#define OHOS_DISTRIBUTED_ABILITY_MANAGER_NOTIFIER_INFO_H
#include <functional>
#include <iosfwd>
#include <map>
#include <memory>
#include <string>
#include "connect_status_info.h"
#include "iremote_object.h"
#include "refbase.h"
namespace OHOS {
namespace DistributedSchedule {
@@ -16,12 +16,15 @@
#ifndef OHOS_DISTRIBUTED_ABILITY_MANAGER_STUB_H
#define OHOS_DISTRIBUTED_ABILITY_MANAGER_STUB_H
#include <functional>
#include <map>
#include "distributed_ability_manager_interface.h"
#include "ipc_skeleton.h"
#include "ipc_types.h"
#include "iremote_stub.h"
#include "message_option.h"
#include "message_parcel.h"
#include "refbase.h"
namespace OHOS {
namespace DistributedSchedule {
@@ -15,7 +15,11 @@
#include "continuationManager/app_device_callback_stub.h"
#include <string>
#include "continuation_extra_params.h"
#include "dtbschedmgr_log.h"
#include "ipc_object_stub.h"
#include "ipc_types.h"
#include "parcel_helper.h"
@@ -15,8 +15,6 @@
#include "continuationManager/connect_status_info.h"
#include "dtbschedmgr_log.h"
namespace OHOS {
namespace DistributedSchedule {
namespace {
@@ -15,6 +15,9 @@
#include "continuation_extra_params.h"
#include <iosfwd>
#include <new>
#include "dtbschedmgr_log.h"
namespace OHOS {
@@ -15,6 +15,11 @@
#include "continuation_result.h"
#include <cstddef>
#include <iosfwd>
#include <new>
#include <vector>
#include "dtbschedmgr_log.h"
#include "string_ex.h"
@@ -15,9 +15,13 @@
#include "continuationManager/device_selection_notifier_proxy.h"
#include <string>
#include "continuation_result.h"
#include "dtbschedmgr_log.h"
#include "ipc_object_proxy.h"
#include "ipc_types.h"
#include "iremote_object.h"
#include "message_option.h"
#include "message_parcel.h"
#include "parcel_helper.h"
namespace OHOS {
@@ -15,7 +15,14 @@
#include "device_selection_notifier_stub.h"
#include <iosfwd>
#include <string>
#include <vector>
#include "dtbschedmgr_log.h"
#include "errors.h"
#include "ipc_object_stub.h"
#include "ipc_types.h"
#include "parcel_helper.h"
namespace OHOS {
@@ -15,8 +15,10 @@
#include "continuationManager/notifier_death_recipient.h"
#include <iosfwd>
#include <string>
#include "dtbschedmgr_log.h"
#include "iremote_proxy.h"
namespace OHOS {
namespace DistributedSchedule {
@@ -15,8 +15,6 @@
#include "continuationManager/notifier_info.h"
#include "dtbschedmgr_log.h"
namespace OHOS {
namespace DistributedSchedule {
namespace {
@@ -15,7 +15,15 @@
#include "distributed_ability_manager_stub.h"
#include <iosfwd>
#include <memory>
#include <string>
#include <utility>
#include "continuation_extra_params.h"
#include "device_connect_status.h"
#include "dtbschedmgr_log.h"
#include "iremote_object.h"
#include "parcel_helper.h"
namespace OHOS {