1 /*
2  * Copyright 2021 The Android Open Source Project
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *      http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 
17 /*
18  * Generated mock file from original source file
19  *   Functions generated:1
20  *
21  *  mockcify.pl ver 0.3.0
22  */
23 // Mock include file to share data between tests and mock
24 #include "test/mock/mock_device_esco_parameters.h"
25 
26 #include "test/common/mock_functions.h"
27 
28 // Mocked internal structures, if any
29 
30 // TODO(b/369381361) Enfore -Wmissing-prototypes
31 #pragma GCC diagnostic ignored "-Wmissing-prototypes"
32 
33 namespace test {
34 namespace mock {
35 namespace device_esco_parameters {
36 
37 // Function state capture and return values, if needed
38 struct esco_parameters_for_codec esco_parameters_for_codec;
39 
40 }  // namespace device_esco_parameters
41 }  // namespace mock
42 }  // namespace test
43 
44 // Mocked functions, if any
esco_parameters_for_codec(esco_codec_t codec)45 enh_esco_params_t esco_parameters_for_codec(esco_codec_t codec) {
46   inc_func_call_count(__func__);
47   return test::mock::device_esco_parameters::esco_parameters_for_codec(codec);
48 }
49 
esco_parameters_for_codec(esco_codec_t codec,bool)50 enh_esco_params_t esco_parameters_for_codec(esco_codec_t codec, bool /* b */) {
51   inc_func_call_count(__func__);
52   return test::mock::device_esco_parameters::esco_parameters_for_codec(codec);
53 }
54 // Mocked functions complete
55 // END mockcify generation
56