Searched refs:RebootOrShutdown (Results 1 – 6 of 6) sorted by relevance
/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 | 38 static napi_value RebootOrShutdown(napi_env env, napi_callback_info info, bool isReboot);
|
D | power_napi.cpp | 38 return RebootOrShutdown(env, info, false); in Shutdown() 43 return RebootOrShutdown(env, info, true); in Reboot() 138 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/src/shutdown/ |
D | shutdown_controller.cpp | 59 RebootOrShutdown(reason, true); in Reboot() 64 RebootOrShutdown(reason, false); in Shutdown() 101 void ShutdownController::RebootOrShutdown(const std::string& reason, bool isReboot) in RebootOrShutdown() function in OHOS::PowerMgr::ShutdownController
|
D | shutdown_controller.h | 62 void RebootOrShutdown(const std::string& reason, bool isReboot);
|