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:9 20 */ 21 22 #include "l2c_api.h" 23 #include "stack/include/bt_hdr.h" 24 #include "stack/l2cap/l2c_int.h" 25 #include "test/common/mock_functions.h" 26 l2c_data_write(uint16_t,BT_HDR *,uint16_t)27uint8_t l2c_data_write(uint16_t /* cid */, BT_HDR* /* p_data */, 28 uint16_t /* flags */) { 29 inc_func_call_count(__func__); 30 return 0; 31 } l2c_ccb_timer_timeout(void *)32void l2c_ccb_timer_timeout(void* /* data */) { inc_func_call_count(__func__); } l2c_fcrb_ack_timer_timeout(void *)33void l2c_fcrb_ack_timer_timeout(void* /* data */) { 34 inc_func_call_count(__func__); 35 } l2c_free(void)36void l2c_free(void) { inc_func_call_count(__func__); } l2c_init(void)37void l2c_init(void) { inc_func_call_count(__func__); } l2c_lcb_timer_timeout(void *)38void l2c_lcb_timer_timeout(void* /* data */) { inc_func_call_count(__func__); } l2c_rcv_acl_data(BT_HDR *)39void l2c_rcv_acl_data(BT_HDR* /* p_msg */) { inc_func_call_count(__func__); } l2c_receive_hold_timer_timeout(void *)40void l2c_receive_hold_timer_timeout(void* /* data */) { 41 inc_func_call_count(__func__); 42 } 43