diff --git a/interfaces/inner_kits/native_cpp/src/ipc/standard/ipc_client_manager.cpp b/interfaces/inner_kits/native_cpp/src/ipc/standard/ipc_client_manager.cpp index ca6d2307db5ed6524e5559d37086a1239ca3df56..efe7b17aa13d8c7f4c94bc44e761f7b471e65c21 100644 --- a/interfaces/inner_kits/native_cpp/src/ipc/standard/ipc_client_manager.cpp +++ b/interfaces/inner_kits/native_cpp/src/ipc/standard/ipc_client_manager.cpp @@ -43,11 +43,12 @@ void DmDeathRecipient::OnRemoteDied(const wptr &remote) int32_t IpcClientManager::ClientInit() { + LOGI("Start"); if (dmInterface_ != nullptr) { - LOGD("Already Init"); + LOGI("DeviceManagerService Already Init"); return DM_OK; } - LOGI("Start"); + auto samgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); if (samgr == nullptr) { LOGE("Get SystemAbilityManager Failed"); @@ -68,7 +69,7 @@ int32_t IpcClientManager::ClientInit() LOGE("InitDeviceManagerService: AddDeathRecipient Failed"); } dmInterface_ = iface_cast(object); - LOGD("Completed"); + LOGI("Completed"); return DM_OK; } @@ -85,7 +86,11 @@ int32_t IpcClientManager::Init(const std::string &pkgName) LOGE("InitDeviceManager Failed with ret %{public}d", ret); return ret; } - CHECK_SIZE_RETURN(dmListener_, ERR_DM_FAILED); + if (dmListener_.size() >= MAX_CONTAINER_SIZE) { + LOGE("dmListener_ size is more than max size"); + return ERR_DM_FAILED; + } + sptr listener = sptr(new IpcClientStub()); std::shared_ptr req = std::make_shared(); std::shared_ptr rsp = std::make_shared(); @@ -111,7 +116,7 @@ int32_t IpcClientManager::UnInit(const std::string &pkgName) LOGE("Invalid parameter, pkgName is empty."); return ERR_DM_INPUT_PARA_INVALID; } - LOGI("pkgName %{public}s", pkgName.c_str()); + LOGI("UnInit in, pkgName %{public}s", pkgName.c_str()); std::lock_guard autoLock(lock_); if (dmInterface_ == nullptr) { LOGE("DeviceManager not Init"); @@ -136,7 +141,7 @@ int32_t IpcClientManager::UnInit(const std::string &pkgName) } dmInterface_ = nullptr; } - LOGD("completed, pkgName: %{public}s", pkgName.c_str()); + LOGI("completed, pkgName: %{public}s", pkgName.c_str()); return DM_OK; } @@ -161,7 +166,7 @@ int32_t IpcClientManager::SendRequest(int32_t cmdCode, std::shared_ptr r int32_t IpcClientManager::OnDmServiceDied() { - LOGI("begin"); + LOGI("IpcClientManager::OnDmServiceDied begin"); { std::lock_guard autoLock(lock_); if (dmInterface_ == nullptr) { @@ -174,7 +179,7 @@ int32_t IpcClientManager::OnDmServiceDied() } dmInterface_ = nullptr; } - LOGD("complete"); + LOGI("IpcClientManager::OnDmServiceDied complete"); return DM_OK; } diff --git a/interfaces/kits/ndk/include/dm_client.h b/interfaces/kits/ndk/include/dm_client.h index 1201d76c2f18cd50e9e2a7ad3ae50944b632a2c1..b59b840dba4ba2ce514a2fa0b973e6fe1e6d8551 100644 --- a/interfaces/kits/ndk/include/dm_client.h +++ b/interfaces/kits/ndk/include/dm_client.h @@ -30,6 +30,13 @@ public: int32_t UnInit(); int32_t ReInit(); int32_t GetLocalDeviceName(std::string &deviceName); +private: + DmClient() = default; + ~DmClient() = default; + DmClient(const DmClient &) = delete; + DmClient &operator=(const DmClient &) = delete; + DmClient(DmClient &&) = delete; + DmClient &operator=(DmClient &&) = delete; private: std::mutex initMtx_; std::string pkgName_ = ""; diff --git a/interfaces/kits/ndk/src/dm_client.cpp b/interfaces/kits/ndk/src/dm_client.cpp index 2d5c6273e40a7402a385d48b4f922b370f3136a0..6eeae32881e1bdb5542b639bbda45bafe2c5335d 100644 --- a/interfaces/kits/ndk/src/dm_client.cpp +++ b/interfaces/kits/ndk/src/dm_client.cpp @@ -78,7 +78,7 @@ int32_t DmClient::GetLocalDeviceName(std::string &deviceName) ret = DeviceManager::GetInstance().GetLocalDeviceName(deviceName); if (ret != DM_OK) { LOGE("Get local device name failed, ret=%{public}d", ret); - return DM_ERR_OBTAIN_BUNDLE_NAME; + return DM_ERR_FAILED; } return ERR_OK; } diff --git a/services/implementation/src/attest/dm_auth_attest_common.cpp b/services/implementation/src/attest/dm_auth_attest_common.cpp index 2ac048f9d4328f2e79416b6e7d10eaebb9818411..de2ad7ce777d0cb0f37adf5ce0c7ab27b4a11da8 100644 --- a/services/implementation/src/attest/dm_auth_attest_common.cpp +++ b/services/implementation/src/attest/dm_auth_attest_common.cpp @@ -92,6 +92,10 @@ bool ValidateInputJson(const std::string &data) bool ProcessCertItem(const JsonItemObject &item, DmBlob &cert, uint32_t processedIndex) { + if (!item.IsString()) { + LOGE("input param is invalid."); + return false; + } std::string hexStr = item.Get(); const size_t hexLen = hexStr.length(); if (hexLen == 0 || hexLen % HEX_TO_UINT8 != 0) { @@ -158,12 +162,7 @@ bool AuthAttestCommon::DeserializeDmCertChain(const std::string &data, DmCertCha delete[] certs; return false; } - if (outChain->cert != nullptr) { - for (uint32_t i = 0; i < outChain->certCount; ++i) { - delete[] outChain->cert[i].data; - } - delete[] outChain->cert; - } + FreeDmCertChain(*outChain); outChain->cert = certs; outChain->certCount = certCount; return true; @@ -171,16 +170,19 @@ bool AuthAttestCommon::DeserializeDmCertChain(const std::string &data, DmCertCha void AuthAttestCommon::FreeDmCertChain(DmCertChain &chain) { - if (chain.cert != nullptr) { - for (uint32_t i = 0; i < chain.certCount; ++i) { + if (chain.cert == nullptr) { + return; + } + for (uint32_t i = 0; i < chain.certCount; ++i) { + if (chain.cert[i].data != nullptr) { delete[] chain.cert[i].data; chain.cert[i].data = nullptr; - chain.cert[i].size = 0; } - delete[] chain.cert; - chain.cert = nullptr; - chain.certCount = 0; + chain.cert[i].size = 0; } + delete[] chain.cert; + chain.cert = nullptr; + chain.certCount = 0; } } // namespace DistributedHardware } // namespace OHOS \ No newline at end of file diff --git a/services/implementation/src/attest/dm_auth_cert.cpp b/services/implementation/src/attest/dm_auth_cert.cpp index 1587ae6bc362b6fd00d7d5ca6086155d3ce301b1..4c57a9494784ae98a895b6075a3937a2c138fdb1 100644 --- a/services/implementation/src/attest/dm_auth_cert.cpp +++ b/services/implementation/src/attest/dm_auth_cert.cpp @@ -31,6 +31,11 @@ AuthCert::AuthCert() AuthCert::~AuthCert() { LOGD("AuthCert destructor"); + if (authCertSoHandle_ != nullptr) { + LOGI("dm auth cert authCertSoHandle_ is not nullptr."); + dlclose(authCertSoHandle_); + authCertSoHandle_ = nullptr; + } } bool AuthCert::IsDMAdapterAuthCertLoaded() diff --git a/services/service/include/relationshipsyncmgr/dm_comm_tool.h b/services/service/include/relationshipsyncmgr/dm_comm_tool.h index ca1136c1307ee80cf48903d9ad271f31cc814a31..782c2404c28016e04a2cc8376c402fd47b9e895e 100644 --- a/services/service/include/relationshipsyncmgr/dm_comm_tool.h +++ b/services/service/include/relationshipsyncmgr/dm_comm_tool.h @@ -42,7 +42,7 @@ public: int32_t SendUnBindAppObj(int32_t userId, int32_t tokenId, const std::string &extra, const std::string &networkId, const std::string &udid); - void RspLocalFrontOrBackUserIds(const std::string rmtNetworkId, const std::vector &foregroundUserIds, + void RspLocalFrontOrBackUserIds(const std::string &rmtNetworkId, const std::vector &foregroundUserIds, const std::vector &backgroundUserIds, int32_t socketId); int32_t CreateUserStopMessage(int32_t stopUserId, std::string &msgStr); int32_t SendMsg(const std::string rmtNetworkId, int32_t msgType, const std::string &msg); @@ -51,8 +51,8 @@ public: void ProcessReceiveUserStopEvent(const std::shared_ptr commMsg); void RspUserStop(const std::string rmtNetworkId, int32_t socketId, int32_t stopUserId); void ProcessResponseUserStopEvent(const std::shared_ptr commMsg); - int32_t RspAppUninstall(const std::string rmtNetworkId, int32_t socketId); - int32_t RspAppUnbind(const std::string rmtNetworkId, int32_t socketId); + int32_t RspAppUninstall(const std::string &rmtNetworkId, int32_t socketId); + int32_t RspAppUnbind(const std::string &rmtNetworkId, int32_t socketId); void StopSocket(const std::string &networkId); void ProcessReceiveRspAppUninstallEvent(const std::shared_ptr commMsg); void ProcessReceiveRspAppUnbindEvent(const std::shared_ptr commMsg); @@ -81,8 +81,8 @@ public: int32_t StartCommonEvent(std::string commonEventType, EventCallback eventCallback); void ProcessReceiveCommonEvent(const std::shared_ptr commMsg); void ProcessResponseCommonEvent(const std::shared_ptr commMsg); - void ProcessReceiveUninstAppEvent(const std::shared_ptr commMsg); - void ProcessReceiveUnBindAppEvent(const std::shared_ptr commMsg); + void ProcessReceiveUninstAppEvent(const std::shared_ptr &commMsg); + void ProcessReceiveUnBindAppEvent(const std::shared_ptr &commMsg); private: std::shared_ptr dmTransportPtr_; std::shared_ptr eventHandler_; diff --git a/services/service/src/publishcommonevent/dm_datashare_common_event.cpp b/services/service/src/publishcommonevent/dm_datashare_common_event.cpp index fbf0fc8355d20d296b125e8d1d972834f15fa8d4..a18715aa233f84708fcedcb836b38b1a7059bac1 100644 --- a/services/service/src/publishcommonevent/dm_datashare_common_event.cpp +++ b/services/service/src/publishcommonevent/dm_datashare_common_event.cpp @@ -95,7 +95,6 @@ bool DmDataShareCommonEventManager::SubscribeDataShareCommonEvent(const std::vec return true; } -//LCOV_EXCL_START bool DmDataShareCommonEventManager::UnsubscribeDataShareCommonEvent() { std::lock_guard locker(evenSubscriberMutex_); @@ -131,7 +130,6 @@ bool DmDataShareCommonEventManager::UnsubscribeDataShareCommonEvent() eventValidFlag_ = false; return true; } -//LCOV_EXCL_STOP void DmDataShareEventSubscriber::OnReceiveEvent(const CommonEventData &data) { diff --git a/services/service/src/relationshipsyncmgr/dm_comm_tool.cpp b/services/service/src/relationshipsyncmgr/dm_comm_tool.cpp index 088d4e61c69e6213baedd49124667ae1330eb314..91d0905dcb79fa2867de1562c89e2a2ddfdd9b53 100644 --- a/services/service/src/relationshipsyncmgr/dm_comm_tool.cpp +++ b/services/service/src/relationshipsyncmgr/dm_comm_tool.cpp @@ -110,7 +110,7 @@ int32_t DMCommTool::SendUserIds(const std::string rmtNetworkId, LOGE("Send local foreground userids failed, ret: %{public}d", ret); return ERR_DM_FAILED; } - LOGI("success"); + LOGI("Send local foreground userids success"); return DM_OK; } @@ -159,7 +159,7 @@ int32_t DMCommTool::SendUninstAppObj(int32_t userId, int32_t tokenId, const std: return DM_OK; } -int32_t DMCommTool::RspAppUninstall(const std::string rmtNetworkId, int32_t socketId) +int32_t DMCommTool::RspAppUninstall(const std::string &rmtNetworkId, int32_t socketId) { LOGI("RspAppUninstall Start."); if (dmTransportPtr_ == nullptr) { @@ -184,7 +184,7 @@ int32_t DMCommTool::RspAppUninstall(const std::string rmtNetworkId, int32_t sock return DM_OK; } -int32_t DMCommTool::RspAppUnbind(const std::string rmtNetworkId, int32_t socketId) +int32_t DMCommTool::RspAppUnbind(const std::string &rmtNetworkId, int32_t socketId) { LOGI("RspAppUnbind Start."); if (dmTransportPtr_ == nullptr) { @@ -258,7 +258,7 @@ int32_t DMCommTool::SendUnBindAppObj(int32_t userId, int32_t tokenId, const std: return DM_OK; } -void DMCommTool::RspLocalFrontOrBackUserIds(const std::string rmtNetworkId, +void DMCommTool::RspLocalFrontOrBackUserIds(const std::string &rmtNetworkId, const std::vector &foregroundUserIds, const std::vector &backgroundUserIds, int32_t socketId) { UserIdsMsg userIdsMsg(foregroundUserIds, backgroundUserIds, true); @@ -288,7 +288,7 @@ void DMCommTool::RspLocalFrontOrBackUserIds(const std::string rmtNetworkId, LOGE("Response local foreground userids failed, ret: %{public}d", ret); return; } - LOGI("success"); + LOGI("Response local foreground userids success"); } DMCommTool::DMCommToolEventHandler::DMCommToolEventHandler(const std::shared_ptr runner, @@ -393,7 +393,7 @@ void DMCommTool::DMCommToolEventHandler::HandleLocalUserIdEvent(const std::share void DMCommTool::ProcessReceiveCommonEvent(const std::shared_ptr commMsg) { - LOGI("start"); + LOGI("ProcessReceiveCommonEvent, process and rsp local userid"); std::string rmtUdid = ""; SoftbusCache::GetInstance().GetUdidFromCache(commMsg->remoteNetworkId.c_str(), rmtUdid); if (rmtUdid.empty()) { @@ -436,7 +436,7 @@ void DMCommTool::ProcessReceiveCommonEvent(const std::shared_ptr c void DMCommTool::ProcessResponseCommonEvent(const std::shared_ptr commMsg) { - LOGI("start"); + LOGI("process receive remote userids response"); // step1: close socket this->dmTransportPtr_->StopSocket(commMsg->remoteNetworkId); @@ -462,7 +462,7 @@ void DMCommTool::ProcessResponseCommonEvent(const std::shared_ptr void DMCommTool::ProcessReceiveUserIdsEvent(const std::shared_ptr commMsg) { - LOGI("start"); + LOGI("Receive remote userids, process and rsp local userid"); std::string rmtUdid = ""; SoftbusCache::GetInstance().GetUdidFromCache(commMsg->remoteNetworkId.c_str(), rmtUdid); if (rmtUdid.empty()) { @@ -510,7 +510,7 @@ void DMCommTool::ProcessReceiveUserIdsEvent(const std::shared_ptr } } -void DMCommTool::ProcessReceiveUninstAppEvent(const std::shared_ptr commMsg) +void DMCommTool::ProcessReceiveUninstAppEvent(const std::shared_ptr &commMsg) { if (commMsg == nullptr || commMsg->commMsg == nullptr) { LOGE("commMsg or commMsg->commMsg is null"); @@ -539,7 +539,7 @@ void DMCommTool::ProcessReceiveUninstAppEvent(const std::shared_ptr commMsg) +void DMCommTool::ProcessReceiveUnBindAppEvent(const std::shared_ptr &commMsg) { if (commMsg == nullptr || commMsg->commMsg == nullptr) { LOGE("commMsg or commMsg->commMsg is null"); @@ -569,7 +569,7 @@ void DMCommTool::ProcessReceiveUnBindAppEvent(const std::shared_ptr commMsg) { - LOGI("start"); + LOGI("process receive remote userids response"); // step1: close socket this->dmTransportPtr_->StopSocket(commMsg->remoteNetworkId); @@ -846,7 +846,7 @@ int32_t DMCommTool::SendLogoutAccountInfo(const std::string &rmtNetworkId, LOGE("Send account logout failed, ret: %{public}d", ret); return ERR_DM_FAILED; } - LOGI("success"); + LOGI("Send account logout success"); return DM_OK; } @@ -881,7 +881,7 @@ void DMCommTool::ProcessReceiveLogoutEvent(const std::shared_ptr c } DeviceManagerService::GetInstance().ProcessSyncAccountLogout(logoutAccountMsg.accountId, rmtUdid, logoutAccountMsg.userId); - LOGI("success."); + LOGI("process remote logout success."); } int32_t DMCommTool::StartCommonEvent(std::string commonEventType, EventCallback eventCallback) @@ -891,7 +891,7 @@ int32_t DMCommTool::StartCommonEvent(std::string commonEventType, EventCallback return ERR_DM_INPUT_PARA_INVALID; } CHECK_NULL_RETURN(eventQueue_, ERR_DM_POINT_NULL); - LOGI("start eventType: %{public}s", commonEventType.c_str()); + LOGI("StartCommonEvent start eventType: %{public}s", commonEventType.c_str()); std::lock_guard locker(eventMutex_); auto taskFunc = [eventCallback] () { eventCallback(); }; eventQueue_->submit(taskFunc); diff --git a/services/service/src/softbus/softbus_publish.cpp b/services/service/src/softbus/softbus_publish.cpp index c6ccd4425f086fa19e4777531c28140fb8756c1c..94a605c1424d5e3ecc1614a5e4c0d1614cfb893b 100644 --- a/services/service/src/softbus/softbus_publish.cpp +++ b/services/service/src/softbus/softbus_publish.cpp @@ -40,7 +40,7 @@ std::mutex g_publishMutex; void PublishCommonEventCallback(int32_t bluetoothState, int32_t wifiState, int32_t screenState) { - LOGI("start, bleState: %{public}d, wifiState: %{public}d, screenState: %{public}d", + LOGI("PublishCommonEventCallback start, bleState: %{public}d, wifiState: %{public}d, screenState: %{public}d", bluetoothState, wifiState, screenState); std::lock_guard saLock(g_publishMutex); DmDeviceInfo info; @@ -49,6 +49,7 @@ void PublishCommonEventCallback(int32_t bluetoothState, int32_t wifiState, int32 LOGE("deviceType: %{public}d is watch, not publish", static_cast(info.deviceTypeId)); return; } + LOGI("deviceType: %{public}d", static_cast(info.deviceTypeId)); SoftbusPublish softbusPublish; if (screenState == DM_SCREEN_OFF) { int32_t ret = softbusPublish.StopPublishSoftbusLNN(DISTRIBUTED_HARDWARE_DEVICEMANAGER_SA_ID); @@ -100,7 +101,7 @@ SoftbusPublish::~SoftbusPublish() void SoftbusPublish::OnSoftbusPublishResult(int publishId, PublishResult result) { - LOGD("publishId: %{public}d, result: %{public}d.", publishId, result); + LOGD("OnSoftbusPublishResult, publishId: %{public}d, result: %{public}d.", publishId, result); } int32_t SoftbusPublish::PublishSoftbusLNN() @@ -113,7 +114,10 @@ int32_t SoftbusPublish::PublishSoftbusLNN() publishInfo.capability = DM_CAPABILITY_OSD; publishInfo.ranging = false; - LOGI("Begin"); + LOGI("Begin, publishId: %{public}d, mode: 0x%{public}x, medium: %{public}d, capability:" + "%{public}s, ranging: %{public}d, freq: %{public}d.", publishInfo.publishId, publishInfo.mode, + publishInfo.medium, publishInfo.capability, publishInfo.ranging, publishInfo.freq); + int32_t ret = PublishLNN(DM_PKG_NAME, &publishInfo, &softbusPublishCallback_); if (ret != DM_OK) { LOGE("[SOFTBUS]PublishLNN failed, ret: %{public}d.", ret); diff --git a/test/commonfuzztest/authcredential_fuzzer/auth_credential_fuzzer.h b/test/commonfuzztest/authcredential_fuzzer/auth_credential_fuzzer.h index 6e30090a78af52782e611ce889b13336f8a51412..79e49a457e9e3c1445eecd7c8386e478cb33260e 100644 --- a/test/commonfuzztest/authcredential_fuzzer/auth_credential_fuzzer.h +++ b/test/commonfuzztest/authcredential_fuzzer/auth_credential_fuzzer.h @@ -13,9 +13,9 @@ * limitations under the License. */ -#ifndef AUTH_ACL_FUZZER_H -#define AUTH_ACL_FUZZER_H +#ifndef AUTH_CREDENTIAL_FUZZER_H +#define AUTH_CREDENTIAL_FUZZER_H -#define FUZZ_PROJECT_NAME "authacl_fuzzer" +#define FUZZ_PROJECT_NAME "authcredential_fuzzer" -#endif // AUTH_ACL_FUZZER_H \ No newline at end of file +#endif // AUTH_CREDENTIAL_FUZZER_H \ No newline at end of file diff --git a/test/commonunittest/UTTest_discovery_manager.cpp b/test/commonunittest/UTTest_discovery_manager.cpp index 64fd6de726af282366cfc00d5043f08311923f4f..1fba2eea82e88b311d40fa6d5a4215f82429e7e7 100644 --- a/test/commonunittest/UTTest_discovery_manager.cpp +++ b/test/commonunittest/UTTest_discovery_manager.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Copyright (c) 2024 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at @@ -307,6 +307,27 @@ HWTEST_F(DiscoveryManagerTest, OnDiscoveringResult_003, testing::ext::TestSize.L EXPECT_NE(manager->discoveryContextMap_.empty(), true); } +HWTEST_F(DiscoveryManagerTest, OnDiscoveringResult_004, testing::ext::TestSize.Level0) +{ + std::string pkgName = "pkgName"; + int32_t subscribeId = 1; + int32_t result = 1; + manager->pkgNameSet_.insert(pkgName); + DiscoveryContext context; + manager->discoveryContextMap_.emplace(pkgName, context); + manager->listener_ = std::make_shared(); + manager->OnDiscoveringResult(pkgName, subscribeId, result); + EXPECT_EQ(manager->discoveryContextMap_.empty(), false); +} + +HWTEST_F(DiscoveryManagerTest, StartDiscoveryTimer_001, testing::ext::TestSize.Level0) +{ + manager->timer_ = nullptr; + std::string pkgName = "timeTest"; + manager->StartDiscoveryTimer(pkgName); + EXPECT_EQ(manager->discoveryContextMap_.empty(), false); +} + HWTEST_F(DiscoveryManagerTest, HandleDiscoveryQueue_001, testing::ext::TestSize.Level0) { std::string pkgName = "pkgName"; @@ -356,6 +377,19 @@ HWTEST_F(DiscoveryManagerTest, GetDeviceAclParam_001, testing::ext::TestSize.Lev EXPECT_EQ(ret, DM_OK); } +HWTEST_F(DiscoveryManagerTest, GetCommonDependencyObj_001, testing::ext::TestSize.Level0) +{ + auto ret = manager->GetCommonDependencyObj(); + EXPECT_NE(ret, nullptr); +} + +HWTEST_F(DiscoveryManagerTest, IsCommonDependencyReady_001, testing::ext::TestSize.Level0) +{ + manager->isSoLoaded_ = false; + bool ret = manager->IsCommonDependencyReady(); + EXPECT_EQ(ret, true); +} + HWTEST_F(DiscoveryManagerTest, CloseCommonDependencyObj_001, testing::ext::TestSize.Level0) { manager->isSoLoaded_ = false; diff --git a/test/interfacesfuzztest/devicemanagerimpl_fuzzer/BUILD.gn b/test/interfacesfuzztest/devicemanagerimpl_fuzzer/BUILD.gn index a7e9c70382236ee1d7ae696f97438bb8ea36608b..6a5abb9a62502c5ca118b590a2ffc4bd08843fc8 100755 --- a/test/interfacesfuzztest/devicemanagerimpl_fuzzer/BUILD.gn +++ b/test/interfacesfuzztest/devicemanagerimpl_fuzzer/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright (c) 2022-2024 Huawei Device Co., Ltd. +# Copyright (c) 2025 Huawei Device Co., Ltd. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at diff --git a/test/interfacesfuzztest/devicemanagerimpl_fuzzer/corpus/init b/test/interfacesfuzztest/devicemanagerimpl_fuzzer/corpus/init index 79c5ba7b76709fb31f739049a3ce0441f6af4327..490dc43564005848ae0dfbd1d6f79cd81c28e2db 100755 --- a/test/interfacesfuzztest/devicemanagerimpl_fuzzer/corpus/init +++ b/test/interfacesfuzztest/devicemanagerimpl_fuzzer/corpus/init @@ -1,4 +1,4 @@ -# Copyright (c) 2020-2021 Huawei Device Co., Ltd. +# Copyright (c) 2025 Huawei Device Co., Ltd. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at diff --git a/test/interfacesfuzztest/devicemanagerimpl_fuzzer/project.xml b/test/interfacesfuzztest/devicemanagerimpl_fuzzer/project.xml index afd90798db45dd3853b00cf9c476ad4b245107e1..9613ca7b6153d89b284e3278cfd8a1723dfdf40a 100755 --- a/test/interfacesfuzztest/devicemanagerimpl_fuzzer/project.xml +++ b/test/interfacesfuzztest/devicemanagerimpl_fuzzer/project.xml @@ -1,5 +1,5 @@ -