• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (c) 2025 Huawei Device Co., Ltd.
3  * Licensed under the Apache License, Version 2.0 (the "License");
4  * you may not use this file except in compliance with the License.
5  * You may obtain a copy of the License at
6  *
7  *     http://www.apache.org/licenses/LICENSE-2.0
8  *
9  * Unless required by applicable law or agreed to in writing, software
10  * distributed under the License is distributed on an "AS IS" BASIS,
11  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12  * See the License for the specific language governing permissions and
13  * limitations under the License.
14  */
15 
16 #ifndef STREAM_CAPTURE_PROXY_FUZZER_H
17 #define STREAM_CAPTURE_PROXY_FUZZER_H
18 #define FUZZ_PROJECT_NAME "streamcaptureproxy_fuzzer"
19 
20 #include "stream_capture_proxy.h"
21 #include <fuzzer/FuzzedDataProvider.h>
22 
23 namespace OHOS {
24 namespace CameraStandard {
25 class StreamCaptureProxyFuzzer {
26 public:
27 static std::shared_ptr<StreamCaptureProxy> fuzz_;
28 static void StreamCaptureProxyFuzzTest1(FuzzedDataProvider& fdp);
29 static void StreamCaptureProxyFuzzTest2(FuzzedDataProvider& fdp);
30 static void StreamCaptureProxyFuzzTest3(FuzzedDataProvider& fdp);
31 static void StreamCaptureProxyFuzzTest4(FuzzedDataProvider& fdp);
32 static void StreamCaptureProxyFuzzTest5(FuzzedDataProvider& fdp);
33 static void StreamCaptureProxyFuzzTest6(FuzzedDataProvider& fdp);
34 static void StreamCaptureProxyFuzzTest7(FuzzedDataProvider& fdp);
35 static void StreamCaptureProxyFuzzTest8(FuzzedDataProvider& fdp);
36 static void StreamCaptureProxyFuzzTest9(FuzzedDataProvider& fdp);
37 static void StreamCaptureProxyFuzzTest10(FuzzedDataProvider& fdp);
38 static void StreamCaptureProxyFuzzTest11(FuzzedDataProvider& fdp);
39 static void StreamCaptureProxyFuzzTest12(FuzzedDataProvider& fdp);
40 static void StreamCaptureProxyFuzzTest13(FuzzedDataProvider& fdp);
41 static void StreamCaptureProxyFuzzTest14(FuzzedDataProvider& fdp);
42 static void StreamCaptureProxyFuzzTest15(FuzzedDataProvider& fdp);
43 static void StreamCaptureProxyFuzzTest16(FuzzedDataProvider& fdp);
44 static void StreamCaptureProxyFuzzTest17(FuzzedDataProvider& fdp);
45 static void StreamCaptureProxyFuzzTest18(FuzzedDataProvider& fdp);
46 static void StreamCaptureProxyFuzzTest19(FuzzedDataProvider& fdp);
47 static void StreamCaptureProxyFuzzTest20();
48 };
49 
50 
51 } //CameraStandard
52 } //OHOS
53 #endif //STREAM_CAPTURE_PROXY_FUZZER_H
54