• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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:19
20  */
21 
22 #include <cstdint>
23 
24 #include "bta/sys/bta_sys.h"
25 #include "test/common/mock_functions.h"
26 #include "types/hci_role.h"
27 #include "types/raw_address.h"
28 
bta_sys_app_close(tBTA_SYS_ID,uint8_t,const RawAddress &)29 void bta_sys_app_close(tBTA_SYS_ID /* id */, uint8_t /* app_id */,
30                        const RawAddress& /* peer_addr */) {
31   inc_func_call_count(__func__);
32 }
bta_sys_app_open(tBTA_SYS_ID,uint8_t,const RawAddress &)33 void bta_sys_app_open(tBTA_SYS_ID /* id */, uint8_t /* app_id */,
34                       const RawAddress& /* peer_addr */) {
35   inc_func_call_count(__func__);
36 }
bta_sys_busy(tBTA_SYS_ID,uint8_t,const RawAddress &)37 void bta_sys_busy(tBTA_SYS_ID /* id */, uint8_t /* app_id */,
38                   const RawAddress& /* peer_addr */) {
39   inc_func_call_count(__func__);
40 }
bta_sys_collision_register(tBTA_SYS_ID,tBTA_SYS_CONN_CBACK *)41 void bta_sys_collision_register(tBTA_SYS_ID /* bta_id */,
42                                 tBTA_SYS_CONN_CBACK* /* p_cback */) {
43   inc_func_call_count(__func__);
44 }
bta_sys_conn_close(tBTA_SYS_ID,uint8_t,const RawAddress &)45 void bta_sys_conn_close(tBTA_SYS_ID /* id */, uint8_t /* app_id */,
46                         const RawAddress& /* peer_addr */) {
47   inc_func_call_count(__func__);
48 }
bta_sys_conn_open(tBTA_SYS_ID,uint8_t,const RawAddress &)49 void bta_sys_conn_open(tBTA_SYS_ID /* id */, uint8_t /* app_id */,
50                        const RawAddress& /* peer_addr */) {
51   inc_func_call_count(__func__);
52 }
bta_sys_idle(tBTA_SYS_ID,uint8_t,const RawAddress &)53 void bta_sys_idle(tBTA_SYS_ID /* id */, uint8_t /* app_id */,
54                   const RawAddress& /* peer_addr */) {
55   inc_func_call_count(__func__);
56 }
bta_sys_notify_collision(const RawAddress &)57 void bta_sys_notify_collision(const RawAddress& /* peer_addr */) {
58   inc_func_call_count(__func__);
59 }
bta_sys_notify_role_chg(const RawAddress &,tHCI_ROLE,tHCI_STATUS)60 void bta_sys_notify_role_chg(const RawAddress& /* peer_addr */,
61                              tHCI_ROLE /* new_role */,
62                              tHCI_STATUS /* hci_status */) {
63   inc_func_call_count(__func__);
64 }
bta_sys_pm_register(tBTA_SYS_CONN_CBACK *)65 void bta_sys_pm_register(tBTA_SYS_CONN_CBACK* /* p_cback */) {
66   inc_func_call_count(__func__);
67 }
bta_sys_sniff_register(tBTA_SYS_SNIFF_CBACK *)68 void bta_sys_sniff_register(tBTA_SYS_SNIFF_CBACK* /* p_cback */) {
69   inc_func_call_count(__func__);
70 }
bta_sys_reset_sniff(uint8_t,uint8_t,const RawAddress &)71 void bta_sys_reset_sniff(uint8_t /* id */, uint8_t /* app_id */,
72                          const RawAddress& /* peer_addr */) {
73   inc_func_call_count(__func__);
74 }
bta_sys_rm_register(tBTA_SYS_CONN_CBACK *)75 void bta_sys_rm_register(tBTA_SYS_CONN_CBACK* /* p_cback */) {
76   inc_func_call_count(__func__);
77 }
bta_sys_role_chg_register(tBTA_SYS_CONN_CBACK *)78 void bta_sys_role_chg_register(tBTA_SYS_CONN_CBACK* /* p_cback */) {
79   inc_func_call_count(__func__);
80 }
bta_sys_sco_close(tBTA_SYS_ID,uint8_t,const RawAddress &)81 void bta_sys_sco_close(tBTA_SYS_ID /* id */, uint8_t /* app_id */,
82                        const RawAddress& /* peer_addr */) {
83   inc_func_call_count(__func__);
84 }
bta_sys_sco_open(tBTA_SYS_ID,uint8_t,const RawAddress &)85 void bta_sys_sco_open(tBTA_SYS_ID /* id */, uint8_t /* app_id */,
86                       const RawAddress& /* peer_addr */) {
87   inc_func_call_count(__func__);
88 }
bta_sys_sco_register(tBTA_SYS_CONN_SCO_CBACK *)89 void bta_sys_sco_register(tBTA_SYS_CONN_SCO_CBACK* /* p_cback */) {
90   inc_func_call_count(__func__);
91 }
bta_sys_sco_unuse(tBTA_SYS_ID,uint8_t,const RawAddress &)92 void bta_sys_sco_unuse(tBTA_SYS_ID /* id */, uint8_t /* app_id */,
93                        const RawAddress& /* peer_addr */) {
94   inc_func_call_count(__func__);
95 }
bta_sys_sco_use(tBTA_SYS_ID,uint8_t,const RawAddress &)96 void bta_sys_sco_use(tBTA_SYS_ID /* id */, uint8_t /* app_id */,
97                      const RawAddress& /* peer_addr */) {
98   inc_func_call_count(__func__);
99 }
bta_sys_eir_register(tBTA_SYS_EIR_CBACK *)100 void bta_sys_eir_register(tBTA_SYS_EIR_CBACK* /* p_cback */) {
101   inc_func_call_count(__func__);
102 }
bta_sys_eir_unregister()103 void bta_sys_eir_unregister() { inc_func_call_count(__func__); }
bta_sys_cust_eir_register(tBTA_SYS_CUST_EIR_CBACK *)104 void bta_sys_cust_eir_register(tBTA_SYS_CUST_EIR_CBACK* /* p_cback */) {
105   inc_func_call_count(__func__);
106 }
bta_sys_add_uuid(uint16_t)107 void bta_sys_add_uuid(uint16_t /* uuid16 */) { inc_func_call_count(__func__); }
bta_sys_remove_uuid(uint16_t)108 void bta_sys_remove_uuid(uint16_t /* uuid16 */) {
109   inc_func_call_count(__func__);
110 }
bta_sys_add_cust_uuid(const tBTA_CUSTOM_UUID &)111 void bta_sys_add_cust_uuid(const tBTA_CUSTOM_UUID& /* curr */) {
112   inc_func_call_count(__func__);
113 }
bta_sys_remove_cust_uuid(const tBTA_CUSTOM_UUID &)114 void bta_sys_remove_cust_uuid(const tBTA_CUSTOM_UUID& /* curr */) {
115   inc_func_call_count(__func__);
116 }
117