• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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:27
20  */
21 
22 #include <cstdint>
23 
24 #include "stack/gatt/gatt_int.h"
25 #include "stack/include/gatt_api.h"
26 #include "test/common/mock_functions.h"
27 #include "types/bluetooth/uuid.h"
28 
29 using namespace bluetooth;
30 
31 tGATT_HDL_LIST_ELEM elem;  // gatt_add_an_item_to_list
32 
gatt_add_an_item_to_list(uint16_t)33 tGATT_HDL_LIST_ELEM& gatt_add_an_item_to_list(uint16_t /* s_handle */) {
34   inc_func_call_count(__func__);
35   return elem;
36 }
GATTC_Discover(uint16_t,tGATT_DISC_TYPE,uint16_t,uint16_t,const Uuid &)37 tGATT_STATUS GATTC_Discover(uint16_t /* conn_id */,
38                             tGATT_DISC_TYPE /* disc_type */,
39                             uint16_t /* start_handle */,
40                             uint16_t /* end_handle */, const Uuid& /* uuid */) {
41   inc_func_call_count(__func__);
42   return GATT_SUCCESS;
43 }
44