122736c2fSopenharmony_ci/*
222736c2fSopenharmony_ci * Copyright (c) 2023-2023 Huawei Device Co., Ltd.
322736c2fSopenharmony_ci * Licensed under the Apache License, Version 2.0 (the "License");
422736c2fSopenharmony_ci * you may not use this file except in compliance with the License.
522736c2fSopenharmony_ci * You may obtain a copy of the License at
622736c2fSopenharmony_ci *
722736c2fSopenharmony_ci *     http://www.apache.org/licenses/LICENSE-2.0
822736c2fSopenharmony_ci *
922736c2fSopenharmony_ci * Unless required by applicable law or agreed to in writing, software
1022736c2fSopenharmony_ci * distributed under the License is distributed on an "AS IS" BASIS,
1122736c2fSopenharmony_ci * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1222736c2fSopenharmony_ci * See the License for the specific language governing permissions and
1322736c2fSopenharmony_ci * limitations under the License.
1422736c2fSopenharmony_ci */
1522736c2fSopenharmony_ci
1622736c2fSopenharmony_ci#include "panelstatuschange_fuzzer.h"
1722736c2fSopenharmony_ci
1822736c2fSopenharmony_ci#include "imf_sa_stub_fuzz_util.h"
1922736c2fSopenharmony_ci#include "inputmethod_service_ipc_interface_code.h"
2022736c2fSopenharmony_ci
2122736c2fSopenharmony_ciusing namespace OHOS::MiscServices;
2222736c2fSopenharmony_cinamespace OHOS {
2322736c2fSopenharmony_ci} // namespace OHOS
2422736c2fSopenharmony_ci/* Fuzzer entry point */
2522736c2fSopenharmony_ciextern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size)
2622736c2fSopenharmony_ci{
2722736c2fSopenharmony_ci    /* Run your code on data */
2822736c2fSopenharmony_ci    ImfSaStubFuzzUtil::FuzzInputMethodSystemAbility(data, size, InputMethodInterfaceCode::PANEL_STATUS_CHANGE);
2922736c2fSopenharmony_ci    return 0;
3022736c2fSopenharmony_ci}
31