Home
last modified time | relevance | path

Searched refs:errno (Results 1 - 25 of 120) sorted by relevance

12345

/drivers/hdf_core/framework/support/posix/src/
H A Dosal_sem.c10 #include <errno.h>
39 HDF_LOGE("sem_init fail errno:%d", errno); in OsalSemInit()
57 HDF_LOGE("sem_wait fail errno:%d", errno); in OsalSemWait()
72 if (errno == ETIMEDOUT) { in OsalSemWait()
75 HDF_LOGE("%s time_out time:%d ret:%d,errno:%d", __func__, ms, ret, errno); in OsalSemWait()
92 HDF_LOGE("sem_post fail errno:%d", errno); in OsalSemPost()
[all...]
H A Dosal_time.c10 #include <errno.h>
80 HDF_LOGE("%s OsalMSleep failed %d", __func__, errno); in OsalMSleep()
93 HDF_LOGE("%s OsalUSleep failed %d", __func__, errno); in OsalUSleep()
/drivers/peripheral/display/composer/vdi_base/src/
H A Dhdi_drm_composition.cpp66 DISPLAY_CHK_RETURN((ret < 0), DISPLAY_FAILURE, DISPLAY_LOGE("set the fb planeid fialed errno : %{public}d", errno)); in SetCrtcProperty()
71 DISPLAY_CHK_RETURN((ret < 0), DISPLAY_FAILURE, DISPLAY_LOGE("set the fb planeid fialed errno : %{public}d", errno)); in SetCrtcProperty()
76 DISPLAY_CHK_RETURN((ret < 0), DISPLAY_FAILURE, DISPLAY_LOGE("set the fb planeid fialed errno : %{public}d", errno)); in SetCrtcProperty()
81 DISPLAY_CHK_RETURN((ret < 0), DISPLAY_FAILURE, DISPLAY_LOGE("set the fb planeid fialed errno : %{public}d", errno)); in SetCrtcProperty()
96 DISPLAY_CHK_RETURN((ret < 0), DISPLAY_FAILURE, DISPLAY_LOGE("set the fb planeid fialed errno : %{public}d", errno)); in SetSrcProperty()
[all...]
H A Dhdi_drm_layer.cpp42 DISPLAY_CHK_RETURN_NOT_VALUE((ret != 0), DISPLAY_LOGE("can not get handle errno %{public}d", errno)); in Init()
52 DISPLAY_CHK_RETURN_NOT_VALUE((ret != 0), DISPLAY_LOGE("can not add fb errno %{public}d", errno)); in Init()
60 DISPLAY_LOGE("can not free fdid %{public}d errno %{public}d", mFdId, errno); in ~DrmGemBuffer()
68 DISPLAY_LOGD("can not free gem handle %{public}d errno : %{public}d", mGemHandle, errno); in ~DrmGemBuffer()
/drivers/peripheral/wlan/chip/hdi_service/
H A Diface_tool.cpp55 HDF_LOGE("Could not read interface state for %{public}s, %{public}s", ifName, strerror(errno)); in GetIfState()
65 HDF_LOGE("Failed to open socket to set up/down state %{public}s", strerror(errno)); in GetUpState()
79 HDF_LOGE("Failed to open socket to set up/down state %{public}s", strerror(errno)); in SetUpState()
96 HDF_LOGE("Could not set interface flags for %{public}s, %{public}s", ifName, strerror(errno)); in SetUpState()
119 HDF_LOGE("Failed to open socket to set MAC address %{public}s", strerror(errno)); in SetMacAddress()
134 ifName, strerror(errno)); in SetMacAddress()
/drivers/peripheral/camera/vdi_base/common/adapter/platform/v4l2/src/driver_adapter/src/
H A Dv4l2_stream.cpp39 CAMERA_LOGE("error: ioctl VIDIOC_STREAMON failed: %{public}s\n", strerror(errno)); in V4L2StreamOn()
55 CAMERA_LOGE("error: ioctl VIDIOC_STREAMOFF failed: %s\n", strerror(errno)); in V4L2StreamOff()
71 CAMERA_LOGE("error: ioctl VIDIOC_G_PARM failed: %s\n", strerror(errno)); in V4L2StreamFPSGet()
93 CAMERA_LOGE("error: ioctl VIDIOC_S_PARM failed: %s\n", strerror(errno)); in V4L2StreamFPSSet()
/drivers/peripheral/display/hal/default_standard/src/display_device/drm/
H A Dhdi_drm_layer.cpp40 DISPLAY_CHK_RETURN_NOT_VALUE((ret != 0), DISPLAY_LOGE("can not get handle errno %{public}d", errno)); in Init()
50 DISPLAY_CHK_RETURN_NOT_VALUE((ret != 0), DISPLAY_LOGE("can not add fb errno %{public}d", errno)); in Init()
58 DISPLAY_LOGE("can not free fdid %{public}d errno %{public}d", mFdId, errno); in ~DrmGemBuffer()
66 DISPLAY_LOGE("can not free gem handle %{public}d errno : %{public}d", mGemHandle, errno); in ~DrmGemBuffer()
H A Dhdi_drm_composition.cpp80 DISPLAY_CHK_RETURN((ret < 0), DISPLAY_FAILURE, DISPLAY_LOGE("set fb id fialed errno : %{public}d", errno)); in ApplyPlane()
86 DISPLAY_CHK_RETURN((ret < 0), DISPLAY_FAILURE, DISPLAY_LOGE("set crtc id fialed errno : %{public}d", errno)); in ApplyPlane()
101 DISPLAY_LOGE("can not add the active prop errno %{public}d", errno)); in UpdateMode()
109 DISPLAY_LOGE("can not add the mode prop errno %{public}d", errno)); in UpdateMode()
114 DISPLAY_LOGE("can not add the crtc id prop %{public}d", errno)); in UpdateMode()
131 DISPLAY_LOGE("drm atomic alloc failed errno in Apply()
[all...]
/drivers/peripheral/codec/hal/idl_service/src/
H A Dicodec_buffer.cpp145 } while (retCode == -EPERM && (errno == EINTR || errno == EAGAIN)); in SyncWait()
149 errno = ETIME; in SyncWait()
153 errno = EINVAL; in SyncWait()
156 return retCode < 0 ? -errno : EOK; in SyncWait()
/drivers/peripheral/codec/hal/v2.0/hdi_impl/src/
H A Dicodec_buffer.cpp99 } while (retCode == -EPERM && (errno == EINTR || errno == EAGAIN)); in SyncWait()
103 errno = ETIME; in SyncWait()
107 errno = EINVAL; in SyncWait()
110 return retCode < 0 ? -errno : EOK; in SyncWait()
/drivers/peripheral/partitionslot/hal/src/
H A Dpartitionslot_manager.cpp80 HILOG_ERROR(LOG_CORE, "Failed lseek slot %{public}d errno %{public}d", slot, errno); in WriteSlot()
98 HILOG_ERROR(LOG_CORE, "Failed lseek miscDevice errno %{public}d ", errno); in ReadMisc()
104 HILOG_ERROR(LOG_CORE, "Failed read migic miscDevice errno %{public}d ", errno); in ReadMisc()
121 HILOG_ERROR(LOG_CORE, "Failed to open miscDevice errno %{public}d ", errno); in WriteSlotToMisc()
126 HILOG_ERROR(LOG_CORE, "Failed to WriteSlot miscDevice %{public}d errno %{public}d ", slot, errno); in WriteSlotToMisc()
[all...]
/drivers/peripheral/bluetooth/hci/hdi_service/implement/
H A Dhci_protocol.cpp56 strerror_r(errno, buf, sizeof(buf)); in Read()
70 } while (ret == -1 && errno == EAGAIN); in Write()
73 strerror_r(errno, buf, sizeof(buf)); in Write()
H A Dmct_protocol.cpp64 strerror_r(errno, buf, sizeof(buf)); in ReadEventData()
81 strerror_r(errno, buf, sizeof(buf)); in ReadEventData()
110 strerror_r(errno, buf, sizeof(buf)); in ReadAclData()
127 strerror_r(errno, buf, sizeof(buf)); in ReadAclData()
/drivers/peripheral/display/hal/default_standard/src/display_gralloc/
H A Dframebuffer_allocator.cpp52 DISPLAY_CHK_RETURN((ret < 0), DISPLAY_FAILURE, DISPLAY_LOGE("FBIOPUT_VSCREENINFO failed errno : %d", errno)); in SetFdFormatAndVirtualRes()
61 DISPLAY_CHK_RETURN((ret < 0), DISPLAY_FAILURE, DISPLAY_LOGE("FBIOGET_FSCREENINFO failed errno : %d", errno)); in InitFb()
64 DISPLAY_CHK_RETURN((ret < 0), DISPLAY_FAILURE, DISPLAY_LOGE("FBIOGET_VSCREENINFO failed errno : %d", errno)); in InitFb()
67 DISPLAY_CHK_RETURN((ret < 0), DISPLAY_FAILURE, DISPLAY_LOGE(" failed to set fb format errno : %d", errno)); in InitFb()
71 DISPLAY_CHK_RETURN((ret < 0), DISPLAY_FAILURE, DISPLAY_LOGE("FBIOGET_VSCREENINFO failed errno : %d", errno)); in InitFb()
[all...]
H A Ddrm_allocator.cpp34 DISPLAY_LOGE("can not open drm file : %{public}s errno: %{public}d ", FILE_PATH, errno)); in Init()
58 (ret != 0), DISPLAY_FAILURE, DISPLAY_LOGE("DRM_IOCTL_MODE_CREATE_DUMB failed errno %{public}d", errno)); in Allocate()
62 (ret != 0), DISPLAY_FAILURE, DISPLAY_LOGE("can not get fd from prime handle errno: %{public}d", errno)); in Allocate()
76 DISPLAY_LOGW("can not destroy dumb errno: %{public}d", errno); in Allocate()
/drivers/peripheral/power/interfaces/hdi_service/src/
H A Dhibernate.cpp109 HDF_LOGE("open file failed, errno = %{public}d", errno); in GetResumeInfo()
116 HDF_LOGE("realpath error, errno = %{public}d", errno); in GetResumeInfo()
256 HDF_LOGE("stat swap file failed, errno=%{public}d", errno); in CheckSwapFileSize()
283 HDF_LOGE("open swap file failed, errno=%{public}d", errno); in CreateSwapFile()
300 HDF_LOGE("swap off failed when remove swap file, errno=%{public}d", errno); in RemoveSwapFile()
[all...]
/drivers/hdf_core/adapter/uhdf2/host/
H A Ddevhost.c16 #include <errno.h>
69 errno = 0; in HdfStringToInt()
72 if (end == str || end[0] != '\0' || errno == ERANGE || result > INT_MAX || result < INT_MIN) { in HdfStringToInt()
110 HDF_LOGE("host setpriority failed: %{public}d", errno); in HdfSetProcPriority()
116 HDF_LOGE("host sched_setscheduler failed: %{public}d", errno); in HdfSetProcPriority()
/drivers/peripheral/audio/hdi_service/primary_impl/src/
H A Daudio_adapter_info_common.c297 errno = 0; in TransferRoute()
306 if ((errno == ERANGE && (tempRoute == LONG_MAX || tempRoute == LONG_MIN)) || (errno != 0 && tempRoute == 0)) { in TransferRoute()
321 errno = 0; in TransferFormat()
330 if ((errno == ERANGE && (tempFormat == LONG_MAX || tempFormat == LONG_MIN)) || (errno != 0 && tempFormat == 0)) { in TransferFormat()
351 errno = 0; in TransferChannels()
360 if ((errno == ERANGE && (tempChannels == ULONG_MAX)) || (errno != 0 && tempChannels == 0)) { in TransferChannels()
374 errno in TransferFrames()
[all...]
/drivers/hdf_core/adapter/khdf/liteos/osal/src/
H A Dosal_file.c59 HDF_LOGE("%s open file fail %d %u %d", __func__, flags, rights, errno); in OsalFileOpen()
78 HDF_LOGE("%s write file fail %d %d", __func__, length, errno); in OsalFileWrite()
107 HDF_LOGE("%s read file fail %u %d", __func__, length, errno); in OsalFileRead()
125 HDF_LOGE("%s lseek file fail %lld %d %d", __func__, offset, whence, errno); in OsalFileLseek()
/drivers/peripheral/display/hal/default/
H A Ddisplay_gralloc.c172 if (errno != EEXIST) { in AllocShm()
173 HDF_LOGE("%s: fail to alloc the shared memory, errno = %d", __func__, errno); in AllocShm()
183 HDF_LOGE("%s: Fail to attach the shared memory, errno = %d", __func__, errno); in AllocShm()
185 HDF_LOGE("%s: Fail to free shmid, errno = %d", __func__, errno); in AllocShm()
196 HDF_LOGE("%s: Fail to free shmid, errno = %d", __func__, errno); in AllocShm()
212 DISPLAY_CHK_RETURN((priBuffer == NULL), DISPLAY_NULL_PTR, HDF_LOGE("%s: can not calloc errno in AllocMem()
[all...]
/drivers/peripheral/audio/hal/hdi_passthrough/src/
H A Daudio_adapter_info_common.c320 errno = 0; in TransferRoute()
322 if ((errno == ERANGE && (tempRoute == LONG_MAX || tempRoute == LONG_MIN)) || (errno != 0 && tempRoute == 0)) { in TransferRoute()
340 errno = 0; in TransferFormat()
342 if ((errno == ERANGE && (tempFormat == LONG_MAX || tempFormat == LONG_MIN)) || (errno != 0 && tempFormat == 0)) { in TransferFormat()
363 errno = 0; in TransferChannels()
365 if ((errno == ERANGE && (tempChannels == ULONG_MAX)) || (errno != 0 && tempChannels == 0)) { in TransferChannels()
383 errno in TransferFrames()
[all...]
/drivers/peripheral/audio/test/audio_utils/audio_mixer/
H A Daudio_mixer_main.c18 #include <errno.h>
157 DEBUG_LOG("%s\n", strerror(errno)); in AudioCard2Dev2()
158 printf("%s\n", strerror(errno)); in AudioCard2Dev2()
180 DEBUG_LOG("%s\n", strerror(errno)); in AudioCardGetIndex()
181 printf("%s\n", strerror(errno)); in AudioCardGetIndex()
185 DEBUG_LOG("%s\n", strerror(errno)); in AudioCardGetIndex()
186 printf("%s\n", strerror(errno)); in AudioCardGetIndex()
/drivers/peripheral/bluetooth/audio/hal/hdi_passthrough/src/
H A Daudio_adapter_info_common.cpp774 errno = 0; in TransferRoute()
776 if ((errno == ERANGE && (tempRoute == LONG_MAX || tempRoute == LONG_MIN)) || (errno != 0 && tempRoute == 0)) { in TransferRoute()
792 errno = 0; in TransferFormat()
794 if ((errno == ERANGE && (tempFormat == LONG_MAX || tempFormat == LONG_MIN)) || (errno != 0 && tempFormat == 0)) { in TransferFormat()
814 errno = 0; in TransferChannels()
816 if ((errno == ERANGE && (tempChannels == ULONG_MAX)) || (errno != 0 && tempChannels == 0)) { in TransferChannels()
832 errno in TransferFrames()
[all...]
/drivers/hdf_core/adapter/uhdf2/hdi/src/
H A Dhdi_smq_syncer.cpp77 status = -errno; in FutexWait()
94 HDF_LOGE("failed to wakeup smq futex, %{public}d", errno); in Wake()
95 return -errno; in Wake()
/drivers/external_device_manager/frameworks/ddk/base/
H A Dddk_api.cpp51 EDM_LOGE(MODULE_BASE_DDK, "create ashmem failed! errno = %{public}d", errno); in OH_DDK_CreateAshmem()
58 EDM_LOGE(MODULE_BASE_DDK, "alloc ddk ashmem failed! errno = %{public}d", errno); in OH_DDK_CreateAshmem()
104 EDM_LOGE(MODULE_BASE_DDK, "MapAshmem fail! errno = %{public}d", errno); in OH_DDK_MapAshmem()

Completed in 11 milliseconds

12345