Home
last modified time | relevance | path

Searched refs:ShutDownDevice (Results 1 - 25 of 31) sorted by relevance

12

/base/powermgr/power_manager/test/apitest/inner_api/shutdown/
H A Dsync_shutdown_callback_test.cpp123 g_service->ShutDownDevice("test_shutdown"); in HWTEST_F()
141 g_service->ShutDownDevice("test_shutdown"); in HWTEST_F()
160 g_service->ShutDownDevice("test_shutdown"); in HWTEST_F()
179 g_service->ShutDownDevice("test_shutdown"); in HWTEST_F()
200 g_service->ShutDownDevice("test_shutdown"); in HWTEST_F()
H A Dasync_shutdown_callback_test.cpp155 g_service->ShutDownDevice("test_shutdown"); in HWTEST_F()
173 g_service->ShutDownDevice("test_shutdown"); in HWTEST_F()
192 g_service->ShutDownDevice("test_shutdown"); in HWTEST_F()
211 g_service->ShutDownDevice("test_shutdown"); in HWTEST_F()
232 g_service->ShutDownDevice("test_shutdown"); in HWTEST_F()
H A Dtakeover_shutdown_callback_test.cpp115 powerMgrClient.ShutDownDevice("test_shutdown"); // shutdown will be taken over in HWTEST_F()
135 powerMgrClient.ShutDownDevice("test_shutdown"); // shutdown will be taken over in HWTEST_F()
157 powerMgrClient.ShutDownDevice("test_shutdown"); // shutdown will be taken over in HWTEST_F()
179 powerMgrClient.ShutDownDevice("test_shutdown"); // shutdown will be taken over in HWTEST_F()
203 powerMgrClient.ShutDownDevice("test_shutdown"); // shutdown will not be taken over in HWTEST_F()
/base/customization/enterprise_device_management/services/edm_plugin/src/
H A Dshutdown_plugin.cpp38 PowerMgr::PowerErrors ret = powerMgrClient.ShutDownDevice("edm_Shutdown"); in OnSetPolicy()
H A Doperate_device_plugin.cpp59 ret = powerMgrClient.ShutDownDevice("edm_Shutdown"); in OnSetPolicy()
/base/powermgr/power_manager/test/systemtest/src/
H A Dpower_mgr_shutdown_fast_test.cpp114 powerMgrClient.ShutDownDevice(SHUTDOWN_FAST_REASON); in HWTEST_F()
137 powerMgrClient.ShutDownDevice(SHUTDOWN_FAST_REASON); in HWTEST_F()
H A Dces_system_test.cpp78 GTEST_LOG_(INFO) << "CES_SubscriptionEvent_0100: ShutDownDevice start."; in HWTEST_F()
81 powerMgrClient.ShutDownDevice(string("ShutDownDeviceTest001")); in HWTEST_F()
/base/powermgr/power_manager/test/unittest/src/interface_test/
H A Dshutdown_client_test.cpp106 powerMgrClient.ShutDownDevice("RegisterShutdownCallback001"); in HWTEST_F()
138 powerMgrClient.ShutDownDevice("UnRegisterShutdownCallback001"); in HWTEST_F()
H A Dpower_state_machine_test.cpp294 powerMgrClient.ShutDownDevice(string("ShutDownDeviceTestThread")); in Shutdownthread()
/base/powermgr/power_manager/test/unittest/src/mock/
H A Dpower_mock_parcel_test.cpp74 powerMgrClient.ShutDownDevice(" "); in HWTEST_F()
204 sptrProxy->ShutDownDevice(" "); in HWTEST_F()
H A Dpower_mock_proxy_test.cpp130 EXPECT_EQ(sptrProxy->ShutDownDevice(" "), PowerErrors::ERR_CONNECTION_FAIL); in HWTEST_F()
H A Dpower_mock_peer_test.cpp174 EXPECT_EQ(sptrProxy->ShutDownDevice(" "), PowerErrors::ERR_CONNECTION_FAIL); in HWTEST_F()
H A Dpower_mock_object_test.cpp161 sptrProxy->ShutDownDevice(" "); in HWTEST_F()
/base/powermgr/thermal_manager/services/native/src/thermal_action/action/
H A Daction_shutdown.cpp104 PowerMgrClient::GetInstance().ShutDownDevice(SHUTDOWN_REASON); in ShutdownRequest()
/base/powermgr/power_manager/test/unittest/include/servicetest/
H A Dpowermgr_service_test_proxy.h67 PowerErrors ShutDownDevice(const std::string& reason);
/base/powermgr/power_manager/interfaces/inner_api/native/include/
H A Dpower_mgr_client.h51 PowerErrors ShutDownDevice(const std::string& reason);
H A Dipower_mgr.h58 virtual PowerErrors ShutDownDevice(const std::string& reason) = 0;
/base/powermgr/power_manager/services/zidl/include/
H A Dpower_mgr_proxy.h75 virtual PowerErrors ShutDownDevice(const std::string& reason) override;
/base/powermgr/power_manager/frameworks/napi/power/
H A Dpower.cpp61 g_powerMgrClient.ShutDownDevice(std::string(reason)); in RebootOrShutdown()
H A Dpower_napi.cpp218 code = g_powerMgrClient.ShutDownDevice(reason); in RebootOrShutdown()
/base/powermgr/power_manager/frameworks/native/
H A Dpower_mgr_client.cpp178 PowerErrors PowerMgrClient::ShutDownDevice(const std::string& reason) in ShutDownDevice() function in OHOS::PowerMgr::PowerMgrClient
181 return proxy_->ShutDownDevice(reason); in ShutDownDevice()
/base/powermgr/battery_manager/services/native/src/
H A Dbattery_service.cpp428 PowerMgrClient::GetInstance().ShutDownDevice("TemperatureOutOfRange"); in HandleTemperature()
446 PowerMgrClient::GetInstance().ShutDownDevice("LowCapacity"); in HandleCapacity()
H A Dbattery_notify.cpp115 PowerMgrClient::GetInstance().ShutDownDevice(reason); in HandleUevent()
/base/powermgr/power_manager/services/native/include/
H A Dpower_mgr_service.h78 virtual PowerErrors ShutDownDevice(const std::string& reason) override;
/base/powermgr/power_manager/test/unittest/src/
H A Dpower_mgr_service_native_test.cpp125 EXPECT_TRUE(g_pmsTest->ShutDownDevice(SHUTDOWN_FAST_REASON) == PowerErrors::ERR_OK); in HWTEST_F()

Completed in 13 milliseconds

12