Home
last modified time | relevance | path

Searched refs:SetDeviceMode (Results 1 – 19 of 19) sorted by relevance

/base/powermgr/power_manager/test/systemtest/src/
Dpower_mgr_powersavemode_test.cpp79 powerMgrClient.SetDeviceMode(mode);
98 powerMgrClient.SetDeviceMode(mode);
116 powerMgrClient.SetDeviceMode(mode);
135 powerMgrClient.SetDeviceMode(mode);
155 powerMgrClient.SetDeviceMode(mode);
192 powerMgrClient.SetDeviceMode(mode);
214 powerMgrClient.SetDeviceMode(mode);
237 powerMgrClient.SetDeviceMode(mode);
261 powerMgrClient.SetDeviceMode(mode);
283 powerMgrClient.SetDeviceMode(mode);
[all …]
/base/powermgr/power_manager/services/native/test/unittest/src/
Dpower_set_mode_test.cpp50 powerMgrClient.SetDeviceMode(mode1);
55 powerMgrClient.SetDeviceMode(mode2);
60 powerMgrClient.SetDeviceMode(mode3);
Dpower_register_callback_mode_test.cpp54 powerMgrClient.SetDeviceMode(mode);
Dpower_device_mode_test.cpp85 powerMgrClient.SetDeviceMode(mode);
/base/powermgr/power_manager/test/fuzztest/power_fuzzer/
Dpower_fuzzer.cpp93 static void SetDeviceMode(const uint8_t* data) in SetDeviceMode() function
101 g_powerMgrClient.SetDeviceMode(static_cast<PowerMode>(type[0])); in SetDeviceMode()
273 SetDeviceMode(data); in DoSomethingInterestingWithMyAPI()
/base/powermgr/power_manager/interfaces/innerkits/native/include/
Dpower_mgr_client.h114 PowerErrors SetDeviceMode(const PowerMode mode);
Dipower_mgr.h104 virtual PowerErrors SetDeviceMode(const PowerMode& mode) = 0;
/base/powermgr/power_manager/services/native/test/unittest/src/mock/
Dpower_mock_parcel_test.cpp93 powerMgrClient.SetDeviceMode(mode1);
212 sptrProxy->SetDeviceMode(mode1);
Dpower_mock_proxy_test.cpp105 EXPECT_EQ(sptrProxy->SetDeviceMode(mode1), PowerErrors::ERR_CONNECTION_FAIL);
Dpower_mock_object_test.cpp106 EXPECT_EQ(sptrProxy->SetDeviceMode(mode), PowerErrors::ERR_CONNECTION_FAIL);
Dpower_mock_peer_test.cpp149 EXPECT_EQ(sptrProxy->SetDeviceMode(mode1), PowerErrors::ERR_CONNECTION_FAIL);
/base/powermgr/power_manager/frameworks/napi/power/
Dpower_napi.cpp160 PowerErrors error = g_powerMgrClient.SetDeviceMode(asyncInfo->GetData().GetMode()); in SetPowerModeCallback()
191 PowerErrors error = g_powerMgrClient.SetDeviceMode(asyncInfo->GetData().GetMode()); in SetPowerModePromise()
/base/powermgr/power_manager/frameworks/native/
Dpower_mgr_client.cpp275 PowerErrors PowerMgrClient::SetDeviceMode(const PowerMode mode) in SetDeviceMode() function in OHOS::PowerMgr::PowerMgrClient
278 return proxy_->SetDeviceMode(mode); in SetDeviceMode()
/base/powermgr/power_manager/services/zidl/include/
Dpower_mgr_proxy.h77 virtual PowerErrors SetDeviceMode(const PowerMode& mode) override;
/base/powermgr/power_manager/services/native/include/
Dpower_mgr_service.h79 virtual PowerErrors SetDeviceMode(const PowerMode& mode) override;
/base/powermgr/power_manager/utils/shell/src/
Dpower_shell_command.cpp153 client.SetDeviceMode(static_cast<PowerMode>(mode)); in RunAsSetModeCommand()
/base/powermgr/power_manager/services/zidl/src/
Dpower_mgr_stub.cpp427 PowerErrors error = SetDeviceMode(static_cast<PowerMode>(mode)); in SetDeviceModeStub()
Dpower_mgr_proxy.cpp710 PowerErrors PowerMgrProxy::SetDeviceMode(const PowerMode& mode) in SetDeviceMode() function in OHOS::PowerMgr::PowerMgrProxy
/base/powermgr/power_manager/services/native/src/
Dpower_mgr_service.cpp865 PowerErrors PowerMgrService::SetDeviceMode(const PowerMode& mode) in SetDeviceMode() function in OHOS::PowerMgr::PowerMgrService