1// 2// Copyright (C) 2015 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 "shill/power_manager_proxy_stub.h" 18 19namespace shill { 20 21PowerManagerProxyStub::PowerManagerProxyStub() {} 22 23bool PowerManagerProxyStub::RegisterSuspendDelay( 24 base::TimeDelta /*timeout*/, 25 const std::string& /*description*/, 26 int* /*delay_id_out*/) { 27 // STUB IMPLEMENTATION. 28 return false; 29} 30 31bool PowerManagerProxyStub::UnregisterSuspendDelay(int /*delay_id*/) { 32 // STUB IMPLEMENTATION. 33 return false; 34} 35 36bool PowerManagerProxyStub::ReportSuspendReadiness(int /*delay_id*/, 37 int /*suspend_id*/) { 38 // STUB IMPLEMENTATION. 39 return false; 40} 41 42bool PowerManagerProxyStub::RegisterDarkSuspendDelay( 43 base::TimeDelta /*timeout*/, 44 const std::string& /*description*/, 45 int* /*delay_id_out*/) { 46 // STUB IMPLEMENTATION. 47 return false; 48} 49 50bool PowerManagerProxyStub::UnregisterDarkSuspendDelay(int /*delay_id*/) { 51 // STUB IMPLEMENTATION. 52 return false; 53} 54 55bool PowerManagerProxyStub::ReportDarkSuspendReadiness(int /*delay_id*/, 56 int /*suspend_id*/) { 57 // STUB IMPLEMENTATION. 58 return false; 59} 60 61bool PowerManagerProxyStub::RecordDarkResumeWakeReason( 62 const std::string& /*wake_reason*/) { 63 // STUB IMPLEMENTATION. 64 return false; 65} 66 67} // namespace shill 68