1e9a0f2ca0e00d815d595fd85b88dbfdc310eaa12Christopher Wiley/* 2e9a0f2ca0e00d815d595fd85b88dbfdc310eaa12Christopher Wiley * Copyright (C) 2016 The Android Open Source Project 3e9a0f2ca0e00d815d595fd85b88dbfdc310eaa12Christopher Wiley * 4e9a0f2ca0e00d815d595fd85b88dbfdc310eaa12Christopher Wiley * Licensed under the Apache License, Version 2.0 (the "License"); 5e9a0f2ca0e00d815d595fd85b88dbfdc310eaa12Christopher Wiley * you may not use this file except in compliance with the License. 6e9a0f2ca0e00d815d595fd85b88dbfdc310eaa12Christopher Wiley * You may obtain a copy of the License at 7e9a0f2ca0e00d815d595fd85b88dbfdc310eaa12Christopher Wiley * 8e9a0f2ca0e00d815d595fd85b88dbfdc310eaa12Christopher Wiley * http://www.apache.org/licenses/LICENSE-2.0 9e9a0f2ca0e00d815d595fd85b88dbfdc310eaa12Christopher Wiley * 10e9a0f2ca0e00d815d595fd85b88dbfdc310eaa12Christopher Wiley * Unless required by applicable law or agreed to in writing, software 11e9a0f2ca0e00d815d595fd85b88dbfdc310eaa12Christopher Wiley * distributed under the License is distributed on an "AS IS" BASIS, 12e9a0f2ca0e00d815d595fd85b88dbfdc310eaa12Christopher Wiley * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13e9a0f2ca0e00d815d595fd85b88dbfdc310eaa12Christopher Wiley * See the License for the specific language governing permissions and 14e9a0f2ca0e00d815d595fd85b88dbfdc310eaa12Christopher Wiley * limitations under the License. 15e9a0f2ca0e00d815d595fd85b88dbfdc310eaa12Christopher Wiley */ 16e9a0f2ca0e00d815d595fd85b88dbfdc310eaa12Christopher Wiley 17e9a0f2ca0e00d815d595fd85b88dbfdc310eaa12Christopher Wiley#ifndef ANDROID_WIFI_SYSTEM_TEST_MOCK_HAL_TOOL_H 18e9a0f2ca0e00d815d595fd85b88dbfdc310eaa12Christopher Wiley#define ANDROID_WIFI_SYSTEM_TEST_MOCK_HAL_TOOL_H 19e9a0f2ca0e00d815d595fd85b88dbfdc310eaa12Christopher Wiley 20e9a0f2ca0e00d815d595fd85b88dbfdc310eaa12Christopher Wiley#include <wifi_system/hal_tool.h> 21e9a0f2ca0e00d815d595fd85b88dbfdc310eaa12Christopher Wiley 22e9a0f2ca0e00d815d595fd85b88dbfdc310eaa12Christopher Wileynamespace android { 23e9a0f2ca0e00d815d595fd85b88dbfdc310eaa12Christopher Wileynamespace wifi_system { 24e9a0f2ca0e00d815d595fd85b88dbfdc310eaa12Christopher Wiley 25e9a0f2ca0e00d815d595fd85b88dbfdc310eaa12Christopher Wileyclass MockHalTool : public HalTool { 26e9a0f2ca0e00d815d595fd85b88dbfdc310eaa12Christopher Wiley public: 27e9a0f2ca0e00d815d595fd85b88dbfdc310eaa12Christopher Wiley ~MockHalTool() override = default; 28e9a0f2ca0e00d815d595fd85b88dbfdc310eaa12Christopher Wiley 29e9a0f2ca0e00d815d595fd85b88dbfdc310eaa12Christopher Wiley MOCK_METHOD1(InitFunctionTable, bool(wifi_hal_fn*)); 30e9a0f2ca0e00d815d595fd85b88dbfdc310eaa12Christopher Wiley MOCK_METHOD1(CanGetValidChannels, bool(wifi_hal_fn*)); 31e9a0f2ca0e00d815d595fd85b88dbfdc310eaa12Christopher Wiley 32e9a0f2ca0e00d815d595fd85b88dbfdc310eaa12Christopher Wiley}; // class MockHalTool 33e9a0f2ca0e00d815d595fd85b88dbfdc310eaa12Christopher Wiley 34e9a0f2ca0e00d815d595fd85b88dbfdc310eaa12Christopher Wiley} // namespace wifi_system 35e9a0f2ca0e00d815d595fd85b88dbfdc310eaa12Christopher Wiley} // namespace android 36e9a0f2ca0e00d815d595fd85b88dbfdc310eaa12Christopher Wiley 37e9a0f2ca0e00d815d595fd85b88dbfdc310eaa12Christopher Wiley#endif // ANDROID_WIFI_SYSTEM_TEST_MOCK_HAL_TOOL_H 38