Home
last modified time | relevance | path

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

/base/powermgr/power_manager/services/zidl/src/
Dpower_mgr_proxy.cpp32 RETURN_IF_WITH_RET(remote == nullptr, PowerErrors::ERR_CONNECTION_FAIL); in CreateRunningLock()
40 return PowerErrors::ERR_CONNECTION_FAIL; in CreateRunningLock()
43 …WRITE_PARCEL_WITH_RET(data, RemoteObject, remoteObj.GetRefPtr(), PowerErrors::ERR_CONNECTION_FAIL); in CreateRunningLock()
44 WRITE_PARCEL_WITH_RET(data, Parcelable, &runningLockInfo, PowerErrors::ERR_CONNECTION_FAIL); in CreateRunningLock()
51 return PowerErrors::ERR_CONNECTION_FAIL; in CreateRunningLock()
284 RETURN_IF_WITH_RET(remote == nullptr, PowerErrors::ERR_CONNECTION_FAIL); in RebootDevice()
292 return PowerErrors::ERR_CONNECTION_FAIL; in RebootDevice()
295 WRITE_PARCEL_WITH_RET(data, String16, Str8ToStr16(reason), PowerErrors::ERR_CONNECTION_FAIL); in RebootDevice()
301 return PowerErrors::ERR_CONNECTION_FAIL; in RebootDevice()
311 RETURN_IF_WITH_RET(remote == nullptr, PowerErrors::ERR_CONNECTION_FAIL); in RebootDeviceForDeprecated()
[all …]
/base/powermgr/power_manager/test/unittest/src/servicetest/
Dpowermgr_service_test_proxy.cpp40 RETURN_IF_WITH_RET(stub_ == nullptr, PowerErrors::ERR_CONNECTION_FAIL); in CreateRunningLock()
48 return PowerErrors::ERR_CONNECTION_FAIL; in CreateRunningLock()
59 return PowerErrors::ERR_CONNECTION_FAIL; in CreateRunningLock()
288 RETURN_IF_WITH_RET(stub_ == nullptr, PowerErrors::ERR_CONNECTION_FAIL); in RebootDevice()
296 return PowerErrors::ERR_CONNECTION_FAIL; in RebootDevice()
305 return PowerErrors::ERR_CONNECTION_FAIL; in RebootDevice()
314 RETURN_IF_WITH_RET(stub_ == nullptr, PowerErrors::ERR_CONNECTION_FAIL); in ShutDownDevice()
322 return PowerErrors::ERR_CONNECTION_FAIL; in ShutDownDevice()
331 return PowerErrors::ERR_CONNECTION_FAIL; in ShutDownDevice()
340 RETURN_IF_WITH_RET(stub_ == nullptr, PowerErrors::ERR_CONNECTION_FAIL); in SuspendDevice()
[all …]
/base/powermgr/battery_statistics/frameworks/native/src/
Dbattery_stats_client.cpp80 lastError_ = StatsError::ERR_CONNECTION_FAIL; in GetBatteryStats()
92 lastError_ = StatsError::ERR_CONNECTION_FAIL; in GetAppStatsMah()
111 lastError_ = StatsError::ERR_CONNECTION_FAIL; in GetAppStatsPercent()
123 lastError_ = StatsError::ERR_CONNECTION_FAIL; in GetPartStatsMah()
135 lastError_ = StatsError::ERR_CONNECTION_FAIL; in GetPartStatsPercent()
182 STATS_RETURN_IF_WITH_RET(Connect() != ERR_OK, StatsError::ERR_CONNECTION_FAIL); in GetLastError()
/base/powermgr/power_manager/test/unittest/src/mock/
Dpower_mock_proxy_test.cpp83 EXPECT_EQ(sptrProxy->SuspendDevice(0, abnormaltype, false), PowerErrors::ERR_CONNECTION_FAIL);
86 EXPECT_EQ(error, PowerErrors::ERR_CONNECTION_FAIL);
95 EXPECT_EQ(sptrProxy->SetDeviceMode(mode1), PowerErrors::ERR_CONNECTION_FAIL);
119 EXPECT_EQ(sptrProxy->RebootDevice(" "), PowerErrors::ERR_CONNECTION_FAIL);
120 EXPECT_EQ(sptrProxy->ShutDownDevice(" "), PowerErrors::ERR_CONNECTION_FAIL);
Dpower_mock_peer_test.cpp120 EXPECT_EQ(sptrProxy->SuspendDevice(0, abnormaltype, false), PowerErrors::ERR_CONNECTION_FAIL);
123 EXPECT_EQ(error, PowerErrors::ERR_CONNECTION_FAIL);
132 EXPECT_EQ(sptrProxy->SetDeviceMode(mode1), PowerErrors::ERR_CONNECTION_FAIL);
157 EXPECT_EQ(sptrProxy->RebootDevice(" "), PowerErrors::ERR_CONNECTION_FAIL);
158 EXPECT_EQ(sptrProxy->ShutDownDevice(" "), PowerErrors::ERR_CONNECTION_FAIL);
Dpower_mock_object_test.cpp90 EXPECT_EQ(error1, PowerErrors::ERR_CONNECTION_FAIL);
94 EXPECT_EQ(error2, PowerErrors::ERR_CONNECTION_FAIL);
96 EXPECT_EQ(sptrProxy->SetDeviceMode(mode), PowerErrors::ERR_CONNECTION_FAIL);
/base/powermgr/power_manager/frameworks/native/
Dpower_mgr_client.cpp108 RETURN_IF_WITH_RET(Connect() != ERR_OK, PowerErrors::ERR_CONNECTION_FAIL); in RebootDevice()
114 RETURN_IF_WITH_RET(Connect() != ERR_OK, PowerErrors::ERR_CONNECTION_FAIL); in RebootDeviceForDeprecated()
120 RETURN_IF_WITH_RET(Connect() != ERR_OK, PowerErrors::ERR_CONNECTION_FAIL); in ShutDownDevice()
126 RETURN_IF_WITH_RET(Connect() != ERR_OK, PowerErrors::ERR_CONNECTION_FAIL); in SuspendDevice()
133 RETURN_IF_WITH_RET(Connect() != ERR_OK, PowerErrors::ERR_CONNECTION_FAIL); in WakeupDevice()
271 RETURN_IF_WITH_RET(Connect() != ERR_OK, PowerErrors::ERR_CONNECTION_FAIL); in SetDeviceMode()
297 RETURN_IF_WITH_RET(Connect() != ERR_OK, PowerErrors::ERR_CONNECTION_FAIL); in IsStandby()
Drunning_lock.cpp52 return PowerErrors::ERR_CONNECTION_FAIL; in Init()
107 return PowerErrors::ERR_CONNECTION_FAIL; in Create()
/base/powermgr/power_manager/interfaces/inner_api/native/include/
Dpower_errors.h26 ERR_CONNECTION_FAIL = 4900101 enumerator
/base/powermgr/battery_statistics/interfaces/inner_api/include/
Dbattery_stats_errors.h26 ERR_CONNECTION_FAIL = 4600101 enumerator
/base/powermgr/display_manager/frameworks/native/
Ddisplay_power_mgr_client.cpp47 lastError_ = DisplayErrors::ERR_CONNECTION_FAIL; in GetProxy()
52 lastError_ = DisplayErrors::ERR_CONNECTION_FAIL; in GetProxy()
59 lastError_ = DisplayErrors::ERR_CONNECTION_FAIL; in GetProxy()
244 RETURN_IF_WITH_RET(proxy == nullptr, DisplayErrors::ERR_CONNECTION_FAIL); in GetError()
/base/powermgr/power_manager/test/unittest/src/servicetest/mock/
Dpowermgr_service_mock_parcel_test.cpp103 …Q(g_powerMgrServiceProxy->SuspendDevice(0, abnormaltype, false), PowerErrors::ERR_CONNECTION_FAIL);
106 EXPECT_EQ(error, PowerErrors::ERR_CONNECTION_FAIL);
115 EXPECT_EQ(g_powerMgrServiceProxy->SetDeviceMode(setMode), PowerErrors::ERR_CONNECTION_FAIL);
/base/powermgr/display_manager/utils/native/include/
Ddisplay_mgr_errors.h51 ERR_CONNECTION_FAIL = 4700101 enumerator
/base/powermgr/thermal_manager/utils/native/include/
Dthermal_mgr_errors.h51 ERR_CONNECTION_FAIL = 4800101 enumerator
/base/powermgr/thermal_manager/frameworks/napi/
Dnapi_errors.cpp22 {ThermalErrors::ERR_CONNECTION_FAIL, "Connecting to the service failed."},
/base/powermgr/power_manager/frameworks/napi/utils/
Dnapi_errors.cpp22 {PowerErrors::ERR_CONNECTION_FAIL, "Connecting to the service failed."},
/base/powermgr/battery_statistics/frameworks/napi/src/
Dnapi_error.cpp24 {StatsError::ERR_CONNECTION_FAIL, "Connecting to the service failed."},
/base/powermgr/display_manager/frameworks/napi/
Dbrightness.cpp49 {DisplayErrors::ERR_CONNECTION_FAIL, "Connecting to the service failed."},
/base/powermgr/power_manager/services/native/src/
Dpower_mgr_service.cpp906 return PowerErrors::ERR_CONNECTION_FAIL; in IsStandby()