Home
last modified time | relevance | path

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

/base/powermgr/power_manager/services/native/src/
Dshutdown_service.cpp53 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/
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.h37 static napi_value RebootOrShutdown(napi_env env, napi_callback_info info, bool isReboot);
Dpower_napi.cpp37 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/
Dshutdown_service.h60 void RebootOrShutdown(const std::string& reason, bool isReboot);