Searched refs:errno (Results 26 - 50 of 220) sorted by relevance

123456789

/frameworks/av/media/libcpustats/
H A DThreadCpuUsage.cpp20 #include <errno.h>
42 ALOGE("clock_gettime(CLOCK_THREAD_CPUTIME_ID) errno=%d", errno);
50 ALOGE("clock_gettime(CLOCK_MONOTONIC) errno=%d", errno);
61 ALOGE("clock_gettime(CLOCK_THREAD_CPUTIME_ID) errno=%d", errno);
104 ALOGE("clock_gettime(CLOCK_THREAD_CPUTIME_ID) errno=%d", errno);
135 ALOGE("clock_gettime(CLOCK_MONOTONIC) errno
[all...]
/frameworks/base/libs/usb/tests/accessorytest/
H A Dhid.c26 #include <errno.h>
102 fprintf(stderr, "ACCESSORY_SET_HID_REPORT_DESC returned %d errno %d\n", ret, errno);
111 fprintf(stderr, "read failed, errno: %d, fd: %d\n", errno, fd);
117 if (ret < 0 && errno != EPIPE) {
118 fprintf(stderr, "ACCESSORY_SEND_HID_EVENT returned %d errno: %d\n", ret, errno);
169 if(errno == EINTR)
171 fprintf(stderr, "could not get event, %s\n", strerror(errno));
[all...]
/frameworks/base/services/core/jni/
H A Dcom_android_server_connectivity_Vpn.cpp31 #include <errno.h>
67 ALOGE("Cannot allocate TUN: %s", strerror(errno));
74 ALOGE("Cannot activate %s: %s", ifr4.ifr_name, strerror(errno));
81 ALOGE("Cannot set MTU on %s: %s", ifr4.ifr_name, strerror(errno));
96 ALOGE("Cannot get interface name: %s", strerror(errno));
108 ALOGE("Cannot get index of %s: %s", name, strerror(errno));
149 count = (errno == EINVAL) ? BAD_ARGUMENT : SYSTEM_ERROR;
164 count = (errno == EINVAL) ? BAD_ARGUMENT : SYSTEM_ERROR;
171 count = (errno == EINVAL) ? BAD_ARGUMENT : SYSTEM_ERROR;
182 ALOGE("Cannot add address: %s/%d: %s", address, prefix, strerror(errno));
[all...]
H A Dcom_android_server_PersistentDataBlockService.cpp30 #include <errno.h>
62 ALOGE("Something went wrong secure discarding block: %s\n", strerror(errno));
67 ALOGE("Discard failed: %s\n", strerror(errno));
/frameworks/base/core/jni/
H A Dcom_android_internal_os_Zygote.cpp89 // It's necessary to save and restore the errno during this function.
90 // Since errno is stored per thread, changing it here modifies the errno
92 // between a call and an errno check, it's possible to get the errno set
95 int saved_errno = errno;
129 if (pid < 0 && errno != ECHILD) {
130 ALOGW("Zygote SIGCHLD error in waitpid: %s", strerror(errno));
133 errno = saved_errno;
150 ALOGW("Error setting SIGCHLD handler: %s", strerror(errno));
[all...]
/frameworks/base/libs/androidfw/
H A DBackupHelpers.cpp25 #include <errno.h>
95 return errno;
166 ALOGW("write_snapshot_file error writing header %s", strerror(errno));
167 return errno;
178 ALOGW("write_snapshot_file error writing header %s", strerror(errno));
185 ALOGW("write_snapshot_file error writing filename %s", strerror(errno));
194 paddingLen, strerror(errno));
294 return errno;
299 return errno;
517 err = errno;
[all...]
H A DBackupData.cpp79 m_status = errno;
126 m_status = errno;
134 m_status = errno;
163 m_status = errno;
206 m_status = errno; \
324 return errno;
354 m_status = errno;
/frameworks/native/cmds/atrace/
H A Datrace.cpp19 #include <errno.h>
255 strerror(errno), errno);
269 strerror(errno), errno);
277 strerror(errno), errno);
305 strerror(errno), errno);
312 fprintf(stderr, "error writing clock sync marker %s (%d)\n", strerror(errno), errn
[all...]
/frameworks/av/include/media/
H A DEffectsFactoryApi.h20 #include <errno.h>
/frameworks/base/cmds/interrupter/
H A Dinterrupter.c27 #include <errno.h>
/frameworks/base/packages/DefaultContainerService/jni/
H A Dcom_android_defcontainer_MeasurementUtils.cpp26 #include <errno.h>
42 ALOGI("error opening: %s: %s", path, strerror(errno));
/frameworks/base/tools/aapt2/util/
H A DFiles.cpp39 if (errno == ENOENT || errno == ENOTDIR) {
73 errorStr << "unable to open file: " << strerror(errno);
104 if (result < 0 && errno != EEXIST) {
109 return mkdirImpl(path) == 0 || errno == EEXIST;
169 if (outError) *outError = strerror(errno);
177 if (outError) *outError = strerror(errno);
188 if (outError) *outError = strerror(errno);
/frameworks/compile/mclinker/lib/Support/Windows/
H A DFileSystem.inc99 int err = errno;
101 errno = err;
121 int err = errno;
123 errno = err;
/frameworks/base/cmds/idmap/
H A Dcreate.cpp37 ALOGD("error: open %s: %s\n", path, strerror(errno));
41 ALOGD("error: fchmod %s: %s\n", path, strerror(errno));
45 ALOGD("error: flock %s: %s\n", path, strerror(errno));
67 fprintf(stderr, "error: write: %s\n", strerror(errno));
140 return errno == ENOENT;
/frameworks/native/libs/binder/
H A DMemoryHeapBase.cpp23 #include <errno.h>
51 ALOGE_IF(fd<0, "error creating ashmem region: %s", strerror(errno));
70 ALOGE_IF(fd<0, "error opening %s: %s", device, strerror(errno));
117 fd, uint32_t(size), strerror(errno));
119 return -errno;
/frameworks/base/cmds/app_process/
H A Dapp_main.cpp161 "Error constructing dalvik cache : %s", strerror(errno));
164 LOG_ALWAYS_FATAL_IF((result < 0 && errno != EEXIST),
165 "Error creating cache dir %s : %s", dalvikCacheDir, strerror(errno));
171 LOG_ALWAYS_FATAL_IF((result < 0), "Error changing dalvik-cache ownership : %s", strerror(errno));
175 "Error changing dalvik-cache permissions : %s", strerror(errno));
191 if (errno != EINVAL) {
192 LOG_ALWAYS_FATAL("PR_SET_NO_NEW_PRIVS failed: %s", strerror(errno));
/frameworks/native/cmds/installd/
H A Dutils.cpp19 #include <errno.h>
340 ALOGE("Couldn't openat %s: %s\n", name, strerror(errno));
346 ALOGE("Couldn't fdopendir %s: %s\n", name, strerror(errno));
356 ALOGE("Couldn't unlinkat %s: %s\n", name, strerror(errno));
361 ALOGE("Couldn't unlinkat %s: %s\n", name, strerror(errno));
388 if (ignore_if_missing && (errno == ENOENT)) {
391 ALOGE("Couldn't opendir %s: %s\n", pathname, strerror(errno));
392 return -errno;
398 ALOGE("Couldn't rmdir %s: %s\n", pathname, strerror(errno));
412 ALOGE("Couldn't openat %s: %s\n", name, strerror(errno));
[all...]
/frameworks/webview/chromium/loader/
H A Dloader.cpp22 #include <errno.h>
58 vsize, strerror(errno));
70 if (unlink(relro) != 0 && errno != ENOENT) {
74 ALOGW("Failed to unlink old file %s: %s", relro, strerror(errno));
82 ALOGE("Failed to create temporary file %s: %s", relro_tmp, strerror(errno));
100 ALOGE("Failed to update relro file %s: %s", relro, strerror(errno));
112 ALOGE("Failed to open relro file %s: %s", relro, strerror(errno));
/frameworks/opt/net/voip/src/jni/rtp/
H A DRtpStream.cpp20 #include <errno.h>
52 jniThrowException(env, "java/net/SocketException", strerror(errno));
84 jniThrowException(env, "java/net/SocketException", strerror(errno));
/frameworks/webview/chromium/plat_support/
H A Ddraw_gl_functor.cpp24 #include <errno.h>
114 ALOGE("setrlimit failed: %s", strerror(errno));
117 ALOGE("getrlimit failed: %s", strerror(errno));
/frameworks/av/media/mtp/
H A DMtpEventPacket.cpp62 ALOGE("usb_endpoint_queue failed, errno: %d", errno);
/frameworks/base/packages/PrintSpooler/jni/
H A Dcom_android_printspooler_util_BitmapSerializeUtils.cpp35 if (errno == EINTR) {
39 "Error writing to buffer: %d", errno);
58 if (errno == EINTR) {
62 "Error reading from buffer: %d", errno);
/frameworks/native/libs/gui/
H A DBitTube.cpp55 mReceiveFd = -errno;
84 mReceiveFd = -errno;
113 err = len < 0 ? errno : 0;
123 err = len < 0 ? errno : 0;
H A DSensorEventQueue.cpp23 #include <linux/errno.h>
105 ALOGE("SensorEventQueue::waitForEvent error (errno=%d)", errno);
164 } else if (size < 0 && errno == EAGAIN) {
169 ALOGE("injectSensorEvent failure %s %zd", strerror(errno), size);
/frameworks/native/libs/ui/
H A DFence.cpp57 return err < 0 ? -errno : status_t(NO_ERROR);
67 if (err < 0 && errno == ETIME) {
72 return err < 0 ? -errno : status_t(NO_ERROR);
92 status_t err = -errno;

Completed in 787 milliseconds

123456789