12d43be4eSopenharmony_ci/* 22d43be4eSopenharmony_ci * Copyright (c) 2024 Huawei Device Co., Ltd. 32d43be4eSopenharmony_ci * Licensed under the Apache License, Version 2.0 (the "License"); 42d43be4eSopenharmony_ci * you may not use this file except in compliance with the License. 52d43be4eSopenharmony_ci * You may obtain a copy of the License at 62d43be4eSopenharmony_ci * 72d43be4eSopenharmony_ci * http://www.apache.org/licenses/LICENSE-2.0 82d43be4eSopenharmony_ci * 92d43be4eSopenharmony_ci * Unless required by applicable law or agreed to in writing, software 102d43be4eSopenharmony_ci * distributed under the License is distributed on an "AS IS" BASIS, 112d43be4eSopenharmony_ci * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 122d43be4eSopenharmony_ci * See the License for the specific language governing permissions and 132d43be4eSopenharmony_ci * limitations under the License. 142d43be4eSopenharmony_ci */ 152d43be4eSopenharmony_ci 162d43be4eSopenharmony_ci#ifndef INCALL_DATA_STATE_MACHINE_FUZZER_H 172d43be4eSopenharmony_ci#define INCALL_DATA_STATE_MACHINE_FUZZER_H 182d43be4eSopenharmony_ci 192d43be4eSopenharmony_ci#include "common_event_manager.h" 202d43be4eSopenharmony_ci#include "common_event_support.h" 212d43be4eSopenharmony_ci#include "incall_data_state_machine.h" 222d43be4eSopenharmony_ci 232d43be4eSopenharmony_cinamespace OHOS { 242d43be4eSopenharmony_cinamespace Telephony { 252d43be4eSopenharmony_ciusing namespace AppExecFwk; 262d43be4eSopenharmony_ci 272d43be4eSopenharmony_ciclass IncallDataStateMachineFuzzer : public TelEventHandler { 282d43be4eSopenharmony_cipublic: 292d43be4eSopenharmony_ci explicit IncallDataStateMachineFuzzer() : TelEventHandler("IncallDataStateMachineFuzzer") {} 302d43be4eSopenharmony_ci ~IncallDataStateMachineFuzzer() = default; 312d43be4eSopenharmony_ci std::shared_ptr<IncallDataStateMachine> CreateIncallDataStateMachine(int32_t slotId); 322d43be4eSopenharmony_ci 332d43be4eSopenharmony_cipublic: 342d43be4eSopenharmony_ci std::shared_ptr<IncallDataStateMachine> incallDataStateMachine_ = nullptr; 352d43be4eSopenharmony_ci}; 362d43be4eSopenharmony_ci} // namespace Telephony 372d43be4eSopenharmony_ci} // namespace OHOS 382d43be4eSopenharmony_ci#endif // INCALL_DATA_STATE_MACHINE_FUZZER_H