Searched refs:RebootOrShutdown (Results 1 - 6 of 6) sorted by relevance
/base/powermgr/power_manager/frameworks/napi/power/ |
H A D | power.h | 45 static napi_value RebootOrShutdown(napi_env env, napi_callback_info info, bool isReboot);
|
H A 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()
|
H A D | power_napi.h | 40 static napi_value RebootOrShutdown(napi_env env, napi_callback_info info, bool isReboot);
|
H A D | power_napi.cpp | 49 return RebootOrShutdown(env, info, false); in Shutdown() 54 return RebootOrShutdown(env, info, true); in Reboot() 199 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/ |
H A D | shutdown_controller.cpp | 75 RebootOrShutdown(reason, true); in Reboot() 80 RebootOrShutdown(reason, false); in Shutdown() 126 void ShutdownController::RebootOrShutdown(const std::string& reason, bool isReboot) in RebootOrShutdown() function in OHOS::PowerMgr::ShutdownController
|
H A D | shutdown_controller.h | 62 void RebootOrShutdown(const std::string& reason, bool isReboot);
|
Completed in 3 milliseconds