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 24 #include "stack/include/gap_api.h" 25 #include "test/common/mock_functions.h" 26 #include "types/raw_address.h" 27 GAP_BleCancelReadPeerDevName(const RawAddress &)28bool GAP_BleCancelReadPeerDevName(const RawAddress& /* peer_bda */) { 29 inc_func_call_count(__func__); 30 return false; 31 } GAP_BleReadPeerDevName(const RawAddress &,tGAP_BLE_CMPL_CBACK *)32bool GAP_BleReadPeerDevName(const RawAddress& /* peer_bda */, 33 tGAP_BLE_CMPL_CBACK* /* p_cback */) { 34 inc_func_call_count(__func__); 35 return false; 36 } GAP_BleReadPeerPrefConnParams(const RawAddress &)37bool GAP_BleReadPeerPrefConnParams(const RawAddress& /* peer_bda */) { 38 inc_func_call_count(__func__); 39 return false; 40 } GAP_BleAttrDBUpdate(uint16_t,tGAP_BLE_ATTR_VALUE *)41void GAP_BleAttrDBUpdate(uint16_t /* attr_uuid */, 42 tGAP_BLE_ATTR_VALUE* /* p_value */) { 43 inc_func_call_count(__func__); 44 } gap_attr_db_init(void)45void gap_attr_db_init(void) { inc_func_call_count(__func__); } 46