/base/powermgr/power_manager/frameworks/native/ |
D | power_mgr_client.cpp | 39 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/ |
D | power_state_machine_test.cpp | 46 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 …]
|
D | power_mgr_service_test.cpp | 95 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 …]
|
D | power_mgr_client_test.cpp | 49 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 …]
|
D | power_mgr_service_death_test.cpp | 35 auto& powerMgrClient = PowerMgrClient::GetInstance(); 39 std::make_shared<PowerMgrClient::PowerMgrDeathRecipient>(); 54 auto& powerMgrClient = PowerMgrClient::GetInstance(); 58 std::make_shared<PowerMgrClient::PowerMgrDeathRecipient>();
|
D | running_lock_test.cpp | 41 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 …]
|
D | power_mgr_client_native_test.cpp | 54 auto& powerMgrClient = PowerMgrClient::GetInstance(); 58 powerMgrClient.~PowerMgrClient(); 71 powerMgrClient.~PowerMgrClient();
|
D | power_device_mode_test.cpp | 56 auto& powerMgrClient = PowerMgrClient::GetInstance(); 92 auto& powerMgrClient = PowerMgrClient::GetInstance(); 115 auto& powerMgrClient = PowerMgrClient::GetInstance();
|
D | power_get_mode_test.cpp | 48 auto& powerMgrClient = PowerMgrClient::GetInstance();
|
D | power_register_callback_mode_test.cpp | 49 auto& powerMgrClient = PowerMgrClient::GetInstance();
|
D | power_mgr_notify_test.cpp | 144 auto& powerMgrClient = PowerMgrClient::GetInstance(); 175 auto& powerMgrClient = PowerMgrClient::GetInstance();
|
D | shutdown_client_test.cpp | 88 auto& powerMgrClient = PowerMgrClient::GetInstance(); 120 auto& powerMgrClient = PowerMgrClient::GetInstance();
|
D | power_set_mode_test.cpp | 55 auto& powerMgrClient = PowerMgrClient::GetInstance();
|
D | ces_system_test.cpp | 79 auto& powerMgrClient = PowerMgrClient::GetInstance();
|
/base/powermgr/power_manager/test/systemtest/src/ |
D | power_mgr_powersavemode_test.cpp | 73 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 …]
|
D | power_mgr_shutdown_fast_test.cpp | 61 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/ |
D | battery_plugged_wakeup_test.cpp | 68 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/ |
D | power_mgr_client.h | 28 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/ |
D | power_shell_command.cpp | 168 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/ |
D | takeover_shutdown_callback_test.cpp | 108 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/ |
D | proximity_sensor.cpp | 27 PowerMgr::PowerMgrClient::GetInstance().SuspendDevice(operationType, suspendImmed); in ShutDown() 32 PowerMgr::PowerMgrClient::GetInstance().WakeupDevice(operationType, wakeupReason); in StartUp()
|
D | incoming_call_wake_up.cpp | 41 PowerMgr::PowerMgrClient::GetInstance().WakeupDevice( in WakeupDevice() 47 return PowerMgr::PowerMgrClient::GetInstance().IsScreenOn(); in IsScreenOn()
|
/base/telephony/core_service/services/tel_ril/src/ |
D | tel_ril_handler.cpp | 54 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/ |
D | action_popup.cpp | 34 static PowerMgrClient& g_powerMgrClient = PowerMgrClient::GetInstance();
|
/base/powermgr/power_manager/frameworks/napi/utils/ |
D | async_callback_info.cpp | 82 runningLock_ = PowerMgrClient::GetInstance().CreateRunningLock(name_, type_); in CreateRunningLock() 83 return PowerMgrClient::GetInstance().GetError(); in CreateRunningLock()
|