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 <map> 23 #include <string> 24 25 #include "bt_target.h" 26 #include "bta/hd/bta_hd_int.h" 27 #include "osi/include/allocator.h" 28 #include "osi/include/compat.h" 29 #include "osi/include/log.h" 30 #include "test/common/mock_functions.h" 31 #include "types/raw_address.h" 32 33 #ifndef UNUSED_ATTR 34 #define UNUSED_ATTR 35 #endif 36 BTA_HdEnable(tBTA_HD_CBACK * p_cback)37void BTA_HdEnable(tBTA_HD_CBACK* p_cback) { inc_func_call_count(__func__); } BTA_HdAddDevice(const RawAddress & addr)38void BTA_HdAddDevice(const RawAddress& addr) { inc_func_call_count(__func__); } BTA_HdConnect(const RawAddress & addr)39void BTA_HdConnect(const RawAddress& addr) { inc_func_call_count(__func__); } BTA_HdDisable(void)40void BTA_HdDisable(void) { inc_func_call_count(__func__); } BTA_HdDisconnect(void)41void BTA_HdDisconnect(void) { inc_func_call_count(__func__); } BTA_HdRegisterApp(tBTA_HD_APP_INFO * p_app_info,tBTA_HD_QOS_INFO * p_in_qos,tBTA_HD_QOS_INFO * p_out_qos)42void BTA_HdRegisterApp(tBTA_HD_APP_INFO* p_app_info, tBTA_HD_QOS_INFO* p_in_qos, 43 tBTA_HD_QOS_INFO* p_out_qos) { 44 inc_func_call_count(__func__); 45 } BTA_HdRemoveDevice(const RawAddress & addr)46void BTA_HdRemoveDevice(const RawAddress& addr) { 47 inc_func_call_count(__func__); 48 } BTA_HdReportError(uint8_t error)49void BTA_HdReportError(uint8_t error) { inc_func_call_count(__func__); } BTA_HdSendReport(tBTA_HD_REPORT * p_report)50void BTA_HdSendReport(tBTA_HD_REPORT* p_report) { 51 inc_func_call_count(__func__); 52 } BTA_HdUnregisterApp(void)53void BTA_HdUnregisterApp(void) { inc_func_call_count(__func__); } BTA_HdVirtualCableUnplug(void)54void BTA_HdVirtualCableUnplug(void) { inc_func_call_count(__func__); } 55