/base/powermgr/battery_manager/services/native/test/unittest/src/ |
D | battery_light_test.cpp | 103 RETURN_IF(!g_light.isAvailable()); 123 RETURN_IF(!g_light.isAvailable()); 138 RETURN_IF(!g_light.isAvailable()); 153 RETURN_IF(!g_light.isAvailable()); 168 RETURN_IF(!g_light.isAvailable());
|
/base/powermgr/power_manager/services/zidl/src/ |
D | power_shutdown_callback_proxy.cpp | 31 RETURN_IF(remote == nullptr); in ShutdownCallback()
|
D | power_mode_callback_proxy.cpp | 29 RETURN_IF(remote == nullptr); in OnPowerModeChanged()
|
D | power_state_callback_proxy.cpp | 29 RETURN_IF(remote == nullptr); in OnPowerStateChanged()
|
/base/powermgr/battery_manager/services/native/src/ |
D | battery_light.cpp | 62 RETURN_IF(!available_); in TurnOff() 72 RETURN_IF(!available_); in TurnOn()
|
D | battery_service.cpp | 237 … RETURN_IF(status.serviceName != BATTERY_HDI_NAME || status.deviceClass != DEVICE_CLASS_DEFAULT); in RegisterHdiStatusListener()
|
/base/powermgr/power_manager/services/native/src/ |
D | shutdown_service.cpp | 145 RETURN_IF((callback == nullptr) || (callback->AsObject() == nullptr)); in AddCallback() 158 RETURN_IF((callback == nullptr) || (callback->AsObject() == nullptr)); in RemoveCallback() 170 RETURN_IF(remote.promote() == nullptr); in OnRemoteDied()
|
D | power_mode_module.cpp | 133 RETURN_IF((callback == nullptr) || (callback->AsObject() == nullptr)); in AddCallback() 146 RETURN_IF((callback == nullptr) || (callback->AsObject() == nullptr)); in RemoveCallback() 159 RETURN_IF(remote.promote() == nullptr); in OnRemoteDied()
|
D | power_state_machine.cpp | 354 RETURN_IF(callback == nullptr); in RegisterPowerStateCallback() 356 RETURN_IF(object == nullptr); in RegisterPowerStateCallback() 368 RETURN_IF(callback == nullptr); in UnRegisterPowerStateCallback() 370 RETURN_IF(object == nullptr); in UnRegisterPowerStateCallback()
|
/base/powermgr/display_manager/service/zidl/src/ |
D | display_power_callback_proxy.cpp | 29 RETURN_IF(remote == nullptr); in OnDisplayStateChanged()
|
/base/powermgr/power_manager/frameworks/napi/power/ |
D | power_napi.cpp | 159 RETURN_IF(asyncInfo == nullptr); in SetPowerModeCallback() 165 RETURN_IF(asyncInfo == nullptr); in SetPowerModeCallback() 190 RETURN_IF(asyncInfo == nullptr); in SetPowerModePromise() 196 RETURN_IF(asyncInfo == nullptr); in SetPowerModePromise()
|
/base/powermgr/power_manager/frameworks/napi/runninglock/ |
D | runninglock_napi.cpp | 147 RETURN_IF(asyncInfo == nullptr); in CreateAsyncCallback() 153 RETURN_IF(asyncInfo == nullptr); in CreateAsyncCallback() 182 RETURN_IF(asyncInfo == nullptr); in CreatePromise() 188 RETURN_IF(asyncInfo == nullptr); in CreatePromise()
|
/base/powermgr/battery_manager/utils/native/include/ |
D | power_common.h | 28 #define RETURN_IF(cond) if (cond) {return;} macro
|
/base/powermgr/power_manager/utils/native/include/ |
D | power_common.h | 28 #define RETURN_IF(cond) if (cond) {return;} macro
|
/base/powermgr/display_manager/utils/native/include/ |
D | display_common.h | 28 #define RETURN_IF(cond) if (cond) {return;} macro
|
/base/powermgr/battery_manager/frameworks/js/napi/ |
D | system_battery.cpp | 124 RETURN_IF(successRef_ == nullptr); in SuccessCallback() 149 RETURN_IF(failRef_ == nullptr); in FailCallback() 177 RETURN_IF(completeRef_ == nullptr); in CompleteCallback()
|
/base/usb/usb_manager/utils/native/include/ |
D | usb_common.h | 90 #define RETURN_IF(cond) \ macro
|
/base/powermgr/power_manager/services/native/src/actions/default/ |
D | system_suspend_controller.cpp | 51 … RETURN_IF(status.serviceName != HDI_SERVICE_NAME || status.deviceClass != DEVICE_CLASS_DEFAULT); in RegisterHdiStatusListener()
|
/base/powermgr/battery_manager/frameworks/native/src/ |
D | battery_srv_client.cpp | 69 RETURN_IF(proxy_ == nullptr); in ResetProxy()
|
/base/powermgr/display_manager/frameworks/native/ |
D | display_power_mgr_client.cpp | 77 RETURN_IF(proxy_ == nullptr); in OnRemoteDied()
|
/base/powermgr/power_manager/frameworks/native/ |
D | power_mgr_client.cpp | 91 RETURN_IF(proxy_ == nullptr); in ResetProxy()
|
/base/powermgr/display_manager/frameworks/napi/ |
D | brightness.cpp | 376 RETURN_IF(callbackRef == nullptr); in CallFunction()
|
/base/usb/usb_manager/interfaces/innerkits/native/src/ |
D | usb_srv_client.cpp | 67 RETURN_IF(proxy_ == nullptr); in ResetProxy()
|