blob: eabcd09eeabeee281b7c26920c86a27790be443b [file] [log] [blame]
/*
* 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:8
*/
#include <map>
#include <string>
extern std::map<std::string, int> mock_function_count_map;
#include <base/bind.h>
#include <base/callback.h>
#include <base/strings/string_number_conversions.h>
#include <cstdint>
#include <vector>
#include "bta/include/bta_gatt_api.h"
#include "bta/include/bta_gatt_queue.h"
#include "bta/include/bta_hearing_aid_api.h"
#include "embdrv/g722/g722_enc_dec.h"
#include "osi/include/log.h"
#include "osi/include/properties.h"
#include "stack/btm/btm_sec.h"
#include "stack/include/acl_api.h"
#include "stack/include/acl_api_types.h"
#include "stack/include/gap_api.h"
#include "stack/include/l2c_api.h"
#include "types/bluetooth/uuid.h"
#include "types/bt_transport.h"
#include "types/raw_address.h"
#ifndef UNUSED_ATTR
#define UNUSED_ATTR
#endif
int HearingAid::GetDeviceCount() {
mock_function_count_map[__func__]++;
return 0;
}
void HearingAid::AddFromStorage(const HearingDevice& dev_info,
uint16_t is_acceptlisted) {
mock_function_count_map[__func__]++;
}
void HearingAid::DebugDump(int fd) { mock_function_count_map[__func__]++; }
HearingAid* HearingAid::Get() {
mock_function_count_map[__func__]++;
return nullptr;
}
bool HearingAid::IsHearingAidRunning() {
mock_function_count_map[__func__]++;
return false;
}
void HearingAid::CleanUp() { mock_function_count_map[__func__]++; }
void HearingAid::Initialize(
bluetooth::hearing_aid::HearingAidCallbacks* callbacks,
base::Closure initCb) {
mock_function_count_map[__func__]++;
}