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