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

1234567

/hardware/libhardware/include/hardware/
H A Dqemu_pipe.h26 #include <errno.h>
42 * Returns -1 on error, and errno gives the error code, e.g.:
62 errno = EINVAL;
70 D("%s: Could not open /dev/qemu_pipe: %s", __FUNCTION__, strerror(errno));
71 //errno = ENOSYS;
79 D("%s: Could not connect to %s pipe service: %s", __FUNCTION__, pipeName, strerror(errno));
81 errno = ECONNRESET;
83 errno = EINVAL;
H A Dqemud.h49 } while (len2 < 0 && errno == EINTR);
59 } while (len2 < 0 && errno == EINTR);
75 D("QEMUD pipe is not available for %s: %s", name, strerror(errno));
81 D("no qemud control socket: %s", strerror(errno));
88 strerror(errno));
117 D("can't write qemud frame header: %s", strerror(errno));
122 D("can4t write qemud frame payload: %s", strerror(errno));
135 D("can't read qemud frame header: %s", strerror(errno));
147 D("can't read qemud frame payload: %s", strerror(errno));
/hardware/libhardware_legacy/power/
H A Dpower_qemu.c19 #include <errno.h>
H A Dpower.c18 #include <errno.h>
24 #include <errno.h>
83 g_error = errno;
158 return errno;
/hardware/msm7k/librpc/
H A Dops.c10 #include <errno.h>
19 E("error opening %s: %s\n", router, strerror(errno));
25 if(close(handle) < 0) E("error: %s\n", strerror(errno));
32 E("error reading RPC packet: %d (%s)\n", errno, strerror(errno));
50 E("error writing RPC packet: %d (%s)\n", errno, strerror(errno));
/hardware/libhardware_legacy/qemu/
H A Dqemu.c25 #include <errno.h>
60 } while (len2 < 0 && errno == EINTR);
70 } while (len2 < 0 && errno == EINTR);
84 D("no qemud pipe: %s", strerror(errno));
104 D("no qemud control socket: %s", strerror(errno));
111 strerror(errno));
144 channel->device, strerror(errno));
217 errno = ENOENT;
230 } while (fd < 0 && errno == EINTR);
236 } while (fd < 0 && errno
[all...]
/hardware/libhardware_legacy/vibrator/
H A Dvibrator.c22 #include <errno.h>
56 return errno;
/hardware/ti/omap4xxx/ion/
H A Dion.c20 #include <errno.h>
52 ret, strerror(errno));
53 return -errno;
123 LOGE("mmap failed: %s\n", strerror(errno));
124 return -errno;
/hardware/libhardware_legacy/wifi/
H A Dwifi.c19 #include <errno.h>
127 if (ret < 0 && errno == EAGAIN)
135 modname, strerror(errno));
180 LOGW("Could not open %s: %s", MODULE_FILE, strerror(errno));
269 if ((ret == 0) || (errno == EACCES)) {
272 LOGE("Cannot set RW to \"%s\": %s", SUPP_ENTROPY_FILE, strerror(errno));
279 LOGE("Cannot create \"%s\": %s", SUPP_ENTROPY_FILE, strerror(errno));
284 LOGE("Error writing \"%s\": %s", SUPP_ENTROPY_FILE, strerror(errno));
293 SUPP_ENTROPY_FILE, strerror(errno));
300 SUPP_ENTROPY_FILE, AID_WIFI, strerror(errno));
[all...]
/hardware/msm7k/dspcrashd/
H A Ddspcrashd.c32 #include <errno.h>
66 if (errno == EINTR)
111 if (errno == EINTR)
/hardware/invensense/libsensors/
H A Dsensors.h21 #include <errno.h>
H A DSensorBase.h21 #include <errno.h>
/hardware/libhardware/modules/gralloc/
H A Dmapper.cpp18 #include <errno.h>
56 LOGE("Could not mmap %s", strerror(errno));
57 return -errno;
76 LOGE("Could not unmap %s", strerror(errno));
H A Dframebuffer.cpp28 #include <errno.h>
103 return -errno;
157 return -errno;
161 return -errno;
165 return -errno;
196 return -errno;
257 return -errno;
260 return -errno;
283 LOGE("Error mapping the framebuffer (%s)", strerror(errno));
284 return -errno;
[all...]
H A Dgr.h30 #include <errno.h>
/hardware/invensense/mlsdk/platform/linux/
H A Dmlos_linux.c45 #include <errno.h>
172 return errno;
/hardware/ti/omap4xxx/domx/omx_proxy_component/omx_video_dec/src/
H A Domx_proxy_videodec_secure.c7 #include <errno.h>
67 DOMX_ERROR("Can't open rproc_user device 0x%x\n", errno);
74 DOMX_ERROR("errno from setting secure mode = %x",errno);
/hardware/libhardware/modules/nfc/
H A Dnfc_hw_example.c16 #include <errno.h>
/hardware/msm7k/libgralloc/
H A Dgr.h30 #include <errno.h>
H A Dmapper.cpp18 #include <errno.h>
67 handle, hnd->fd, strerror(errno));
69 return -errno;
92 LOGE("Could not unmap %s", strerror(errno));
H A Dframebuffer.cpp28 #include <errno.h>
106 return -errno;
165 return -errno;
169 return -errno;
173 return -errno;
217 return -errno;
274 return -errno;
277 return -errno;
301 LOGE("Error mapping the framebuffer (%s)", strerror(errno));
302 return -errno;
[all...]
/hardware/msm7k/libgralloc-qsd8k/
H A Dgr.h30 #include <errno.h>
H A Dframebuffer.cpp29 #include <errno.h>
120 return -errno;
185 return -errno;
189 return -errno;
193 return -errno;
253 return -errno;
310 return -errno;
313 return -errno;
337 LOGE("Error mapping the framebuffer (%s)", strerror(errno));
338 return -errno;
[all...]
/hardware/ti/omap4xxx/libtiutils/
H A DMessageQueue.cpp18 #include <errno.h>
126 MSGQ_LOGEB("read() error: %s", strerror(errno));
217 MSGQ_LOGEB("write() error: %s", strerror(errno));
261 MSGQ_LOGEB("poll() error: %s", strerror(errno));
/hardware/ti/omap4xxx/security/smc_pa_ctrl/
H A Dsmc_pa_ctrl_linux.c41 #include <errno.h>
199 nStatus = errno;
213 nStatus = errno;
258 nStatus = errno;

Completed in 826 milliseconds

1234567