Searched refs:RebootOrShutdown (Results 1 – 6 of 6) sorted by relevance
/base/powermgr/power_manager/services/native/src/ |
D | shutdown_service.cpp | 53 RebootOrShutdown(reason, true); in Reboot() 58 RebootOrShutdown(reason, false); in Shutdown() 91 void ShutdownService::RebootOrShutdown(const std::string& reason, bool isReboot) in RebootOrShutdown() function in OHOS::PowerMgr::ShutdownService
|
/base/powermgr/power_manager/frameworks/napi/power/ |
D | power.cpp | 37 napi_value Power::RebootOrShutdown(napi_env env, napi_callback_info info, bool isReboot) in RebootOrShutdown() function in OHOS::PowerMgr::Power 68 return RebootOrShutdown(env, info, false); in ShutdownDevice() 73 return RebootOrShutdown(env, info, true); in RebootDevice()
|
D | power.h | 45 static napi_value RebootOrShutdown(napi_env env, napi_callback_info info, bool isReboot);
|
D | power_napi.h | 37 static napi_value RebootOrShutdown(napi_env env, napi_callback_info info, bool isReboot);
|
D | power_napi.cpp | 37 return RebootOrShutdown(env, info, false); in Shutdown() 42 return RebootOrShutdown(env, info, true); in Reboot() 115 napi_value PowerNapi::RebootOrShutdown(napi_env env, napi_callback_info info, bool isReboot) in RebootOrShutdown() function in OHOS::PowerMgr::PowerNapi
|
/base/powermgr/power_manager/services/native/include/ |
D | shutdown_service.h | 60 void RebootOrShutdown(const std::string& reason, bool isReboot);
|