/drivers/peripheral/display/hdi_service/gralloc/client/ |
H A D | allocator_proxy.cpp | 89 int32_t retCode = Remote()->SendRequest(CMD_REMOTE_ALLOCATOR_ALLOCMEM, data, reply, option); in AllocMem() local 90 if (retCode != HDF_SUCCESS) { in AllocMem() 91 HDF_LOGE("%{public}s: SendRequest failed, error code is %{public}x", __func__, retCode); in AllocMem() 92 return retCode; in AllocMem() 95 retCode = reply.ReadInt32(); in AllocMem() 96 if (retCode != HDF_SUCCESS) { in AllocMem() 97 HDF_LOGE("%{public}s: Read return code failed, error code is %{public}x", __func__, retCode); in AllocMem() 98 return retCode; in AllocMem() 104 retCode = DISPLAY_SUCCESS; in AllocMem() 106 retCode in AllocMem() [all...] |
/drivers/hdf_core/framework/core/shared/include/ |
H A D | hdf_attribute_macro.h | 43 #define HDF_DEAL_DEVICE_NODE(node, deviceNodes, host, retCode) \ 49 return (retCode); \ 62 #define HDF_DEAL_DEVICE(node, devices, host, retCode) \ 68 return (retCode); \ 71 node##_foreach_child_vargs(HDF_DEAL_DEVICE_NODE, device->deviceNodes, host, retCode); \ 75 #define HDF_FIND_HOST(node, name, host, retCode) \ 80 node##_foreach_child_vargs(HDF_DEAL_DEVICE, (host)->devices, host, retCode); \ 84 #define HDF_DEAL_HOST(node, hosts, devHost, retCode) \ 90 return (retCode); \
|
/drivers/peripheral/codec/hal/idl_service/src/ |
H A D | icodec_buffer.cpp | 133 int retCode = -EPERM; in SyncWait() local 136 return retCode; in SyncWait() 144 retCode = poll(&pollfds, 1, timeout); in SyncWait() 145 } while (retCode == -EPERM && (errno == EINTR || errno == EAGAIN)); in SyncWait() 147 if (retCode == 0) { in SyncWait() 148 retCode = -EPERM; in SyncWait() 150 } else if (retCode > 0) { in SyncWait() 152 retCode = -EPERM; in SyncWait() 156 return retCode < 0 ? -errno : EOK; in SyncWait()
|
/drivers/peripheral/codec/hal/v2.0/hdi_impl/src/ |
H A D | icodec_buffer.cpp | 87 int retCode = -EPERM; in SyncWait() local 90 return retCode; in SyncWait() 98 retCode = poll(&pollfds, 1, timeout); in SyncWait() 99 } while (retCode == -EPERM && (errno == EINTR || errno == EAGAIN)); in SyncWait() 101 if (retCode == 0) { in SyncWait() 102 retCode = -EPERM; in SyncWait() 104 } else if (retCode > 0) { in SyncWait() 106 retCode = -EPERM; in SyncWait() 110 return retCode < 0 ? -errno : EOK; in SyncWait()
|
/drivers/external_device_manager/services/native/driver_extension_manager/src/drivers_pkg_manager/ |
H A D | driver_pkg_manager.cpp | 100 auto retCode = OsAccountManager::SubscribeOsAccount(driverOsAccountSwitching); in SubscribeOsAccountSwitch() local 101 if (retCode != ERR_OK) { in SubscribeOsAccountSwitch() 102 EDM_LOGE(MODULE_PKG_MGR, "SubscribeOsAccount Switching fail, retCode=%{public}d", retCode); in SubscribeOsAccountSwitch() 105 retCode = OsAccountManager::SubscribeOsAccount(driverOsAccountSwitched); in SubscribeOsAccountSwitch() 106 if (retCode != ERR_OK) { in SubscribeOsAccountSwitch() 107 EDM_LOGE(MODULE_PKG_MGR, "SubscribeOsAccount Switched fail, retCode=%{public}d", retCode); in SubscribeOsAccountSwitch()
|
H A D | driver_info.cpp | 100 int32_t retCode = checkJsonObj(jsonObj); in UnSerialize() local 101 if (retCode != EDM_OK) { in UnSerialize() 103 return retCode; in UnSerialize()
|
/drivers/peripheral/distributed_camera/hdi_service/include/utils/ |
H A D | dcamera.h | 34 CamRetCode MapToExternalRetCode(DCamRetCode retCode);
|
/drivers/interface/display/composer/v1_0/display_command/ |
H A D | display_cmd_responser.h | 1051 int32_t retCode = WaitFence(fence, FENCE_TIMEOUT); in DumpLayerBuffer() local 1052 if (retCode != HDF_SUCCESS) { in DumpLayerBuffer() 1096 int retCode = -1; in WaitFence() local 1099 return retCode; in WaitFence() 1107 retCode = poll(&pollfds, 1, timeout); in WaitFence() 1108 } while (retCode == -1 && (errno == EINTR || errno == EAGAIN)); in WaitFence() 1110 if (retCode == 0) { in WaitFence() 1111 retCode = -1; in WaitFence() 1113 } else if (retCode > 0) { in WaitFence() 1114 retCode in WaitFence() [all...] |
/drivers/peripheral/distributed_camera/hdi_service/src/utils/ |
H A D | dcamera.cpp | 35 CamRetCode MapToExternalRetCode(DCamRetCode retCode) in MapToExternalRetCode() argument 37 switch (retCode) { in MapToExternalRetCode()
|
/drivers/peripheral/distributed_camera/hdi_service/src/dstream_operator/ |
H A D | dcamera_stream.cpp | 262 DCamRetCode retCode = GetNextRequest(); in GetDCameraBuffer() local 263 if (retCode != DCamRetCode::SUCCESS && retCode != DCamRetCode::EXCEED_MAX_NUMBER) { in GetDCameraBuffer() 265 return retCode; in GetDCameraBuffer()
|
/drivers/external_device_manager/frameworks/js/napi/device_manager/ |
H A D | device_manager_middle.cpp | 416 UsbErrCode retCode = g_edmClient.QueryDevice(busType, devices); in QueryDevices() local 417 if (retCode != UsbErrCode::EDM_OK) { in QueryDevices() 418 if (retCode == UsbErrCode::EDM_ERR_NO_PERM) { in QueryDevices() 477 UsbErrCode retCode = g_edmClient.BindDevice(deviceId, g_edmCallback); in BindDevice() local 478 if (retCode != UsbErrCode::EDM_OK) { in BindDevice() 479 if (retCode == UsbErrCode::EDM_ERR_NO_PERM) { in BindDevice() 523 UsbErrCode retCode = g_edmClient.UnBindDevice(deviceId); in UnbindDevice() local 524 if (retCode != UsbErrCode::EDM_OK) { in UnbindDevice() 525 if (retCode == UsbErrCode::EDM_ERR_NO_PERM) { in UnbindDevice()
|
/drivers/hdf_core/framework/utils/src/ |
H A D | hdf_sbuf.c | 15 #define HDF_SBUF_IMPL_CHECK_RETURN(sbuf, api, retCode) do { \ 18 return retCode; \ 22 return retCode; \
|
/drivers/peripheral/user_auth/test/unittest/co_auth/ |
H A D | executor_message_test.cpp | 254 int32_t retCode; in HWTEST_F() local 255 result = GetAttributeInt32(attribute, ATTR_RESULT_CODE, &retCode); in HWTEST_F() 257 EXPECT_EQ(retCode, resultCode); in HWTEST_F()
|