1 /* 2 * Copyright (c) 2025 Huawei Device Co., Ltd. 3 * Licensed under the Apache License, Version 2.0 (the "License"); 4 * you may not use this file except in compliance with the License. 5 * You may obtain a copy of the License at 6 * 7 * http://www.apache.org/licenses/LICENSE-2.0 8 * 9 * Unless required by applicable law or agreed to in writing, software 10 * distributed under the License is distributed on an "AS IS" BASIS, 11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 * See the License for the specific language governing permissions and 13 * limitations under the License. 14 */ 15 16 #ifndef HIVIEWDFX_HIVIEW_TRACE_TEST_CONTENT_H 17 #define HIVIEWDFX_HIVIEW_TRACE_TEST_CONTENT_H 18 #include "common_event_manager.h" 19 20 namespace OHOS::HiviewDFX { 21 22 void TestXperfDump(const EventFwk::CommonEventData &data); 23 void TestReliabilityDump(const EventFwk::CommonEventData &data); 24 void TestXpowerDump(const EventFwk::CommonEventData &data); 25 void TestOtherDump(const EventFwk::CommonEventData &data); 26 void TestScreenDump(const EventFwk::CommonEventData &data); 27 void TestTelemetryStart(const EventFwk::CommonEventData &data); 28 void TestTelemetryEnd(const EventFwk::CommonEventData &data); 29 void TelemetryDumpXpower(const EventFwk::CommonEventData &data); 30 void TelemetryDumpXPerf(const EventFwk::CommonEventData &data); 31 void TestTraceOnXpower(const EventFwk::CommonEventData &data); 32 void TestTraceOffXpower(const EventFwk::CommonEventData &data); 33 void TestTraceOnXPerf(const EventFwk::CommonEventData &data); 34 void TestTraceOffXPerf(const EventFwk::CommonEventData &data); 35 } 36 #endif // HIVIEWDFX_HIVIEW_TRACE_TEST_CONTENT_H 37