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:11
20 */
21
22 #include "stack/include/bnep_api.h"
23 #include "stack/include/bt_hdr.h"
24 #include "test/common/mock_functions.h"
25 #include "types/bluetooth/uuid.h"
26 #include "types/raw_address.h"
27
28 using namespace bluetooth;
29
BNEP_Connect(const RawAddress &,const Uuid &,const Uuid &,uint16_t *,uint32_t)30 tBNEP_RESULT BNEP_Connect(const RawAddress& /* p_rem_bda */,
31 const Uuid& /* src_uuid */,
32 const Uuid& /* dst_uuid */, uint16_t* /* p_handle */,
33 uint32_t /* mx_chan_id */) {
34 inc_func_call_count(__func__);
35 return 0;
36 }
BNEP_ConnectResp(uint16_t,tBNEP_RESULT)37 tBNEP_RESULT BNEP_ConnectResp(uint16_t /* handle */, tBNEP_RESULT /* resp */) {
38 inc_func_call_count(__func__);
39 return 0;
40 }
BNEP_Disconnect(uint16_t)41 tBNEP_RESULT BNEP_Disconnect(uint16_t /* handle */) {
42 inc_func_call_count(__func__);
43 return 0;
44 }
BNEP_Register(tBNEP_REGISTER *)45 tBNEP_RESULT BNEP_Register(tBNEP_REGISTER* /* p_reg_info */) {
46 inc_func_call_count(__func__);
47 return 0;
48 }
BNEP_SetMulticastFilters(uint16_t,uint16_t,uint8_t *,uint8_t *)49 tBNEP_RESULT BNEP_SetMulticastFilters(uint16_t /* handle */,
50 uint16_t /* num_filters */,
51 uint8_t* /* p_start_array */,
52 uint8_t* /* p_end_array */) {
53 inc_func_call_count(__func__);
54 return 0;
55 }
BNEP_SetProtocolFilters(uint16_t,uint16_t,uint16_t *,uint16_t *)56 tBNEP_RESULT BNEP_SetProtocolFilters(uint16_t /* handle */,
57 uint16_t /* num_filters */,
58 uint16_t* /* p_start_array */,
59 uint16_t* /* p_end_array */) {
60 inc_func_call_count(__func__);
61 return 0;
62 }
BNEP_Write(uint16_t,const RawAddress &,uint8_t *,uint16_t,uint16_t,const RawAddress &,bool)63 tBNEP_RESULT BNEP_Write(uint16_t /* handle */,
64 const RawAddress& /* dest_addr */,
65 uint8_t* /* p_data */, uint16_t /* len */,
66 uint16_t /* protocol */,
67 const RawAddress& /* src_addr */,
68 bool /* fw_ext_present */) {
69 inc_func_call_count(__func__);
70 return 0;
71 }
BNEP_WriteBuf(uint16_t,const RawAddress &,BT_HDR *,uint16_t,const RawAddress &,bool)72 tBNEP_RESULT BNEP_WriteBuf(uint16_t /* handle */,
73 const RawAddress& /* dest_addr */,
74 BT_HDR* /* p_buf */, uint16_t /* protocol */,
75 const RawAddress& /* src_addr */,
76 bool /* fw_ext_present */) {
77 inc_func_call_count(__func__);
78 return 0;
79 }
BNEP_Deregister(void)80 void BNEP_Deregister(void) { inc_func_call_count(__func__); }
BNEP_Init(void)81 void BNEP_Init(void) { inc_func_call_count(__func__); }
82