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:8
20 */
21
22 #include <cstdint>
23
24 #include "bta/hf_client/bta_hf_client_int.h"
25 #include "bta/include/bta_hf_client_api.h"
26 #include "test/common/mock_functions.h"
27 #include "types/raw_address.h"
28
BTA_HfClientEnable(tBTA_HF_CLIENT_CBACK *,tBTA_HF_CLIENT_FEAT,const char *)29 tBTA_STATUS BTA_HfClientEnable(tBTA_HF_CLIENT_CBACK* /* p_cback */,
30 tBTA_HF_CLIENT_FEAT /* features */,
31 const char* /* p_service_name */) {
32 inc_func_call_count(__func__);
33 return BTA_SUCCESS;
34 }
BTA_HfClientAudioClose(uint16_t)35 void BTA_HfClientAudioClose(uint16_t /* handle */) {
36 inc_func_call_count(__func__);
37 }
BTA_HfClientAudioOpen(uint16_t)38 void BTA_HfClientAudioOpen(uint16_t /* handle */) {
39 inc_func_call_count(__func__);
40 }
BTA_HfClientClose(uint16_t)41 void BTA_HfClientClose(uint16_t /* handle */) { inc_func_call_count(__func__); }
BTA_HfClientDisable(void)42 void BTA_HfClientDisable(void) { inc_func_call_count(__func__); }
BTA_HfClientDumpStatistics(int)43 void BTA_HfClientDumpStatistics(int /* fd */) { inc_func_call_count(__func__); }
BTA_HfClientOpen(const RawAddress &,uint16_t *)44 bt_status_t BTA_HfClientOpen(const RawAddress& /* bd_addr */,
45 uint16_t* /* p_handle */) {
46 inc_func_call_count(__func__);
47 return BT_STATUS_SUCCESS;
48 }
BTA_HfClientSendAT(uint16_t,tBTA_HF_CLIENT_AT_CMD_TYPE,uint32_t,uint32_t,const char *)49 void BTA_HfClientSendAT(uint16_t /* handle */,
50 tBTA_HF_CLIENT_AT_CMD_TYPE /* at */,
51 uint32_t /* val1 */, uint32_t /* val2 */,
52 const char* /* str */) {
53 inc_func_call_count(__func__);
54 }
get_default_hf_client_features()55 int get_default_hf_client_features() {
56 inc_func_call_count(__func__);
57 return 0;
58 }
59