Home
last modified time | relevance | path

Searched refs:PowerMgrClient (Results 1 – 25 of 49) sorted by relevance

12

/base/powermgr/power_manager/frameworks/native/
Dpower_mgr_client.cpp39 PowerMgrClient::PowerMgrClient() {} in PowerMgrClient() function in OHOS::PowerMgr::PowerMgrClient
40 PowerMgrClient::~PowerMgrClient() in ~PowerMgrClient()
50 ErrCode PowerMgrClient::Connect() in Connect()
83 void PowerMgrClient::ResetProxy(const wptr<IRemoteObject>& remote) in ResetProxy()
95 void PowerMgrClient::PowerMgrDeathRecipient::OnRemoteDied(const wptr<IRemoteObject>& remote) in OnRemoteDied()
102 PowerMgrClient::GetInstance().ResetProxy(remote); in OnRemoteDied()
106 PowerErrors PowerMgrClient::RebootDevice(const std::string& reason) in RebootDevice()
112 PowerErrors PowerMgrClient::RebootDeviceForDeprecated(const std::string& reason) in RebootDeviceForDeprecated()
118 PowerErrors PowerMgrClient::ShutDownDevice(const std::string& reason) in ShutDownDevice()
124 PowerErrors PowerMgrClient::SuspendDevice(SuspendDeviceType reason, bool suspendImmed) in SuspendDevice()
[all …]
/base/powermgr/power_manager/test/unittest/src/
Dpower_state_machine_test.cpp46 auto& powerMgrClient = PowerMgrClient::GetInstance(); in SetUp()
52 auto& powerMgrClient = PowerMgrClient::GetInstance(); in TearDown()
67 auto& powerMgrClient = PowerMgrClient::GetInstance();
95 auto& powerMgrClient = PowerMgrClient::GetInstance();
122 auto& powerMgrClient = PowerMgrClient::GetInstance();
150 auto& powerMgrClient = PowerMgrClient::GetInstance();
190 auto& powerMgrClient = PowerMgrClient::GetInstance();
216 auto& powerMgrClient = PowerMgrClient::GetInstance();
236 auto& powerMgrClient = PowerMgrClient::GetInstance(); in WakeUpthread()
242 auto& powerMgrClient = PowerMgrClient::GetInstance(); in Suspendthread()
[all …]
Dpower_mgr_service_test.cpp95 auto& powerMgrClient = PowerMgrClient::GetInstance();
111 auto& powerMgrClient = PowerMgrClient::GetInstance();
127 auto& powerMgrClient = PowerMgrClient::GetInstance();
142 auto& powerMgrClient = PowerMgrClient::GetInstance();
157 auto& powerMgrClient = PowerMgrClient::GetInstance();
173 auto& powerMgrClient = PowerMgrClient::GetInstance();
189 auto& powerMgrClient = PowerMgrClient::GetInstance();
205 auto& powerMgrClient = PowerMgrClient::GetInstance();
222 auto& powerMgrClient = PowerMgrClient::GetInstance();
238 auto& powerMgrClient = PowerMgrClient::GetInstance();
[all …]
Dpower_mgr_client_test.cpp49 auto& powerMgrClient = PowerMgrClient::GetInstance();
75 auto& powerMgrClient = PowerMgrClient::GetInstance();
101 auto& powerMgrClient = PowerMgrClient::GetInstance();
127 auto& powerMgrClient = PowerMgrClient::GetInstance();
153 auto& powerMgrClient = PowerMgrClient::GetInstance();
179 auto& powerMgrClient = PowerMgrClient::GetInstance();
205 auto& powerMgrClient = PowerMgrClient::GetInstance();
232 auto& powerMgrClient = PowerMgrClient::GetInstance();
259 auto& powerMgrClient = PowerMgrClient::GetInstance();
280 auto& powerMgrClient = PowerMgrClient::GetInstance();
[all …]
Dpower_mgr_service_death_test.cpp35 auto& powerMgrClient = PowerMgrClient::GetInstance();
39 std::make_shared<PowerMgrClient::PowerMgrDeathRecipient>();
54 auto& powerMgrClient = PowerMgrClient::GetInstance();
58 std::make_shared<PowerMgrClient::PowerMgrDeathRecipient>();
Drunning_lock_test.cpp41 auto& powerMgrClient = PowerMgrClient::GetInstance();
61 auto& powerMgrClient = PowerMgrClient::GetInstance();
92 auto& powerMgrClient = PowerMgrClient::GetInstance();
133 auto& powerMgrClient = PowerMgrClient::GetInstance();
170 auto& powerMgrClient = PowerMgrClient::GetInstance();
191 auto& powerMgrClient = PowerMgrClient::GetInstance();
217 auto& powerMgrClient = PowerMgrClient::GetInstance();
250 auto& powerMgrClient = PowerMgrClient::GetInstance();
271 auto& powerMgrClient = PowerMgrClient::GetInstance();
302 auto& powerMgrClient = PowerMgrClient::GetInstance();
[all …]
Dpower_mgr_client_native_test.cpp54 auto& powerMgrClient = PowerMgrClient::GetInstance();
58 powerMgrClient.~PowerMgrClient();
71 powerMgrClient.~PowerMgrClient();
Dpower_device_mode_test.cpp56 auto& powerMgrClient = PowerMgrClient::GetInstance();
92 auto& powerMgrClient = PowerMgrClient::GetInstance();
115 auto& powerMgrClient = PowerMgrClient::GetInstance();
Dpower_get_mode_test.cpp48 auto& powerMgrClient = PowerMgrClient::GetInstance();
Dpower_register_callback_mode_test.cpp49 auto& powerMgrClient = PowerMgrClient::GetInstance();
Dpower_mgr_notify_test.cpp144 auto& powerMgrClient = PowerMgrClient::GetInstance();
175 auto& powerMgrClient = PowerMgrClient::GetInstance();
Dshutdown_client_test.cpp88 auto& powerMgrClient = PowerMgrClient::GetInstance();
120 auto& powerMgrClient = PowerMgrClient::GetInstance();
Dpower_set_mode_test.cpp55 auto& powerMgrClient = PowerMgrClient::GetInstance();
Dces_system_test.cpp79 auto& powerMgrClient = PowerMgrClient::GetInstance();
/base/powermgr/power_manager/test/systemtest/src/
Dpower_mgr_powersavemode_test.cpp73 auto& powerMgrClient = PowerMgrClient::GetInstance();
92 auto& powerMgrClient = PowerMgrClient::GetInstance();
110 auto& powerMgrClient = PowerMgrClient::GetInstance();
129 auto& powerMgrClient = PowerMgrClient::GetInstance();
148 auto& powerMgrClient = PowerMgrClient::GetInstance();
169 auto& powerMgrClient = PowerMgrClient::GetInstance();
186 auto& powerMgrClient = PowerMgrClient::GetInstance();
206 auto& powerMgrClient = PowerMgrClient::GetInstance();
228 auto& powerMgrClient = PowerMgrClient::GetInstance();
252 auto& powerMgrClient = PowerMgrClient::GetInstance();
[all …]
Dpower_mgr_shutdown_fast_test.cpp61 auto& powerMgrClient = PowerMgrClient::GetInstance(); in SetUp()
67 auto& powerMgrClient = PowerMgrClient::GetInstance(); in TearDown()
113 auto& powerMgrClient = PowerMgrClient::GetInstance();
135 auto& powerMgrClient = PowerMgrClient::GetInstance();
/base/powermgr/battery_manager/test/unittest/src/
Dbattery_plugged_wakeup_test.cpp68 auto& powerMgrClient = OHOS::PowerMgr::PowerMgrClient::GetInstance();
93 auto& powerMgrClient = OHOS::PowerMgr::PowerMgrClient::GetInstance();
116 auto& powerMgrClient = OHOS::PowerMgr::PowerMgrClient::GetInstance();
141 auto& powerMgrClient = OHOS::PowerMgr::PowerMgrClient::GetInstance();
164 auto& powerMgrClient = OHOS::PowerMgr::PowerMgrClient::GetInstance();
189 auto& powerMgrClient = OHOS::PowerMgr::PowerMgrClient::GetInstance();
212 auto& powerMgrClient = OHOS::PowerMgr::PowerMgrClient::GetInstance();
237 auto& powerMgrClient = OHOS::PowerMgr::PowerMgrClient::GetInstance();
260 auto& powerMgrClient = OHOS::PowerMgr::PowerMgrClient::GetInstance();
/base/powermgr/power_manager/interfaces/inner_api/native/include/
Dpower_mgr_client.h28 class PowerMgrClient final : public DelayedRefSingleton<PowerMgrClient> {
29 DECLARE_DELAYED_REF_SINGLETON(PowerMgrClient)
32 DISALLOW_COPY_AND_MOVE(PowerMgrClient);
/base/powermgr/power_manager/utils/shell/src/
Dpower_shell_command.cpp168 PowerMgrClient& client = PowerMgrClient::GetInstance(); in RunAsSetModeCommand()
184 PowerMgrClient& client = PowerMgrClient::GetInstance(); in RunAsWakeupCommand()
193 PowerMgrClient& client = PowerMgrClient::GetInstance(); in RunAsSuspendCommand()
212 PowerMgrClient& client = PowerMgrClient::GetInstance(); in RunAsDumpCommand()
370 bool ret = PowerMgrClient::GetInstance().RestoreScreenOffTime(); in RunAsTimeOutCommand()
386 … bool ret = PowerMgrClient::GetInstance().OverrideScreenOffTime(static_cast<int64_t>(timeout)); in RunAsTimeOutCommand()
/base/powermgr/power_manager/test/apitest/inner_api/shutdown/
Dtakeover_shutdown_callback_test.cpp108 auto& powerMgrClient = PowerMgrClient::GetInstance();
134 auto& powerMgrClient = PowerMgrClient::GetInstance();
156 auto& powerMgrClient = PowerMgrClient::GetInstance();
178 auto& powerMgrClient = PowerMgrClient::GetInstance();
198 auto& powerMgrClient = PowerMgrClient::GetInstance();
/base/telephony/call_manager/services/call/call_state_observer/src/
Dproximity_sensor.cpp27 PowerMgr::PowerMgrClient::GetInstance().SuspendDevice(operationType, suspendImmed); in ShutDown()
32 PowerMgr::PowerMgrClient::GetInstance().WakeupDevice(operationType, wakeupReason); in StartUp()
Dincoming_call_wake_up.cpp41 PowerMgr::PowerMgrClient::GetInstance().WakeupDevice( in WakeupDevice()
47 return PowerMgr::PowerMgrClient::GetInstance().IsScreenOn(); in IsScreenOn()
/base/telephony/core_service/services/tel_ril/src/
Dtel_ril_handler.cpp54 auto &powerMgrClient = PowerMgr::PowerMgrClient::GetInstance(); in OnInit()
67 auto &powerMgrClient = PowerMgr::PowerMgrClient::GetInstance(); in ApplyRunningLock()
73 auto &powerMgrClient = PowerMgr::PowerMgrClient::GetInstance(); in ApplyRunningLock()
/base/powermgr/thermal_manager/services/native/src/thermal_action/action/
Daction_popup.cpp34 static PowerMgrClient& g_powerMgrClient = PowerMgrClient::GetInstance();
/base/powermgr/power_manager/frameworks/napi/utils/
Dasync_callback_info.cpp82 runningLock_ = PowerMgrClient::GetInstance().CreateRunningLock(name_, type_); in CreateRunningLock()
83 return PowerMgrClient::GetInstance().GetError(); in CreateRunningLock()

12