/base/powermgr/power_manager/services/zidl/src/ |
D | power_mgr_proxy.cpp | 32 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/ |
D | powermgr_service_test_proxy.cpp | 40 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/ |
D | battery_stats_client.cpp | 80 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/ |
D | power_mock_proxy_test.cpp | 83 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);
|
D | power_mock_peer_test.cpp | 120 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);
|
D | power_mock_object_test.cpp | 90 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/ |
D | power_mgr_client.cpp | 108 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()
|
D | running_lock.cpp | 52 return PowerErrors::ERR_CONNECTION_FAIL; in Init() 107 return PowerErrors::ERR_CONNECTION_FAIL; in Create()
|
/base/powermgr/power_manager/interfaces/inner_api/native/include/ |
D | power_errors.h | 26 ERR_CONNECTION_FAIL = 4900101 enumerator
|
/base/powermgr/battery_statistics/interfaces/inner_api/include/ |
D | battery_stats_errors.h | 26 ERR_CONNECTION_FAIL = 4600101 enumerator
|
/base/powermgr/display_manager/frameworks/native/ |
D | display_power_mgr_client.cpp | 47 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/ |
D | powermgr_service_mock_parcel_test.cpp | 103 …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/ |
D | display_mgr_errors.h | 51 ERR_CONNECTION_FAIL = 4700101 enumerator
|
/base/powermgr/thermal_manager/utils/native/include/ |
D | thermal_mgr_errors.h | 51 ERR_CONNECTION_FAIL = 4800101 enumerator
|
/base/powermgr/thermal_manager/frameworks/napi/ |
D | napi_errors.cpp | 22 {ThermalErrors::ERR_CONNECTION_FAIL, "Connecting to the service failed."},
|
/base/powermgr/power_manager/frameworks/napi/utils/ |
D | napi_errors.cpp | 22 {PowerErrors::ERR_CONNECTION_FAIL, "Connecting to the service failed."},
|
/base/powermgr/battery_statistics/frameworks/napi/src/ |
D | napi_error.cpp | 24 {StatsError::ERR_CONNECTION_FAIL, "Connecting to the service failed."},
|
/base/powermgr/display_manager/frameworks/napi/ |
D | brightness.cpp | 49 {DisplayErrors::ERR_CONNECTION_FAIL, "Connecting to the service failed."},
|
/base/powermgr/power_manager/services/native/src/ |
D | power_mgr_service.cpp | 906 return PowerErrors::ERR_CONNECTION_FAIL; in IsStandby()
|