• 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:9
20  */
21 
22 #include "a2dp_api.h"
23 #include "test/common/mock_functions.h"
24 #include "types/raw_address.h"
25 
A2DP_AddRecord(uint16_t service_uuid,char * p_service_name,char * p_provider_name,uint16_t features,uint32_t sdp_handle)26 tA2DP_STATUS A2DP_AddRecord(uint16_t service_uuid, char* p_service_name,
27                             char* p_provider_name, uint16_t features,
28                             uint32_t sdp_handle) {
29   inc_func_call_count(__func__);
30   return A2DP_SUCCESS;
31 }
A2DP_FindService(uint16_t service_uuid,const RawAddress & bd_addr,tA2DP_SDP_DB_PARAMS * p_db,tA2DP_FIND_CBACK p_cback)32 tA2DP_STATUS A2DP_FindService(uint16_t service_uuid, const RawAddress& bd_addr,
33                               tA2DP_SDP_DB_PARAMS* p_db,
34                               tA2DP_FIND_CBACK p_cback) {
35   inc_func_call_count(__func__);
36   return A2DP_SUCCESS;
37 }
A2DP_GetAvdtpVersion()38 uint16_t A2DP_GetAvdtpVersion() {
39   inc_func_call_count(__func__);
40   return 0;
41 }
A2DP_BitsSet(uint64_t num)42 uint8_t A2DP_BitsSet(uint64_t num) {
43   inc_func_call_count(__func__);
44   return 0;
45 }
A2DP_Init(void)46 void A2DP_Init(void) { inc_func_call_count(__func__); }
a2dp_set_avdt_sdp_ver(uint16_t avdt_sdp_ver)47 void a2dp_set_avdt_sdp_ver(uint16_t avdt_sdp_ver) {
48   inc_func_call_count(__func__);
49 }
50