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