diff --git a/test/fuzztest/service/getdelaytimestub_fuzzer/getdelaytimestub_fuzzer.cpp b/test/fuzztest/service/getdelaytimestub_fuzzer/getdelaytimestub_fuzzer.cpp index 660cd81078d2b18dc908a6103586e887528102af..87344626b06b805fff7f5e9a536203719d564219 100644 --- a/test/fuzztest/service/getdelaytimestub_fuzzer/getdelaytimestub_fuzzer.cpp +++ b/test/fuzztest/service/getdelaytimestub_fuzzer/getdelaytimestub_fuzzer.cpp @@ -73,8 +73,8 @@ bool OnRemoteRequestFuzzTest(const uint8_t *data, size_t size) datas, reply, option); return true; } -} // namespace Sensors -} // namespace OHOS +} // namespace Sensors +} // namespace OHOS extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { diff --git a/test/fuzztest/service/getlightliststub_fuzzer/getlightliststub_fuzzer.cpp b/test/fuzztest/service/getlightliststub_fuzzer/getlightliststub_fuzzer.cpp index 1a1101567ec46dc9289cdb612a88f11f30daaf0f..22f9e0431b28cdc6ca1fa539dc6f02e8c89e0056 100644 --- a/test/fuzztest/service/getlightliststub_fuzzer/getlightliststub_fuzzer.cpp +++ b/test/fuzztest/service/getlightliststub_fuzzer/getlightliststub_fuzzer.cpp @@ -73,8 +73,8 @@ bool OnRemoteRequestFuzzTest(const uint8_t *data, size_t size) datas, reply, option); return true; } -} // namespace Sensors -} // namespace OHOS +} // namespace Sensors +} // namespace OHOS extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { diff --git a/test/fuzztest/service/getvibratorcapacitystub_fuzzer/getvibratorcapacitystub_fuzzer.cpp b/test/fuzztest/service/getvibratorcapacitystub_fuzzer/getvibratorcapacitystub_fuzzer.cpp index 086c3e85296ce7c7d11657a4af6de9b3bcd86baa..0d7aa620354d814b66faf478478cc20ae2c434e9 100644 --- a/test/fuzztest/service/getvibratorcapacitystub_fuzzer/getvibratorcapacitystub_fuzzer.cpp +++ b/test/fuzztest/service/getvibratorcapacitystub_fuzzer/getvibratorcapacitystub_fuzzer.cpp @@ -73,8 +73,8 @@ bool OnRemoteRequestFuzzTest(const uint8_t *data, size_t size) datas, reply, option); return true; } -} // namespace Sensors -} // namespace OHOS +} // namespace Sensors +} // namespace OHOS extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { diff --git a/test/fuzztest/service/issupporteffectstub_fuzzer/issupporteffectstub_fuzzer.cpp b/test/fuzztest/service/issupporteffectstub_fuzzer/issupporteffectstub_fuzzer.cpp index 149a8e6050eff15361e703661ba7259bbf46e2e6..e1c95499d998ce05d86e7c175c9f62a137a87509 100644 --- a/test/fuzztest/service/issupporteffectstub_fuzzer/issupporteffectstub_fuzzer.cpp +++ b/test/fuzztest/service/issupporteffectstub_fuzzer/issupporteffectstub_fuzzer.cpp @@ -73,8 +73,8 @@ bool OnRemoteRequestFuzzTest(const uint8_t *data, size_t size) datas, reply, option); return true; } -} // namespace Sensors -} // namespace OHOS +} // namespace Sensors +} // namespace OHOS extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { diff --git a/test/fuzztest/service/playpatternstub_fuzzer/playpatternstub_fuzzer.cpp b/test/fuzztest/service/playpatternstub_fuzzer/playpatternstub_fuzzer.cpp index 1bab607f19e14422f7ab0efc9cd35afced279ed0..cf8111e97776471b0c6bcf1a6bed9fc3236800ff 100644 --- a/test/fuzztest/service/playpatternstub_fuzzer/playpatternstub_fuzzer.cpp +++ b/test/fuzztest/service/playpatternstub_fuzzer/playpatternstub_fuzzer.cpp @@ -73,8 +73,8 @@ bool OnRemoteRequestFuzzTest(const uint8_t *data, size_t size) datas, reply, option); return true; } -} // namespace Sensors -} // namespace OHOS +} // namespace Sensors +} // namespace OHOS extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { diff --git a/test/fuzztest/service/playprimitiveeffectstub_fuzzer/playprimitiveeffectstub_fuzzer.cpp b/test/fuzztest/service/playprimitiveeffectstub_fuzzer/playprimitiveeffectstub_fuzzer.cpp index 365b8f73ad9aab9128c9616d4db862e4c79c2636..077c9a6270b20b47510194ba2590fbdb7171ab22 100644 --- a/test/fuzztest/service/playprimitiveeffectstub_fuzzer/playprimitiveeffectstub_fuzzer.cpp +++ b/test/fuzztest/service/playprimitiveeffectstub_fuzzer/playprimitiveeffectstub_fuzzer.cpp @@ -73,8 +73,8 @@ bool OnRemoteRequestFuzzTest(const uint8_t *data, size_t size) datas, reply, option); return true; } -} // namespace Sensors -} // namespace OHOS +} // namespace Sensors +} // namespace OHOS extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { diff --git a/test/fuzztest/service/playvibratorcustomstub_fuzzer/playvibratorcustomstub_fuzzer.cpp b/test/fuzztest/service/playvibratorcustomstub_fuzzer/playvibratorcustomstub_fuzzer.cpp index 91e5790566ee7a9479ccf0e2ff9bacae5113df3e..9e3f5861a6a9b288dbf9ffee639bc4605bcf981b 100644 --- a/test/fuzztest/service/playvibratorcustomstub_fuzzer/playvibratorcustomstub_fuzzer.cpp +++ b/test/fuzztest/service/playvibratorcustomstub_fuzzer/playvibratorcustomstub_fuzzer.cpp @@ -73,8 +73,8 @@ bool OnRemoteRequestFuzzTest(const uint8_t *data, size_t size) datas, reply, option); return true; } -} // namespace Sensors -} // namespace OHOS +} // namespace Sensors +} // namespace OHOS extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { diff --git a/test/fuzztest/service/playvibratoreffectstub_fuzzer/playvibratoreffectstub_fuzzer.cpp b/test/fuzztest/service/playvibratoreffectstub_fuzzer/playvibratoreffectstub_fuzzer.cpp index 15b4b2d4ab3f038974b7fd4de649f1b05d4fad2a..60f4679dee97af1b64485329a29907f74868a0ac 100644 --- a/test/fuzztest/service/playvibratoreffectstub_fuzzer/playvibratoreffectstub_fuzzer.cpp +++ b/test/fuzztest/service/playvibratoreffectstub_fuzzer/playvibratoreffectstub_fuzzer.cpp @@ -73,8 +73,8 @@ bool OnRemoteRequestFuzzTest(const uint8_t *data, size_t size) datas, reply, option); return true; } -} // namespace Sensors -} // namespace OHOS +} // namespace Sensors +} // namespace OHOS extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { diff --git a/test/fuzztest/service/stopvibratorallstub_fuzzer/stopvibratorallstub_fuzzer.cpp b/test/fuzztest/service/stopvibratorallstub_fuzzer/stopvibratorallstub_fuzzer.cpp index e8c2a9a9d310e56d12afa76a9090dd9f5b488d2c..6fe716591c0206e3c8db6570c4c78eaec9558e8e 100644 --- a/test/fuzztest/service/stopvibratorallstub_fuzzer/stopvibratorallstub_fuzzer.cpp +++ b/test/fuzztest/service/stopvibratorallstub_fuzzer/stopvibratorallstub_fuzzer.cpp @@ -73,8 +73,8 @@ bool OnRemoteRequestFuzzTest(const uint8_t *data, size_t size) datas, reply, option); return true; } -} // namespace Sensors -} // namespace OHOS +} // namespace Sensors +} // namespace OHOS extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { diff --git a/test/fuzztest/service/stopvibratorbymodestub_fuzzer/stopvibratorbymodestub_fuzzer.cpp b/test/fuzztest/service/stopvibratorbymodestub_fuzzer/stopvibratorbymodestub_fuzzer.cpp index 2bc636e8306d36a18f70b205a131e1a2165f4498..268601f7f1848fd660d87f53fb6266ca9d7b6a8c 100644 --- a/test/fuzztest/service/stopvibratorbymodestub_fuzzer/stopvibratorbymodestub_fuzzer.cpp +++ b/test/fuzztest/service/stopvibratorbymodestub_fuzzer/stopvibratorbymodestub_fuzzer.cpp @@ -73,8 +73,8 @@ bool OnRemoteRequestFuzzTest(const uint8_t *data, size_t size) datas, reply, option); return true; } -} // namespace Sensors -} // namespace OHOS +} // namespace Sensors +} // namespace OHOS extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { diff --git a/test/fuzztest/service/transferclientremoteobjectstub_fuzzer/transferclientremoteobjectstub_fuzzer.cpp b/test/fuzztest/service/transferclientremoteobjectstub_fuzzer/transferclientremoteobjectstub_fuzzer.cpp index f71574cd4e4cbe46734a32206fbab9f4a057e698..4e4da6f60f55fde48460ac7a841e6919d77182f9 100644 --- a/test/fuzztest/service/transferclientremoteobjectstub_fuzzer/transferclientremoteobjectstub_fuzzer.cpp +++ b/test/fuzztest/service/transferclientremoteobjectstub_fuzzer/transferclientremoteobjectstub_fuzzer.cpp @@ -73,8 +73,8 @@ bool OnRemoteRequestFuzzTest(const uint8_t *data, size_t size) datas, reply, option); return true; } -} // namespace Sensors -} // namespace OHOS +} // namespace Sensors +} // namespace OHOS extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { diff --git a/test/fuzztest/service/turnoffstub_fuzzer/turnoffstub_fuzzer.cpp b/test/fuzztest/service/turnoffstub_fuzzer/turnoffstub_fuzzer.cpp index d7a42627b9f631d3e798078d2e989e7de672326f..34e02943e684f89c86d2ca8bd4286201faa08bab 100644 --- a/test/fuzztest/service/turnoffstub_fuzzer/turnoffstub_fuzzer.cpp +++ b/test/fuzztest/service/turnoffstub_fuzzer/turnoffstub_fuzzer.cpp @@ -73,8 +73,8 @@ bool OnRemoteRequestFuzzTest(const uint8_t *data, size_t size) datas, reply, option); return true; } -} // namespace Sensors -} // namespace OHOS +} // namespace Sensors +} // namespace OHOS extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { diff --git a/test/fuzztest/service/turnonstub_fuzzer/turnonstub_fuzzer.cpp b/test/fuzztest/service/turnonstub_fuzzer/turnonstub_fuzzer.cpp index 78388f2d40fade5c0bacf2ea26557d7cfa1eb424..8eb483a1cef684627e395efed2ee484186e045aa 100644 --- a/test/fuzztest/service/turnonstub_fuzzer/turnonstub_fuzzer.cpp +++ b/test/fuzztest/service/turnonstub_fuzzer/turnonstub_fuzzer.cpp @@ -73,8 +73,8 @@ bool OnRemoteRequestFuzzTest(const uint8_t *data, size_t size) datas, reply, option); return true; } -} // namespace Sensors -} // namespace OHOS +} // namespace Sensors +} // namespace OHOS extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { diff --git a/test/fuzztest/service/vibratestub_fuzzer/vibratestub_fuzzer.cpp b/test/fuzztest/service/vibratestub_fuzzer/vibratestub_fuzzer.cpp index 08d089ad24649ad1afbbcc5822409145815109c9..93e3a3ed0562266c1eb49f6988b65ae57589d87d 100644 --- a/test/fuzztest/service/vibratestub_fuzzer/vibratestub_fuzzer.cpp +++ b/test/fuzztest/service/vibratestub_fuzzer/vibratestub_fuzzer.cpp @@ -73,8 +73,8 @@ bool OnRemoteRequestFuzzTest(const uint8_t *data, size_t size) datas, reply, option); return true; } -} // namespace Sensors -} // namespace OHOS +} // namespace Sensors +} // namespace OHOS extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { diff --git a/test/fuzztest/service/vibratoronremoterequest_fuzzer/vibratoronremoterequest_fuzzer.cpp b/test/fuzztest/service/vibratoronremoterequest_fuzzer/vibratoronremoterequest_fuzzer.cpp index cd1e9554bfac402402981bd86c7fbf4e58ee6c37..1f2a115599c8a446a7af62cc28125fcdcd1dd7d0 100644 --- a/test/fuzztest/service/vibratoronremoterequest_fuzzer/vibratoronremoterequest_fuzzer.cpp +++ b/test/fuzztest/service/vibratoronremoterequest_fuzzer/vibratoronremoterequest_fuzzer.cpp @@ -84,8 +84,8 @@ bool OnRemoteRequestFuzzTest(const uint8_t *data, size_t size) g_service->OnRemoteRequest(code, datas, reply, option); return true; } -} // namespace Sensors -} // namespace OHOS +} // namespace Sensors +} // namespace OHOS extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { diff --git a/test/unittest/light/light_agent_test.cpp b/test/unittest/light/light_agent_test.cpp index 1535369b558e88188611c3f1c60ad39596dcf190..9715930c09d487ea50e48f26fa5145b1b1779477 100644 --- a/test/unittest/light/light_agent_test.cpp +++ b/test/unittest/light/light_agent_test.cpp @@ -55,7 +55,7 @@ HapInfoParams g_infoManagerTestInfoParms = { .instIndex = 0, .appIDDesc = "LightAgentTest" }; -} // namespace +} // namespace class LightAgentTest : public testing::Test { public: @@ -346,5 +346,5 @@ HWTEST_F(LightAgentTest, StartLightTest_011, TestSize.Level1) int32_t ret = TurnOff(g_invalidLightId); ASSERT_EQ(ret, -1); } -} // namespace Sensors -} // namespace OHOS +} // namespace Sensors +} // namespace OHOS diff --git a/test/unittest/vibrator/capi/vibrator_test.cpp b/test/unittest/vibrator/capi/vibrator_test.cpp index f6858db094a94e64f8fb9b234e9de7116be2a5fa..029c422e802c971f31d18905c2ca4073d6ddd2ad 100644 --- a/test/unittest/vibrator/capi/vibrator_test.cpp +++ b/test/unittest/vibrator/capi/vibrator_test.cpp @@ -60,7 +60,7 @@ HapInfoParams infoManagerTestInfoParms_ = { .instIndex = 0, .appIDDesc = "NativeVibratorTest" }; -} // namespace +} // namespace class NativeVibratorTest : public testing::Test { public: @@ -426,5 +426,5 @@ HWTEST_F(NativeVibratorTest, OH_Vibrator_PlayVibrationCustom_024, TestSize.Level std::this_thread::sleep_for(std::chrono::milliseconds(TIME_WAIT_FOR_OP)); OH_Vibrator_Cancel(); } -} // namespace Sensors -} // namespace OHOS +} // namespace Sensors +} // namespace OHOS diff --git a/test/unittest/vibrator/native/vibrator_agent_test.cpp b/test/unittest/vibrator/native/vibrator_agent_test.cpp index 28a012b191ce852f921c7dd9e81930c8fcace744..9def4b568a30410f2914edc58d1570a0528aacaa 100644 --- a/test/unittest/vibrator/native/vibrator_agent_test.cpp +++ b/test/unittest/vibrator/native/vibrator_agent_test.cpp @@ -64,7 +64,7 @@ HapInfoParams g_infoManagerTestInfoParms = { .instIndex = 0, .appIDDesc = "vibratorAgentTest" }; -} // namespace +} // namespace class VibratorAgentTest : public testing::Test { public: @@ -1294,5 +1294,5 @@ HWTEST_F(VibratorAgentTest, IsHdHapticSupported_001, TestSize.Level1) bool ret = IsHdHapticSupported(); MISC_HILOGI("IsHdHapticSupported:%{public}s", ret ? "true" : "false"); } -} // namespace Sensors -} // namespace OHOS +} // namespace Sensors +} // namespace OHOS