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:85
20  */
21 
22 #include <cstdint>
23 
24 #include "main/shim/btm_api.h"
25 #include "stack/include/btm_status.h"
26 #include "test/common/mock_functions.h"
27 #include "types/raw_address.h"
28 
BTM_ClearEventFilter()29 tBTM_STATUS bluetooth::shim::BTM_ClearEventFilter() {
30   inc_func_call_count(__func__);
31   return tBTM_STATUS::BTM_SUCCESS;
32 }
33 
BTM_ClearEventMask()34 tBTM_STATUS bluetooth::shim::BTM_ClearEventMask() {
35   inc_func_call_count(__func__);
36   return tBTM_STATUS::BTM_SUCCESS;
37 }
38 
BTM_ClearFilterAcceptList()39 tBTM_STATUS bluetooth::shim::BTM_ClearFilterAcceptList() {
40   inc_func_call_count(__func__);
41   return tBTM_STATUS::BTM_SUCCESS;
42 }
43 
BTM_DisconnectAllAcls()44 tBTM_STATUS bluetooth::shim::BTM_DisconnectAllAcls() {
45   inc_func_call_count(__func__);
46   return tBTM_STATUS::BTM_SUCCESS;
47 }
48 
BTM_SetEventFilterConnectionSetupAllDevices()49 tBTM_STATUS bluetooth::shim::BTM_SetEventFilterConnectionSetupAllDevices() {
50   inc_func_call_count(__func__);
51   return tBTM_STATUS::BTM_SUCCESS;
52 }
53 
BTM_AllowWakeByHid(std::vector<RawAddress>,std::vector<std::pair<RawAddress,uint8_t>>)54 tBTM_STATUS bluetooth::shim::BTM_AllowWakeByHid(
55         std::vector<RawAddress> /* classic_hid_devices */,
56         std::vector<std::pair<RawAddress, uint8_t>> /* le_hid_devices */) {
57   inc_func_call_count(__func__);
58   return tBTM_STATUS::BTM_SUCCESS;
59 }
60 
BTM_RestoreFilterAcceptList(std::vector<std::pair<RawAddress,uint8_t>>)61 tBTM_STATUS bluetooth::shim::BTM_RestoreFilterAcceptList(
62         std::vector<std::pair<RawAddress, uint8_t>> /* le_devices */) {
63   inc_func_call_count(__func__);
64   return tBTM_STATUS::BTM_SUCCESS;
65 }
66 
BTM_SetDefaultEventMaskExcept(uint64_t,uint64_t)67 tBTM_STATUS bluetooth::shim::BTM_SetDefaultEventMaskExcept(uint64_t /* mask */,
68                                                            uint64_t /* le_mask */) {
69   inc_func_call_count(__func__);
70   return tBTM_STATUS::BTM_SUCCESS;
71 }
72 
BTM_SetEventFilterInquiryResultAllDevices()73 tBTM_STATUS bluetooth::shim::BTM_SetEventFilterInquiryResultAllDevices() {
74   inc_func_call_count(__func__);
75   return tBTM_STATUS::BTM_SUCCESS;
76 }
77 
BTM_BleResetId()78 tBTM_STATUS bluetooth::shim::BTM_BleResetId() {
79   inc_func_call_count(__func__);
80   return tBTM_STATUS::BTM_SUCCESS;
81 }
BTM_BleGetNumberOfAdvertisingInstancesInUse()82 size_t bluetooth::shim::BTM_BleGetNumberOfAdvertisingInstancesInUse() {
83   inc_func_call_count(__func__);
84   return 0;
85 }
86