166f3657fSopenharmony_ci/*
266f3657fSopenharmony_ci * Copyright (c) 2022 Huawei Device Co., Ltd.
366f3657fSopenharmony_ci * Licensed under the Apache License, Version 2.0 (the "License");
466f3657fSopenharmony_ci * you may not use this file except in compliance with the License.
566f3657fSopenharmony_ci * You may obtain a copy of the License at
666f3657fSopenharmony_ci *
766f3657fSopenharmony_ci *     http://www.apache.org/licenses/LICENSE-2.0
866f3657fSopenharmony_ci *
966f3657fSopenharmony_ci * Unless required by applicable law or agreed to in writing, software
1066f3657fSopenharmony_ci * distributed under the License is distributed on an "AS IS" BASIS,
1166f3657fSopenharmony_ci * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1266f3657fSopenharmony_ci * See the License for the specific language governing permissions and
1366f3657fSopenharmony_ci * limitations under the License.
1466f3657fSopenharmony_ci */
1566f3657fSopenharmony_ci
1666f3657fSopenharmony_ci#ifndef OHOS_DSCREEN_HISYSEVENT_H
1766f3657fSopenharmony_ci#define OHOS_DSCREEN_HISYSEVENT_H
1866f3657fSopenharmony_ci
1966f3657fSopenharmony_ci#include <string>
2066f3657fSopenharmony_ci
2166f3657fSopenharmony_cinamespace OHOS {
2266f3657fSopenharmony_cinamespace DistributedHardware {
2366f3657fSopenharmony_ciconst std::string DSCREEN_INIT_FAIL = "DSCREEN_INIT_FAIL";
2466f3657fSopenharmony_ciconst std::string DSCREEN_REGISTER_FAIL = "DSCREEN_REGISTER_FAIL";
2566f3657fSopenharmony_ciconst std::string DSCREEN_UNREGISTER_FAIL = "DSCREEN_UNREGISTER_FAIL";
2666f3657fSopenharmony_ciconst std::string DSCREEN_OPT_FAIL = "DSCREEN_OPT_FAIL";
2766f3657fSopenharmony_ci
2866f3657fSopenharmony_ciconst std::string DSCREEN_INIT = "DSCREEN_INIT";
2966f3657fSopenharmony_ciconst std::string DSCREEN_REGISTER = "DSCREEN_REGISTER";
3066f3657fSopenharmony_ciconst std::string DSCREEN_UNREGISTER = "DSCREEN_UNREGISTER";
3166f3657fSopenharmony_ciconst std::string DSCREEN_PROJECT_START = "DSCREEN_PROJECT_START";
3266f3657fSopenharmony_ciconst std::string DSCREEN_PROJECT_END = "DSCREEN_PROJECT_END";
3366f3657fSopenharmony_ciconst std::string DSCREEN_EXIT = "DSCREEN_EXIT";
3466f3657fSopenharmony_ci
3566f3657fSopenharmony_civoid ReportSaFail(const std::string &eventName, int32_t errCode, int32_t saId, const std::string &errMsg);
3666f3657fSopenharmony_civoid ReportRegisterFail(const std::string &eventName, int32_t errCode, const std::string &devId,
3766f3657fSopenharmony_ci    const std::string &dhId, const std::string &errMsg);
3866f3657fSopenharmony_civoid ReportUnRegisterFail(const std::string &eventName, int32_t errCode, const std::string &devId,
3966f3657fSopenharmony_ci    const std::string &dhId, const std::string &errMsg);
4066f3657fSopenharmony_civoid ReportOptFail(const std::string &eventName, int32_t errCode, const std::string &errMsg);
4166f3657fSopenharmony_ci
4266f3657fSopenharmony_civoid ReportSaEvent(const std::string &eventName, int32_t saId, const std::string &errMsg);
4366f3657fSopenharmony_civoid ReportRegisterScreenEvent(const std::string &eventName, const std::string &devId, const std::string &dhId,
4466f3657fSopenharmony_ci    const std::string &errMsg);
4566f3657fSopenharmony_civoid ReportUnRegisterScreenEvent(const std::string &eventName, const std::string &devId, const std::string &dhId,
4666f3657fSopenharmony_ci    const std::string &errMsg);
4766f3657fSopenharmony_civoid ReportScreenMirrorEvent(const std::string &eventName, const std::string &devId, const std::string &dhId,
4866f3657fSopenharmony_ci    const std::string &errMsg);
4966f3657fSopenharmony_ci} // namespace DistributedHardware
5066f3657fSopenharmony_ci} // namespace OHOS
5166f3657fSopenharmony_ci#endif