Home
last modified time | relevance | path

Searched refs:delay_id (Results 1 – 6 of 6) sorted by relevance

/system/connectivity/shill/dbus/
Dchromeos_power_manager_proxy.cc108 bool ChromeosPowerManagerProxy::UnregisterSuspendDelay(int delay_id) { in UnregisterSuspendDelay() argument
113 return UnregisterSuspendDelayInternal(false, delay_id); in UnregisterSuspendDelay()
116 bool ChromeosPowerManagerProxy::ReportSuspendReadiness(int delay_id, in ReportSuspendReadiness() argument
122 return ReportSuspendReadinessInternal(false, delay_id, suspend_id); in ReportSuspendReadiness()
139 bool ChromeosPowerManagerProxy::UnregisterDarkSuspendDelay(int delay_id) { in UnregisterDarkSuspendDelay() argument
144 return UnregisterSuspendDelayInternal(true, delay_id); in UnregisterDarkSuspendDelay()
147 bool ChromeosPowerManagerProxy::ReportDarkSuspendReadiness(int delay_id, in ReportDarkSuspendReadiness() argument
153 return ReportSuspendReadinessInternal(true, delay_id, suspend_id); in ReportDarkSuspendReadiness()
216 *delay_id_out = reply_proto.delay_id(); in RegisterSuspendDelayInternal()
221 int delay_id) { in UnregisterSuspendDelayInternal() argument
[all …]
Dchromeos_power_manager_proxy.h54 bool UnregisterSuspendDelay(int delay_id) override;
55 bool ReportSuspendReadiness(int delay_id, int suspend_id) override;
59 bool UnregisterDarkSuspendDelay(int delay_id) override;
60 bool ReportDarkSuspendReadiness(int delay_id, int suspend_id) override;
74 bool UnregisterSuspendDelayInternal(bool is_dark, int delay_id);
76 int delay_id,
/system/connectivity/shill/
Dpower_manager_proxy_stub.h37 bool UnregisterSuspendDelay(int delay_id) override;
39 bool ReportSuspendReadiness(int delay_id, int suspend_id) override;
45 bool UnregisterDarkSuspendDelay(int delay_id) override;
47 bool ReportDarkSuspendReadiness(int delay_id, int suspend_id) override;
Dmock_power_manager_proxy.h38 MOCK_METHOD1(UnregisterSuspendDelay, bool(int delay_id));
39 MOCK_METHOD2(ReportSuspendReadiness, bool(int delay_id, int suspend_id));
44 MOCK_METHOD1(UnregisterDarkSuspendDelay, bool(int delay_id));
45 MOCK_METHOD2(ReportDarkSuspendReadiness, bool(int delay_id, int suspend_id));
Dpower_manager_proxy_interface.h48 virtual bool UnregisterSuspendDelay(int delay_id) = 0;
53 virtual bool ReportSuspendReadiness(int delay_id, int suspend_id) = 0;
64 virtual bool UnregisterDarkSuspendDelay(int delay_id) = 0;
68 virtual bool ReportDarkSuspendReadiness(int delay_id, int suspend_id) = 0;
Dpower_manager_unittest.cc123 void AddProxyExpectationForRegisterSuspendDelay(int delay_id, in AddProxyExpectationForRegisterSuspendDelay() argument
127 .WillOnce(DoAll(SetArgumentPointee<2>(delay_id), Return(return_value))); in AddProxyExpectationForRegisterSuspendDelay()
130 void AddProxyExpectationForUnregisterSuspendDelay(int delay_id, in AddProxyExpectationForUnregisterSuspendDelay() argument
132 EXPECT_CALL(*power_manager_proxy_, UnregisterSuspendDelay(delay_id)) in AddProxyExpectationForUnregisterSuspendDelay()
136 void AddProxyExpectationForReportSuspendReadiness(int delay_id, in AddProxyExpectationForReportSuspendReadiness() argument
140 ReportSuspendReadiness(delay_id, suspend_id)) in AddProxyExpectationForReportSuspendReadiness()
150 void AddProxyExpectationForRegisterDarkSuspendDelay(int delay_id, in AddProxyExpectationForRegisterDarkSuspendDelay() argument
154 .WillOnce(DoAll(SetArgumentPointee<2>(delay_id), Return(return_value))); in AddProxyExpectationForRegisterDarkSuspendDelay()
157 void AddProxyExpectationForReportDarkSuspendReadiness(int delay_id, in AddProxyExpectationForReportDarkSuspendReadiness() argument
161 ReportDarkSuspendReadiness(delay_id, suspend_id)) in AddProxyExpectationForReportDarkSuspendReadiness()
[all …]