Home
last modified time | relevance | path

Searched refs:RebootOrShutdown (Results 1 – 6 of 6) sorted by relevance

/base/powermgr/power_manager/frameworks/napi/power/
Dpower.cpp37 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()
Dpower.h45 static napi_value RebootOrShutdown(napi_env env, napi_callback_info info, bool isReboot);
Dpower_napi.h38 static napi_value RebootOrShutdown(napi_env env, napi_callback_info info, bool isReboot);
Dpower_napi.cpp38 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/
Dshutdown_controller.cpp59 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
Dshutdown_controller.h62 void RebootOrShutdown(const std::string& reason, bool isReboot);