122c0b7e4Sopenharmony_ci/*
222c0b7e4Sopenharmony_ci * Copyright (c) 2023 Huawei Device Co., Ltd.
322c0b7e4Sopenharmony_ci * Licensed under the Apache License, Version 2.0 (the "License");
422c0b7e4Sopenharmony_ci * you may not use this file except in compliance with the License.
522c0b7e4Sopenharmony_ci * You may obtain a copy of the License at
622c0b7e4Sopenharmony_ci *
722c0b7e4Sopenharmony_ci *     http://www.apache.org/licenses/LICENSE-2.0
822c0b7e4Sopenharmony_ci *
922c0b7e4Sopenharmony_ci * Unless required by applicable law or agreed to in writing, software
1022c0b7e4Sopenharmony_ci * distributed under the License is distributed on an "AS IS" BASIS,
1122c0b7e4Sopenharmony_ci * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1222c0b7e4Sopenharmony_ci * See the License for the specific language governing permissions and
1322c0b7e4Sopenharmony_ci * limitations under the License.
1422c0b7e4Sopenharmony_ci */
1522c0b7e4Sopenharmony_ci
1622c0b7e4Sopenharmony_ci#ifndef BUNLDE_ACTIVE_COMMON_FUZZER_H
1722c0b7e4Sopenharmony_ci#define BUNLDE_ACTIVE_COMMON_FUZZER_H
1822c0b7e4Sopenharmony_ci
1922c0b7e4Sopenharmony_ci#include <securec.h>
2022c0b7e4Sopenharmony_ci#include "singleton.h"
2122c0b7e4Sopenharmony_ci
2222c0b7e4Sopenharmony_cinamespace OHOS {
2322c0b7e4Sopenharmony_cinamespace DeviceUsageStats {
2422c0b7e4Sopenharmony_ciclass FuzztestHelper : public DelayedSingleton<FuzztestHelper> {
2522c0b7e4Sopenharmony_ci    DECLARE_DELAYED_SINGLETON(FuzztestHelper);
2622c0b7e4Sopenharmony_cipublic:
2722c0b7e4Sopenharmony_ci    void NativeTokenGet();
2822c0b7e4Sopenharmony_ci
2922c0b7e4Sopenharmony_ciprivate:
3022c0b7e4Sopenharmony_ci    bool isPermissionSet_ = false;
3122c0b7e4Sopenharmony_ci};
3222c0b7e4Sopenharmony_ci} // namesoace DeviceUsageStats
3322c0b7e4Sopenharmony_ci} // namespace OHOS
3422c0b7e4Sopenharmony_ci#endif // BUNLDE_ACTIVE_COMMON_FUZZER_H
35