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