Home
last modified time | relevance | path

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

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

Completed in 3 milliseconds