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 */ 20 21 #include "stack/include/btm_ble_api_types.h" 22 #include "stack/include/btm_client_interface.h" 23 #include "types/raw_address.h" 24 BTM_BleGetEnergyInfo(tBTM_BLE_ENERGY_INFO_CBACK * p_ener_cback)25tBTM_STATUS BTM_BleGetEnergyInfo(tBTM_BLE_ENERGY_INFO_CBACK* p_ener_cback) { 26 return BTM_SUCCESS; 27 } BTM_BleReadControllerFeatures(tBTM_BLE_CTRL_FEATURES_CBACK * p_vsc_cback)28void BTM_BleReadControllerFeatures(tBTM_BLE_CTRL_FEATURES_CBACK* p_vsc_cback) {} BTM_is_sniff_allowed_for(const RawAddress & peer_addr)29bool BTM_is_sniff_allowed_for(const RawAddress& peer_addr) { return false; } BTM_GetAcceptlistSize()30uint8_t BTM_GetAcceptlistSize() { return 0; } 31 32 struct btm_client_interface_s btm_client_interface = {}; 33 get_btm_client_interface()34struct btm_client_interface_s& get_btm_client_interface() { 35 return btm_client_interface; 36 } 37