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:6
20 */
21
22 #include <cstdint>
23
24 #include "stack/include/hci_error_code.h"
25 #include "test/common/mock_functions.h"
26 #include "types/ble_address_with_type.h"
27 #include "types/hci_role.h"
28 #include "types/raw_address.h"
29
acl_ble_connection_fail(const tBLE_BD_ADDR &,uint16_t,bool,tHCI_STATUS)30 void acl_ble_connection_fail(const tBLE_BD_ADDR& /* address_with_type */,
31 uint16_t /* handle */, bool /* enhanced */,
32 tHCI_STATUS /* status */) {
33 inc_func_call_count(__func__);
34 }
acl_ble_enhanced_connection_complete(const tBLE_BD_ADDR &,uint16_t,tHCI_ROLE,bool,uint16_t,uint16_t,uint16_t,const RawAddress &,const RawAddress &,uint8_t,bool)35 void acl_ble_enhanced_connection_complete(
36 const tBLE_BD_ADDR& /* address_with_type */, uint16_t /* handle */,
37 tHCI_ROLE /* role */, bool /* match */, uint16_t /* conn_interval */,
38 uint16_t /* conn_latency */, uint16_t /* conn_timeout */,
39 const RawAddress& /* local_rpa */, const RawAddress& /* peer_rpa */,
40 uint8_t /* peer_addr_type */,
41 bool /* can_read_discoverable_characteristics */) {
42 inc_func_call_count(__func__);
43 }
acl_ble_enhanced_connection_complete_from_shim(const tBLE_BD_ADDR &,uint16_t,tHCI_ROLE,uint16_t,uint16_t,uint16_t,const RawAddress &,const RawAddress &,tBLE_ADDR_TYPE,bool)44 void acl_ble_enhanced_connection_complete_from_shim(
45 const tBLE_BD_ADDR& /* address_with_type */, uint16_t /* handle */,
46 tHCI_ROLE /* role */, uint16_t /* conn_interval */,
47 uint16_t /* conn_latency */, uint16_t /* conn_timeout */,
48 const RawAddress& /* local_rpa */, const RawAddress& /* peer_rpa */,
49 tBLE_ADDR_TYPE /* peer_addr_type */,
50 bool /* can_read_discoverable_characteristics */) {
51 inc_func_call_count(__func__);
52 }
53
54 void gatt_notify_conn_update(const RawAddress& /* remote */,
55 uint16_t /* interval */, uint16_t /* latency */,
56 uint16_t /* timeout */, tHCI_STATUS /* status */);
acl_ble_update_event_received(tHCI_STATUS,uint16_t,uint16_t,uint16_t,uint16_t)57 void acl_ble_update_event_received(tHCI_STATUS /* status */,
58 uint16_t /* handle */,
59 uint16_t /* interval */,
60 uint16_t /* latency */,
61 uint16_t /* timeout */) {
62 inc_func_call_count(__func__);
63 }
64
acl_ble_data_length_change_event(uint16_t,uint16_t,uint16_t,uint16_t,uint16_t)65 void acl_ble_data_length_change_event(uint16_t /* handle */,
66 uint16_t /* max_tx_octets */,
67 uint16_t /* max_tx_time */,
68 uint16_t /* max_rx_octets */,
69 uint16_t /* max_rx_time */) {
70 inc_func_call_count(__func__);
71 }
72