1 /*
2 * Copyright 2020 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:9
20 */
21
22 #include <cstdint>
23
24 #define LOG_TAG "bt_btu_hcif"
25 #include <base/location.h>
26
27 #include "stack/include/bt_hdr.h"
28 #include "stack/include/btu_hcif.h"
29 #include "test/common/mock_functions.h"
30
31 using hci_cmd_cb = base::OnceCallback<void(uint8_t* /* return_parameters */,
32 uint16_t /* return_parameters_length*/)>;
33
btu_hcif_send_cmd(uint8_t,const BT_HDR *)34 void btu_hcif_send_cmd(uint8_t /* controller_id */, const BT_HDR* /* p_buf */) {
35 inc_func_call_count(__func__);
36 }
btu_hcif_send_cmd_with_cb(uint16_t,uint8_t *,uint8_t,hci_cmd_cb)37 void btu_hcif_send_cmd_with_cb(uint16_t /* opcode */, uint8_t* /* params */,
38 uint8_t /* params_len */, hci_cmd_cb /* cb */) {
39 inc_func_call_count(__func__);
40 }
btu_hci_msg_process(BT_HDR *)41 void btu_hci_msg_process(BT_HDR* /* p_msg */) { inc_func_call_count(__func__); }
42