/*
 * Copyright (c) 2021 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
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

#include "base/log/event_report.h"

namespace OHOS::Ace {
FRCSceneFpsInfo EventReport::curFRCSceneFpsInfo_;
int64_t EventReport::calTime_ = 0;
int32_t EventReport::calFrameRate_ = 0;

void EventReport::SendEvent(const EventInfo& eventInfo) {}

void EventReport::SendAppStartException(AppStartExcepType type) {}

void EventReport::SendPageRouterException(PageRouterExcepType type, const std::string& pageUrl) {}

void EventReport::SendComponentException(ComponentExcepType type) {}

void EventReport::SendComponentExceptionNG(
    ComponentExcepTypeNG type, int32_t nodeType, int32_t nodeId, const std::string& message) {}

void EventReport::ReportPageLoadTimeout(const EventInfo& eventInfo) {}

void EventReport::SendAPIChannelException(APIChannelExcepType type) {}

void EventReport::SendRenderException(RenderExcepType type) {}

void EventReport::SendJsException(JsExcepType type) {}

void EventReport::SendAnimationException(AnimationExcepType type) {}

void EventReport::SendEventException(EventExcepType type) {}

void EventReport::SendInternalException(InternalExcepType type) {}

void EventReport::SendAccessibilityException(AccessibilityExcepType type) {}

void EventReport::ReportAccessibilityFailEvent(const std::string& actionName) {}

void EventReport::SendFormException(FormExcepType type) {}

void EventReport::JsEventReport(int32_t eventType, const std::string& jsonStr) {}

void EventReport::JsErrReport(const std::string& packageName,
    const std::string& reason, const std::string& summary) {}

void EventReport::ANRRawReport(RawEventType type, int32_t uid, const std::string& packageName,
                               const std::string& processName, const std::string& msg) {}

void EventReport::ANRShowDialog(int32_t uid, const std::string& packageName,
                                const std::string& processName, const std::string& msg) {}

void EventReport::JankFrameReport(int64_t startTime, int64_t duration, const std::vector<uint16_t>& jank,
                                  const std::string& pageUrl, uint32_t jankStatusVersion) {}

void EventReport::SendEventInner(const EventInfo& eventInfo) {}

void EventReport::ReportDoubleClickTitle(int32_t stateChange) {}

void EventReport::ReportClickTitleMaximizeMenu(int32_t maxMenuItem, int32_t stateChange) {}

void EventReport::ReportPageNodeOverflow(const std::string& pageUrl, int32_t nodeCount, int32_t threshold) {}

void EventReport::ReportPageDepthOverflow(const std::string& pageUrl, int32_t depth, int32_t threshold) {}

void EventReport::ReportFunctionTimeout(const std::string& functionName, int64_t time, int32_t threshold) {}

void EventReport::ReportHoverStatusChange(int32_t foldStatus, int32_t time, bool isHoverMode,
                                          int32_t appRotation, int32_t windowMode) {}

void EventReport::ReportNonManualPostCardActionInfo(const std::string& formName, const std::string& bundleName,
    const std::string& abilityName, const std::string& moduleName, int32_t dimension)
{}

void EventReport::ReportUiExtensionTransparentEvent(const std::string& pageUrl, const std::string& bundleName,
    const std::string& moduleName)
{}

void EventReport::ReportMainWindowTransparentEvent(const std::string& pageUrl, const std::string& bundleName,
    const std::string& moduleName)
{}

void EventReport::ReportDragInfo(const DragInfo& dragInfo) {}

void EventReport::ReportScrollableErrorEvent(
    const std::string& nodeType, ScrollableErrorType errorType, const std::string& subErrorType)
{}

void EventReport::ReportRichEditorInfo(const RichEditorInfo& richEditorInfo) {}

void EventReport::ReportTextFieldErrorEvent(int32_t frameNodeId, int32_t depth, const std::string& errorType)
{}

void EventReport::ReportClipboardFailEvent(const std::string& errorType)
{}

void EventReport::ReportPageSlidInfo(NG::SlidInfo &slidInfo)
{}

void EventReport::SendDiffFrameRatesDuring(const std::string& scene, const FRCSceneFpsInfo& curFRCSceneFpsInfo_)
{}

void EventReport::FrameRateDurationsStatistics(int32_t expectedRate, const std::string& scene, NG::SceneStatus status)
{}

void EventReport::AddFrameRateDuration(int32_t frameRate, int64_t duration)
{}

void EventReport::StopFormModifyTimeoutReportTimer(int64_t formId)
{}

void EventReport::StartFormModifyTimeoutReportTimer(int64_t formId, const std::string &bundleName,
    const std::string &formName)
{}

void EventReport::ReportGeneralInteractionError(const GeneralInteractionErrorInfo& generalEventErrorInfo) {}

void EventReport::ReportWebBlanklessSnapshotTouchEvent(uint64_t startTime, const std::string& touchInfo,
    uint64_t endTime)
{}
} // namespace OHOS::Ace