Searched refs:DEV_RET_IF_NULL_WITH_RET (Results 1 – 3 of 3) sorted by relevance
/ohos5.0/base/msdp/device_status/frameworks/native/src/ |
H A D | devicestatus_client.cpp | 224 DEV_RET_IF_NULL_WITH_RET((Connect() != RET_OK), RET_ERR); in RegisterCoordinationListener() 231 DEV_RET_IF_NULL_WITH_RET((Connect() != RET_OK), RET_ERR); in UnregisterCoordinationListener() 238 DEV_RET_IF_NULL_WITH_RET((Connect() != RET_OK), RET_ERR); in PrepareCoordination() 245 DEV_RET_IF_NULL_WITH_RET((Connect() != RET_OK), RET_ERR); in UnprepareCoordination() 253 DEV_RET_IF_NULL_WITH_RET((Connect() != RET_OK), RET_ERR); in ActivateCoordination() 260 DEV_RET_IF_NULL_WITH_RET((Connect() != RET_OK), RET_ERR); in DeactivateCoordination() 267 DEV_RET_IF_NULL_WITH_RET((Connect() != RET_OK), RET_ERR); in GetCoordinationState() 274 DEV_RET_IF_NULL_WITH_RET((Connect() != RET_OK), RET_ERR); in GetCoordinationState() 283 DEV_RET_IF_NULL_WITH_RET((Connect() != RET_OK), RET_ERR); in UpdateDragStyle() 290 DEV_RET_IF_NULL_WITH_RET((Connect() != RET_OK), RET_ERR); in GetDragTargetPid() [all …]
|
/ohos5.0/base/msdp/device_status/utils/common/include/ |
H A D | devicestatus_common.h | 28 #define DEV_RET_IF_NULL_WITH_RET(cond, retval) if (cond) {return (retval);} macro
|
/ohos5.0/base/msdp/device_status/services/communication/client/src/ |
H A D | devicestatus_srv_proxy.cpp | 102 DEV_RET_IF_NULL_WITH_RET((remote == nullptr), devicestatusData); in GetCache()
|