• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (c) 2021 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 #include "base/log/event_report.h"
17 
18 namespace OHOS::Ace {
19 
SendEvent(const EventInfo & eventInfo)20 void EventReport::SendEvent(const EventInfo& eventInfo) {}
21 
SendAppStartException(AppStartExcepType type)22 void EventReport::SendAppStartException(AppStartExcepType type) {}
23 
SendPageRouterException(PageRouterExcepType type,const std::string & pageUrl)24 void EventReport::SendPageRouterException(PageRouterExcepType type, const std::string& pageUrl) {}
25 
SendComponentException(ComponentExcepType type)26 void EventReport::SendComponentException(ComponentExcepType type) {}
27 
SendAPIChannelException(APIChannelExcepType type)28 void EventReport::SendAPIChannelException(APIChannelExcepType type) {}
29 
SendRenderException(RenderExcepType type)30 void EventReport::SendRenderException(RenderExcepType type) {}
31 
SendJsException(JsExcepType type)32 void EventReport::SendJsException(JsExcepType type) {}
33 
SendAnimationException(AnimationExcepType type)34 void EventReport::SendAnimationException(AnimationExcepType type) {}
35 
SendEventException(EventExcepType type)36 void EventReport::SendEventException(EventExcepType type) {}
37 
SendInternalException(InternalExcepType type)38 void EventReport::SendInternalException(InternalExcepType type) {}
39 
SendAccessibilityException(AccessibilityExcepType type)40 void EventReport::SendAccessibilityException(AccessibilityExcepType type) {}
41 
SendFormException(FormExcepType type)42 void EventReport::SendFormException(FormExcepType type) {}
43 
JsEventReport(int32_t eventType,const std::string & jsonStr)44 void EventReport::JsEventReport(int32_t eventType, const std::string& jsonStr) {}
45 
JsErrReport(const std::string & packageName,const std::string & reason,const std::string & summary)46 void EventReport::JsErrReport(const std::string& packageName,
47     const std::string& reason, const std::string& summary) {}
48 
ANRRawReport(RawEventType type,int32_t uid,const std::string & packageName,const std::string & processName,const std::string & msg)49 void EventReport::ANRRawReport(RawEventType type, int32_t uid, const std::string& packageName,
50                                const std::string& processName, const std::string& msg) {}
51 
ANRShowDialog(int32_t uid,const std::string & packageName,const std::string & processName,const std::string & msg)52 void EventReport::ANRShowDialog(int32_t uid, const std::string& packageName,
53                                 const std::string& processName, const std::string& msg) {}
54 
JankFrameReport(int64_t startTime,int64_t duration,const std::vector<uint16_t> & jank,const std::string & pageUrl,uint32_t jankStatusVersion)55 void EventReport::JankFrameReport(int64_t startTime, int64_t duration, const std::vector<uint16_t>& jank,
56                                   const std::string& pageUrl, uint32_t jankStatusVersion) {}
57 
SendEventInner(const EventInfo & eventInfo)58 void EventReport::SendEventInner(const EventInfo& eventInfo) {}
59 
ReportEventComplete(DataBase & data)60 void EventReport::ReportEventComplete(DataBase& data) {}
61 
ReportEventJankFrame(DataBase & data)62 void EventReport::ReportEventJankFrame(DataBase& data) {}
63 
ReportJankFrameApp(JankInfo & info)64 void EventReport::ReportJankFrameApp(JankInfo& info) {}
65 
ReportJankFrameFiltered(JankInfo & info)66 void EventReport::ReportJankFrameFiltered(JankInfo& info) {}
67 
ReportDoubleClickTitle(int32_t stateChange)68 void EventReport::ReportDoubleClickTitle(int32_t stateChange) {}
69 
ReportClickTitleMaximizeMenu(int32_t maxMenuItem,int32_t stateChange)70 void EventReport::ReportClickTitleMaximizeMenu(int32_t maxMenuItem, int32_t stateChange) {}
71 } // namespace OHOS::Ace
72