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_HAL_MOCK_DRIVER_TOOL_H
18e9a0f2ca0e00d815d595fd85b88dbfdc310eaa12Christopher Wiley#define ANDROID_WIFI_HAL_MOCK_DRIVER_TOOL_H
19e9a0f2ca0e00d815d595fd85b88dbfdc310eaa12Christopher Wiley
20e9a0f2ca0e00d815d595fd85b88dbfdc310eaa12Christopher Wiley#include <wifi_hal/driver_tool.h>
21e9a0f2ca0e00d815d595fd85b88dbfdc310eaa12Christopher Wiley
22e9a0f2ca0e00d815d595fd85b88dbfdc310eaa12Christopher Wileynamespace android {
23e9a0f2ca0e00d815d595fd85b88dbfdc310eaa12Christopher Wileynamespace wifi_hal {
24e9a0f2ca0e00d815d595fd85b88dbfdc310eaa12Christopher Wiley
25e9a0f2ca0e00d815d595fd85b88dbfdc310eaa12Christopher Wileyclass MockDriverTool : public DriverTool {
26e9a0f2ca0e00d815d595fd85b88dbfdc310eaa12Christopher Wiley public:
27e9a0f2ca0e00d815d595fd85b88dbfdc310eaa12Christopher Wiley  ~MockDriverTool() override = default;
28e9a0f2ca0e00d815d595fd85b88dbfdc310eaa12Christopher Wiley  MOCK_METHOD0(LoadDriver, bool());
29e9a0f2ca0e00d815d595fd85b88dbfdc310eaa12Christopher Wiley  MOCK_METHOD0(UnloadDriver, bool());
30e9a0f2ca0e00d815d595fd85b88dbfdc310eaa12Christopher Wiley  MOCK_METHOD0(IsDriverLoaded, bool());
31e9a0f2ca0e00d815d595fd85b88dbfdc310eaa12Christopher Wiley  MOCK_METHOD1(ChangeFirmwareMode, bool(int mode));
32e9a0f2ca0e00d815d595fd85b88dbfdc310eaa12Christopher Wiley
33e9a0f2ca0e00d815d595fd85b88dbfdc310eaa12Christopher Wiley};  // class MockDriverTool
34e9a0f2ca0e00d815d595fd85b88dbfdc310eaa12Christopher Wiley
35e9a0f2ca0e00d815d595fd85b88dbfdc310eaa12Christopher Wiley}  // namespace wifi_hal
36e9a0f2ca0e00d815d595fd85b88dbfdc310eaa12Christopher Wiley}  // namespace android
37e9a0f2ca0e00d815d595fd85b88dbfdc310eaa12Christopher Wiley
38e9a0f2ca0e00d815d595fd85b88dbfdc310eaa12Christopher Wiley#endif  // ANDROID_WIFI_HAL_MOCK_DRIVER_TOOL_H
39e9a0f2ca0e00d815d595fd85b88dbfdc310eaa12Christopher Wiley
40