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 #include <map>
24 #include <string>
25
26 #include "bta/ar/bta_ar_int.h"
27 #include "bta/sys/bta_sys.h"
28 #include "stack/include/avct_api.h"
29 #include "stack/include/avrc_api.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_ar_avdt_conn(tBTA_SYS_ID sys_id,const RawAddress & bd_addr,uint8_t scb_index)37 void bta_ar_avdt_conn(tBTA_SYS_ID sys_id, const RawAddress& bd_addr,
38 uint8_t scb_index) {
39 inc_func_call_count(__func__);
40 }
bta_ar_dereg_avct()41 void bta_ar_dereg_avct() { inc_func_call_count(__func__); }
bta_ar_dereg_avdt()42 void bta_ar_dereg_avdt() { inc_func_call_count(__func__); }
bta_ar_dereg_avrc(uint16_t service_uuid)43 void bta_ar_dereg_avrc(uint16_t service_uuid) { inc_func_call_count(__func__); }
bta_ar_init(void)44 void bta_ar_init(void) { inc_func_call_count(__func__); }
bta_ar_reg_avct()45 void bta_ar_reg_avct() { inc_func_call_count(__func__); }
bta_ar_reg_avdt(AvdtpRcb * p_reg,tAVDT_CTRL_CBACK * p_cback)46 void bta_ar_reg_avdt(AvdtpRcb* p_reg, tAVDT_CTRL_CBACK* p_cback) {
47 inc_func_call_count(__func__);
48 }
bta_ar_reg_avrc(uint16_t service_uuid,const char * service_name,const char * provider_name,uint16_t categories,bool browse_supported,uint16_t profile_version)49 void bta_ar_reg_avrc(uint16_t service_uuid, const char* service_name,
50 const char* provider_name, uint16_t categories,
51 bool browse_supported, uint16_t profile_version) {
52 inc_func_call_count(__func__);
53 }
54