Home
last modified time | relevance | path

Searched refs:devicePowerAction_ (Results 1 – 2 of 2) sorted by relevance

/base/powermgr/power_manager/services/native/src/
Dshutdown_service.cpp44 devicePowerAction_ = PowerMgrFactory::GetDevicePowerAction(); in ShutdownService()
103 if (devicePowerAction_ != nullptr) { in RebootOrShutdown()
104 isReboot ? devicePowerAction_->Reboot(reason) : devicePowerAction_->Shutdown(reason); in RebootOrShutdown()
/base/powermgr/power_manager/services/native/include/
Dshutdown_service.h42 devicePowerAction_ = std::move(mockPower); in EnableMock()
69 std::unique_ptr<IDevicePowerAction> devicePowerAction_; variable