• 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:7
20  */
21 
22 #include <map>
23 #include <string>
24 
25 extern std::map<std::string, int> mock_function_count_map;
26 
27 #include <cstdint>
28 #include "bt_target.h"
29 #include "bta/include/utl.h"
30 #include "stack/include/btm_api.h"
31 
32 #ifndef UNUSED_ATTR
33 #define UNUSED_ATTR
34 #endif
35 
utl_isdialchar(const char d)36 bool utl_isdialchar(const char d) {
37   mock_function_count_map[__func__]++;
38   return false;
39 }
utl_isdialstr(const char * p_s)40 bool utl_isdialstr(const char* p_s) {
41   mock_function_count_map[__func__]++;
42   return false;
43 }
utl_isintstr(const char * p_s)44 bool utl_isintstr(const char* p_s) {
45   mock_function_count_map[__func__]++;
46   return false;
47 }
utl_set_device_class(tBTA_UTL_COD * p_cod,uint8_t cmd)48 bool utl_set_device_class(tBTA_UTL_COD* p_cod, uint8_t cmd) {
49   mock_function_count_map[__func__]++;
50   return false;
51 }
utl_strucmp(const char * p_s,const char * p_t)52 int utl_strucmp(const char* p_s, const char* p_t) {
53   mock_function_count_map[__func__]++;
54   return 0;
55 }
utl_str2int(const char * p_s)56 int16_t utl_str2int(const char* p_s) {
57   mock_function_count_map[__func__]++;
58   return 0;
59 }
utl_itoa(uint16_t i,char * p_s)60 uint8_t utl_itoa(uint16_t i, char* p_s) {
61   mock_function_count_map[__func__]++;
62   return 0;
63 }
64