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 #include "stack/btm/ble_scanner_hci_interface.h"
18 #include "stack/btm/btm_ble_int.h"
19 #include "stack/include/ble_scanner.h"
20 #include "test/common/mock_functions.h"
21 
CleanUp()22 void BleScanningManager::CleanUp() { inc_func_call_count(__func__); }
btm_ble_scanner_init()23 void btm_ble_scanner_init() { inc_func_call_count(__func__); }
Get()24 base::WeakPtr<BleScanningManager> BleScanningManager::Get() {
25   inc_func_call_count(__func__);
26   return nullptr;
27 }
IsInitialized()28 bool BleScanningManager::IsInitialized() {
29   inc_func_call_count(__func__);
30   return false;
31 }
Initialize(BleScannerHciInterface *)32 void BleScanningManager::Initialize(BleScannerHciInterface* /* interface */) {
33   inc_func_call_count(__func__);
34 }
btm_ble_scanner_cleanup(void)35 void btm_ble_scanner_cleanup(void) { inc_func_call_count(__func__); }
36