• 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:12
20  */
21 
22 #include "bta/include/bta_hd_api.h"
23 #include "test/common/mock_functions.h"
24 #include "types/raw_address.h"
25 
BTA_HdEnable(tBTA_HD_CBACK *)26 void BTA_HdEnable(tBTA_HD_CBACK* /* p_cback */) {
27   inc_func_call_count(__func__);
28 }
BTA_HdAddDevice(const RawAddress &)29 void BTA_HdAddDevice(const RawAddress& /* addr */) {
30   inc_func_call_count(__func__);
31 }
BTA_HdConnect(const RawAddress &)32 void BTA_HdConnect(const RawAddress& /* addr */) {
33   inc_func_call_count(__func__);
34 }
BTA_HdDisable(void)35 void BTA_HdDisable(void) { inc_func_call_count(__func__); }
BTA_HdDisconnect(void)36 void BTA_HdDisconnect(void) { inc_func_call_count(__func__); }
BTA_HdRegisterApp(tBTA_HD_APP_INFO *,tBTA_HD_QOS_INFO *,tBTA_HD_QOS_INFO *)37 void BTA_HdRegisterApp(tBTA_HD_APP_INFO* /* p_app_info */,
38                        tBTA_HD_QOS_INFO* /* p_in_qos */,
39                        tBTA_HD_QOS_INFO* /* p_out_qos */) {
40   inc_func_call_count(__func__);
41 }
BTA_HdRemoveDevice(const RawAddress &)42 void BTA_HdRemoveDevice(const RawAddress& /* addr */) {
43   inc_func_call_count(__func__);
44 }
BTA_HdReportError(uint8_t)45 void BTA_HdReportError(uint8_t /* error */) { inc_func_call_count(__func__); }
BTA_HdSendReport(tBTA_HD_REPORT *)46 void BTA_HdSendReport(tBTA_HD_REPORT* /* p_report */) {
47   inc_func_call_count(__func__);
48 }
BTA_HdUnregisterApp(void)49 void BTA_HdUnregisterApp(void) { inc_func_call_count(__func__); }
BTA_HdVirtualCableUnplug(void)50 void BTA_HdVirtualCableUnplug(void) { inc_func_call_count(__func__); }
51