1 /*
2 * Copyright 2020 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:10
20 */
21
22 #include <cstdint>
23
24 #include "stack/gatt/gatt_int.h"
25 #include "stack/include/bt_hdr.h"
26 #include "test/common/mock_functions.h"
27 #include "types/raw_address.h"
28
gatt_security_check_start(tGATT_CLCB *)29 bool gatt_security_check_start(tGATT_CLCB* /* p_clcb */) {
30 inc_func_call_count(__func__);
31 return false;
32 }
gatt_determine_sec_act(tGATT_CLCB *)33 tGATT_SEC_ACTION gatt_determine_sec_act(tGATT_CLCB* /* p_clcb */) {
34 inc_func_call_count(__func__);
35 return GATT_SEC_NONE;
36 }
gatt_get_sec_act(tGATT_TCB *)37 tGATT_SEC_ACTION gatt_get_sec_act(tGATT_TCB* /* p_tcb */) {
38 inc_func_call_count(__func__);
39 return GATT_SEC_NONE;
40 }
gatt_get_link_encrypt_status(tGATT_TCB &)41 tGATT_STATUS gatt_get_link_encrypt_status(tGATT_TCB& /* tcb */) {
42 inc_func_call_count(__func__);
43 return GATT_SUCCESS;
44 }
gatt_notify_enc_cmpl(const RawAddress &)45 void gatt_notify_enc_cmpl(const RawAddress& /* bd_addr */) {
46 inc_func_call_count(__func__);
47 }
gatt_set_sec_act(tGATT_TCB *,tGATT_SEC_ACTION)48 void gatt_set_sec_act(tGATT_TCB* /* p_tcb */, tGATT_SEC_ACTION /* sec_act */) {
49 inc_func_call_count(__func__);
50 }
gatt_verify_signature(tGATT_TCB &,uint16_t,BT_HDR *)51 void gatt_verify_signature(tGATT_TCB& /* tcb */, uint16_t /* cid */,
52 BT_HDR* /* p_buf */) {
53 inc_func_call_count(__func__);
54 }
55