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:6
20  */
21 
22 #include <cstdint>
23 #include <map>
24 #include <string>
25 
26 extern std::map<std::string, int> mock_function_count_map;
27 
28 #include "stack/include/gap_api.h"
29 #include "types/raw_address.h"
30 
31 #ifndef UNUSED_ATTR
32 #define UNUSED_ATTR
33 #endif
34 
GAP_BleCancelReadPeerDevName(const RawAddress & peer_bda)35 bool GAP_BleCancelReadPeerDevName(const RawAddress& peer_bda) {
36   mock_function_count_map[__func__]++;
37   return false;
38 }
GAP_BleReadPeerDevName(const RawAddress & peer_bda,tGAP_BLE_CMPL_CBACK * p_cback)39 bool GAP_BleReadPeerDevName(const RawAddress& peer_bda,
40                             tGAP_BLE_CMPL_CBACK* p_cback) {
41   mock_function_count_map[__func__]++;
42   return false;
43 }
GAP_BleReadPeerPrefConnParams(const RawAddress & peer_bda)44 bool GAP_BleReadPeerPrefConnParams(const RawAddress& peer_bda) {
45   mock_function_count_map[__func__]++;
46   return false;
47 }
GAP_BleAttrDBUpdate(uint16_t attr_uuid,tGAP_BLE_ATTR_VALUE * p_value)48 void GAP_BleAttrDBUpdate(uint16_t attr_uuid, tGAP_BLE_ATTR_VALUE* p_value) {
49   mock_function_count_map[__func__]++;
50 }
gap_attr_db_init(void)51 void gap_attr_db_init(void) { mock_function_count_map[__func__]++; }
52