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 "stack/a2dp/a2dp_int.h"
24 #include "test/common/mock_functions.h"
25 #include "types/raw_address.h"
26
A2DP_AddRecord(uint16_t,char *,char *,uint16_t,uint32_t)27 bool A2DP_AddRecord(uint16_t /* service_uuid */, char* /* p_service_name */,
28 char* /* p_provider_name */, uint16_t /* features */,
29 uint32_t /* sdp_handle */) {
30 inc_func_call_count(__func__);
31 return A2DP_SUCCESS;
32 }
A2DP_FindService(uint16_t,const RawAddress &,tA2DP_SDP_DB_PARAMS *,tA2DP_FIND_CBACK)33 tA2DP_STATUS A2DP_FindService(uint16_t /* service_uuid */, const RawAddress& /* bd_addr */,
34 tA2DP_SDP_DB_PARAMS* /* p_db */, 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)42 uint8_t A2DP_BitsSet(uint64_t /* num */) {
43 inc_func_call_count(__func__);
44 return 1;
45 }
A2DP_Init(void)46 void A2DP_Init(void) { inc_func_call_count(__func__); }
47