/* * Copyright 2021 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /* * Generated mock file from original source file * Functions generated:14 */ #include #include extern std::map mock_function_count_map; #include #include #include "bt_common.h" #include "bt_target.h" #include "stack/include/sdp_api.h" #include "stack/sdp/sdpint.h" #ifndef UNUSED_ATTR #define UNUSED_ATTR #endif bool SDP_AddAdditionProtoLists(uint32_t handle, uint16_t num_elem, tSDP_PROTO_LIST_ELEM* p_proto_list) { mock_function_count_map[__func__]++; return false; } bool SDP_AddAttribute(uint32_t handle, uint16_t attr_id, uint8_t attr_type, uint32_t attr_len, uint8_t* p_val) { mock_function_count_map[__func__]++; return false; } bool SDP_AddLanguageBaseAttrIDList(uint32_t handle, uint16_t lang, uint16_t char_enc, uint16_t base_id) { mock_function_count_map[__func__]++; return false; } bool SDP_AddProfileDescriptorList(uint32_t handle, uint16_t profile_uuid, uint16_t version) { mock_function_count_map[__func__]++; return false; } bool SDP_AddProtocolList(uint32_t handle, uint16_t num_elem, tSDP_PROTOCOL_ELEM* p_elem_list) { mock_function_count_map[__func__]++; return false; } bool SDP_AddSequence(uint32_t handle, uint16_t attr_id, uint16_t num_elem, uint8_t type[], uint8_t len[], uint8_t* p_val[]) { mock_function_count_map[__func__]++; return false; } bool SDP_AddServiceClassIdList(uint32_t handle, uint16_t num_services, uint16_t* p_service_uuids) { mock_function_count_map[__func__]++; return false; } bool SDP_AddUuidSequence(uint32_t handle, uint16_t attr_id, uint16_t num_uuids, uint16_t* p_uuids) { mock_function_count_map[__func__]++; return false; } bool SDP_DeleteAttribute(uint32_t handle, uint16_t attr_id) { mock_function_count_map[__func__]++; return false; } bool SDP_DeleteRecord(uint32_t handle) { mock_function_count_map[__func__]++; return false; } tSDP_ATTRIBUTE* sdp_db_find_attr_in_rec(tSDP_RECORD* p_rec, uint16_t start_attr, uint16_t end_attr) { mock_function_count_map[__func__]++; return nullptr; } tSDP_RECORD* sdp_db_find_record(uint32_t handle) { mock_function_count_map[__func__]++; return nullptr; } tSDP_RECORD* sdp_db_service_search(tSDP_RECORD* p_rec, tSDP_UUID_SEQ* p_seq) { mock_function_count_map[__func__]++; return nullptr; } uint32_t SDP_CreateRecord(void) { mock_function_count_map[__func__]++; return 0; }