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 <base/functional/bind.h> 23 #include <base/logging.h> 24 #include <base/strings/string_number_conversions.h> 25 #include <hardware/bt_vc.h> 26 27 #include <map> 28 #include <string> 29 #include <vector> 30 31 #include "bind_helpers.h" 32 #include "bta/include/bta_gatt_api.h" 33 #include "bta/include/bta_gatt_queue.h" 34 #include "bta/include/bta_vc_api.h" 35 #include "btif/include/btif_storage.h" 36 #include "test/common/mock_functions.h" 37 #include "types/raw_address.h" 38 39 #ifndef UNUSED_ATTR 40 #define UNUSED_ATTR 41 #endif 42 AddFromStorage(const RawAddress & address,bool auto_connect)43void VolumeControl::AddFromStorage(const RawAddress& address, 44 bool auto_connect) { 45 inc_func_call_count(__func__); 46 } CleanUp()47void VolumeControl::CleanUp() { inc_func_call_count(__func__); } DebugDump(int fd)48void VolumeControl::DebugDump(int fd) { inc_func_call_count(__func__); } Get(void)49VolumeControl* VolumeControl::Get(void) { 50 inc_func_call_count(__func__); 51 return nullptr; 52 } IsVolumeControlRunning()53bool VolumeControl::IsVolumeControlRunning() { 54 inc_func_call_count(__func__); 55 return false; 56 } Initialize(bluetooth::vc::VolumeControlCallbacks * callbacks)57void VolumeControl::Initialize( 58 bluetooth::vc::VolumeControlCallbacks* callbacks) { 59 inc_func_call_count(__func__); 60 } 61