diff --git a/common/src/ipc/standard/ipc_model_codec.cpp b/common/src/ipc/standard/ipc_model_codec.cpp index e582e1bcd8eabac56fe5bb5dc5acecc1fcc225cf..63c05ae86989b470ecd36528fceafde5a3072e45 100644 --- a/common/src/ipc/standard/ipc_model_codec.cpp +++ b/common/src/ipc/standard/ipc_model_codec.cpp @@ -35,6 +35,7 @@ constexpr uint32_t IPC_VECTOR_MAX_SIZE = 1000; } \ } while (0) +//LCOV_EXCL_START void IpcModelCodec::DecodeDmDeviceBasicInfo(MessageParcel &parcel, DmDeviceBasicInfo &devInfo) { std::string deviceIdStr = parcel.ReadString(); @@ -478,6 +479,6 @@ bool IpcModelCodec::DecodeStringVector(MessageParcel &parcel, std::vectortype == ConnectionAddrType::CONNECTION_ADDR_ETH) { @@ -1004,6 +1005,7 @@ void SoftbusListener::ParseConnAddrInfo(const ConnectionAddr *addrInfo, JsonObje LOGI("Unknown connection address type: %{public}d.", addrInfo->type); } } +//LCOV_EXCL_STOP int32_t SoftbusListener::GetNetworkTypeByNetworkId(const char *networkId, int32_t &networkType) { @@ -1288,6 +1290,7 @@ int32_t SoftbusListener::SetLocalDisplayName(const std::string &displayName) return DM_OK; } +//LCOV_EXCL_START #if !(defined(__LITEOS_M__) || defined(LITE_DEVICE)) void SoftbusListener::ConvertAclToDeviceInfo(DistributedDeviceProfile::AccessControlProfile &profile, DmDeviceInfo &deviceInfo) @@ -1524,5 +1527,6 @@ int32_t SoftbusListener::PutOstypeData(const std::string &peerUdid, int32_t osTy return KVAdapterManager::GetInstance().PutOstypeData(peerUdid, osTypeStr); } #endif +//LCOV_EXCL_STOP } // namespace DistributedHardware } // namespace OHOS \ No newline at end of file