Home
last modified time | relevance | path

Searched refs:RebootDevice (Results 1 - 25 of 29) sorted by relevance

12

/base/iothardware/peripheral/interfaces/inner_api/
H A Dreset.h51 void RebootDevice(unsigned int cause);
/base/update/updater/services/flashd/daemon/
H A Dsystem_depend.cpp53 bool RebootDevice(const string &cmd) in RebootDevice() function
55 FLASHD_LOGE("Flashd RebootDevice cmd is %s", cmd.c_str()); in RebootDevice()
/base/customization/enterprise_device_management/services/edm_plugin/src/
H A Dreboot_plugin.cpp39 PowerMgr::PowerErrors ret = powerMgrClient.RebootDevice("edm_Reboot"); in OnSetPolicy()
H A Doperate_device_plugin.cpp61 ret = powerMgrClient.RebootDevice("edm_Reboot"); in OnSetPolicy()
/base/powermgr/power_manager/test/apitest/inner_api/shutdown/
H A Dsync_shutdown_callback_test.cpp120 g_service->RebootDevice("test_reboot"); in HWTEST_F()
197 g_service->RebootDevice("test_reboot"); in HWTEST_F()
H A Dasync_shutdown_callback_test.cpp152 g_service->RebootDevice("test_reboot"); in HWTEST_F()
229 g_service->RebootDevice("test_reboot"); in HWTEST_F()
H A Dtakeover_shutdown_callback_test.cpp111 powerMgrClient.RebootDevice("test_reboot"); // reboot will be taken over in HWTEST_F()
200 powerMgrClient.RebootDevice("test_reboot"); // reboot will not be taken over in HWTEST_F()
/base/powermgr/power_manager/frameworks/napi/power/
H A Dpower.h39 static napi_value RebootDevice(napi_env env, napi_callback_info info);
H A Dpower_module.cpp77 DECLARE_NAPI_FUNCTION("rebootDevice", Power::RebootDevice), in PowerInit()
H A Dpower.cpp71 napi_value Power::RebootDevice(napi_env env, napi_callback_info info) in RebootDevice() function in OHOS::PowerMgr::Power
H A Dpower_napi.cpp216 code = g_powerMgrClient.RebootDevice(reason); in RebootOrShutdown()
/base/powermgr/power_manager/test/unittest/src/interface_test/
H A Dshutdown_client_test.cpp101 powerMgrClient.RebootDevice("RegisterShutdownCallback001"); in HWTEST_F()
133 powerMgrClient.RebootDevice("UnRegisterShutdownCallback001"); in HWTEST_F()
H A Dpower_state_machine_test.cpp286 powerMgrClient.RebootDevice(string("RebootDeviceTestThread")); in Rebootthread()
/base/powermgr/power_manager/test/unittest/src/mock/
H A Dpower_mock_parcel_test.cpp72 powerMgrClient.RebootDevice(" "); in HWTEST_F()
203 sptrProxy->RebootDevice(" "); in HWTEST_F()
H A Dpower_mock_proxy_test.cpp129 EXPECT_EQ(sptrProxy->RebootDevice(" "), PowerErrors::ERR_CONNECTION_FAIL); in HWTEST_F()
H A Dpower_mock_peer_test.cpp173 EXPECT_EQ(sptrProxy->RebootDevice(" "), PowerErrors::ERR_CONNECTION_FAIL); in HWTEST_F()
H A Dpower_mock_object_test.cpp159 sptrProxy->RebootDevice(" "); in HWTEST_F()
/base/powermgr/power_manager/test/unittest/include/servicetest/
H A Dpowermgr_service_test_proxy.h65 PowerErrors RebootDevice(const std::string& reason);
/base/powermgr/power_manager/interfaces/inner_api/native/include/
H A Dpower_mgr_client.h42 PowerErrors RebootDevice(const std::string& reason);
H A Dipower_mgr.h56 virtual PowerErrors RebootDevice(const std::string& reason) = 0;
/base/powermgr/power_manager/services/zidl/include/
H A Dpower_mgr_proxy.h73 virtual PowerErrors RebootDevice(const std::string& reason) override;
/base/powermgr/power_manager/frameworks/native/
H A Dpower_mgr_client.cpp166 PowerErrors PowerMgrClient::RebootDevice(const std::string& reason) in RebootDevice() function in OHOS::PowerMgr::PowerMgrClient
169 return proxy_->RebootDevice(reason); in RebootDevice()
/base/powermgr/battery_manager/services/native/src/
H A Dbattery_notify.cpp117 PowerMgrClient::GetInstance().RebootDevice(ueventName); in HandleUevent()
/base/powermgr/power_manager/services/native/include/
H A Dpower_mgr_service.h76 virtual PowerErrors RebootDevice(const std::string& reason) override;
/base/powermgr/power_manager/test/systemtest/src/
H A Dpower_mgr_st_mock_test.cpp70 * @tc.desc: test RebootDevice by mock
85 pms->RebootDevice(std::string("test")); in HWTEST_F()

Completed in 11 milliseconds

12