1c0beca55d290fe0b1c96d78cbbcf94b05c23f5a5Peter Qiu//
2c0beca55d290fe0b1c96d78cbbcf94b05c23f5a5Peter Qiu// Copyright (C) 2012 The Android Open Source Project
3c0beca55d290fe0b1c96d78cbbcf94b05c23f5a5Peter Qiu//
4c0beca55d290fe0b1c96d78cbbcf94b05c23f5a5Peter Qiu// Licensed under the Apache License, Version 2.0 (the "License");
5c0beca55d290fe0b1c96d78cbbcf94b05c23f5a5Peter Qiu// you may not use this file except in compliance with the License.
6c0beca55d290fe0b1c96d78cbbcf94b05c23f5a5Peter Qiu// You may obtain a copy of the License at
7c0beca55d290fe0b1c96d78cbbcf94b05c23f5a5Peter Qiu//
8c0beca55d290fe0b1c96d78cbbcf94b05c23f5a5Peter Qiu//      http://www.apache.org/licenses/LICENSE-2.0
9c0beca55d290fe0b1c96d78cbbcf94b05c23f5a5Peter Qiu//
10c0beca55d290fe0b1c96d78cbbcf94b05c23f5a5Peter Qiu// Unless required by applicable law or agreed to in writing, software
11c0beca55d290fe0b1c96d78cbbcf94b05c23f5a5Peter Qiu// distributed under the License is distributed on an "AS IS" BASIS,
12c0beca55d290fe0b1c96d78cbbcf94b05c23f5a5Peter Qiu// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13c0beca55d290fe0b1c96d78cbbcf94b05c23f5a5Peter Qiu// See the License for the specific language governing permissions and
14c0beca55d290fe0b1c96d78cbbcf94b05c23f5a5Peter Qiu// limitations under the License.
15c0beca55d290fe0b1c96d78cbbcf94b05c23f5a5Peter Qiu//
162c39fab2ebccf90e4a620adb6d697e6b1900d74aArman Uguray
17c54afe521739065a5d77e7c049acdb5e603f0592Ben Chan#ifndef SHILL_CELLULAR_MOCK_MM1_MODEM_LOCATION_PROXY_H_
18c54afe521739065a5d77e7c049acdb5e603f0592Ben Chan#define SHILL_CELLULAR_MOCK_MM1_MODEM_LOCATION_PROXY_H_
192c39fab2ebccf90e4a620adb6d697e6b1900d74aArman Uguray
20cc67c52a2c00f90e877971d552208dd99825d84eBen Chan#include <base/macros.h>
212c39fab2ebccf90e4a620adb6d697e6b1900d74aArman Uguray#include <gmock/gmock.h>
222c39fab2ebccf90e4a620adb6d697e6b1900d74aArman Uguray
23c54afe521739065a5d77e7c049acdb5e603f0592Ben Chan#include "shill/cellular/mm1_modem_location_proxy_interface.h"
242c39fab2ebccf90e4a620adb6d697e6b1900d74aArman Uguray
252c39fab2ebccf90e4a620adb6d697e6b1900d74aArman Uguraynamespace shill {
262c39fab2ebccf90e4a620adb6d697e6b1900d74aArman Uguraynamespace mm1 {
272c39fab2ebccf90e4a620adb6d697e6b1900d74aArman Uguray
282c39fab2ebccf90e4a620adb6d697e6b1900d74aArman Ugurayclass MockModemLocationProxy : public ModemLocationProxyInterface {
292c39fab2ebccf90e4a620adb6d697e6b1900d74aArman Uguray public:
302c39fab2ebccf90e4a620adb6d697e6b1900d74aArman Uguray  MockModemLocationProxy();
315ea763b83299b5fad76a87183fb39a74c2d3c61dBen Chan  ~MockModemLocationProxy() override;
322c39fab2ebccf90e4a620adb6d697e6b1900d74aArman Uguray
332c39fab2ebccf90e4a620adb6d697e6b1900d74aArman Uguray  // Inherited methods from ModemLocationProxyInterface.
342c39fab2ebccf90e4a620adb6d697e6b1900d74aArman Uguray  MOCK_METHOD5(Setup, void(uint32_t sources,
352c39fab2ebccf90e4a620adb6d697e6b1900d74aArman Uguray                           bool signal_location,
362f6c78991e37f5fa71f2ba4d1669be73f0a6dfd4Paul Stewart                           Error* error,
372f6c78991e37f5fa71f2ba4d1669be73f0a6dfd4Paul Stewart                           const ResultCallback& callback,
382c39fab2ebccf90e4a620adb6d697e6b1900d74aArman Uguray                           int timeout));
392c39fab2ebccf90e4a620adb6d697e6b1900d74aArman Uguray
402f6c78991e37f5fa71f2ba4d1669be73f0a6dfd4Paul Stewart  MOCK_METHOD3(GetLocation, void(Error* error,
412f6c78991e37f5fa71f2ba4d1669be73f0a6dfd4Paul Stewart                                 const DBusEnumValueMapCallback& callback,
422c39fab2ebccf90e4a620adb6d697e6b1900d74aArman Uguray                                 int timeout));
432c39fab2ebccf90e4a620adb6d697e6b1900d74aArman Uguray
442c39fab2ebccf90e4a620adb6d697e6b1900d74aArman Uguray private:
452c39fab2ebccf90e4a620adb6d697e6b1900d74aArman Uguray  DISALLOW_COPY_AND_ASSIGN(MockModemLocationProxy);
462c39fab2ebccf90e4a620adb6d697e6b1900d74aArman Uguray};
472c39fab2ebccf90e4a620adb6d697e6b1900d74aArman Uguray
482c39fab2ebccf90e4a620adb6d697e6b1900d74aArman Uguray}  // namespace mm1
492c39fab2ebccf90e4a620adb6d697e6b1900d74aArman Uguray}  // namespace shill
502c39fab2ebccf90e4a620adb6d697e6b1900d74aArman Uguray
51c54afe521739065a5d77e7c049acdb5e603f0592Ben Chan#endif  // SHILL_CELLULAR_MOCK_MM1_MODEM_LOCATION_PROXY_H_
52