Searched refs:errno (Results 76 - 100 of 220) sorted by relevance

123456789

/frameworks/base/libs/common_time/
H A Ddiag_thread.cpp41 ALOGE("Failed to set socket (%d) to non-blocking mode (errno %d)",
42 fd, errno);
52 ALOGE("Failed to set socket (%d) to no-delay mode (errno %d)",
53 fd, errno);
223 poll_res, errno);
236 listen_fd_, errno);
/frameworks/base/services/core/jni/
H A Dcom_android_server_am_BatteryStatsService.cpp35 #include <errno.h>
60 strerror_r(errno, buf, sizeof(buf));
79 strerror_r(errno, buf, sizeof(buf));
93 strerror_r(errno, buf, sizeof(buf));
H A Dcom_android_server_UsbMidiDevice.cpp27 #include <errno.h>
75 ALOGE("SNDRV_CTL_IOCTL_RAWMIDI_INFO failed, errno: %d path: %s", errno, path);
H A Dcom_android_server_am_ActivityManagerService.cpp31 #include <errno.h>
/frameworks/native/cmds/dumpsys/
H A Ddumpsys.cpp182 << ": " << strerror(errno) << endl;
233 << strerror(errno) << endl;
245 << strerror(errno) << endl;
255 << strerror(errno) << endl;
/frameworks/native/opengl/libs/
H A Dhooks.h22 #include <errno.h>
/frameworks/rs/
H A DrsSignal.cpp18 #include <errno.h>
/frameworks/native/libs/binder/tests/
H A DbinderDriverInterfaceTest.cpp17 #include <errno.h>
66 EXPECT_EQ(0, errno);
86 if (errno != accept_errno)
87 EXPECT_EQ(expect_errno, errno);
104 /* Not currently implmented. Allow ret == -1, errno == EINVAL */
106 EXPECT_EQ(EINVAL, errno);
/frameworks/av/cmds/screenrecord/
H A Dscreenrecord.cpp122 status_t err = -errno;
124 strerror(errno));
128 status_t err = -errno;
130 strerror(errno));
504 fprintf(stderr, "fopen raw failed: %s\n", strerror(errno));
760 int err = errno;
769 ALOGW("waitpid(%d) returned %d (errno=%d)", pid, actualPid, errno);
787 ALOGE("execv(%s) failed: %s\n", kCommand, strerror(errno));
993 fprintf(stderr, "Unable to open '%s': %s\n", fileName, strerror(errno));
[all...]
/frameworks/base/core/jni/
H A Dandroid_util_Process.cpp42 #include <sys/errno.h>
60 // For both of these, err should be in the errno range (positive), not a status_t (negative)
221 if (errno != ENOENT)
222 signalExceptionForGroupError(env, errno);
288 signalExceptionForGroupError(env, errno);
403 signalExceptionForGroupError(env, errno);
452 signalExceptionForPriorityError(env, errno);
480 signalExceptionForPriorityError(env, errno);
482 signalExceptionForGroupError(env, errno);
499 errno
[all...]
H A Dcom_android_internal_content_NativeLibraryHelper.cpp112 ALOGV("Couldn't stat %s, copying: %s\n", filePath, strerror(errno));
132 ALOGV("Couldn't open file %s: %s", filePath, strerror(errno));
259 ALOGI("Couldn't open temporary file name: %s: %s\n", localTmpFileName, strerror(errno));
278 ALOGI("Couldn't change modification time on %s: %s\n", localTmpFileName, strerror(errno));
286 ALOGI("Couldn't change permissions on %s: %s\n", localTmpFileName, strerror(errno));
293 ALOGI("Couldn't rename %s to %s: %s\n", localTmpFileName, localFileName, strerror(errno));
H A Dandroid_net_NetUtils.cpp86 "setsockopt(SO_ATTACH_FILTER): %s", strerror(errno));
124 "setsockopt(SO_ATTACH_FILTER): %s", strerror(errno));
H A Dandroid_os_MemoryFile.cpp128 if (errno == ENOTTY) {
134 jniThrowIOException(env, errno);
H A Dandroid_util_MemoryIntArray.cpp168 if (errno == ENOTTY) {
174 jniThrowIOException(env, errno);
/frameworks/base/cmds/screencap/
H A Dscreencap.cpp17 #include <errno.h>
118 fprintf(stderr, "Error opening file: %s (%s)\n", fn, strerror(errno));
/frameworks/native/cmds/installd/
H A Dinstalld.cpp455 if (errno == EINTR) continue;
456 ALOGE("read error: %s\n", strerror(errno));
476 if (errno == EINTR) continue;
477 ALOGE("write error: %s\n", strerror(errno));
654 ALOGE("Failed to save version to %s: %s", version_path, strerror(errno));
720 ALOGE("Failed to get socket from environment: %s\n", strerror(errno));
724 ALOGE("Listen on socket failed: %s\n", strerror(errno));
733 ALOGE("Accept failed: %s\n", strerror(errno));
/frameworks/native/cmds/servicemanager/
H A Dbinder.c8 #include <errno.h>
103 errno = ENOMEM;
110 strerror(errno));
126 strerror(errno));
165 strerror(errno));
373 fprintf(stderr,"binder: ioctl failed (%s)\n", strerror(errno));
409 ALOGE("binder_loop: ioctl failed (%s)\n", strerror(errno));
419 ALOGE("binder_loop: io error %d %s\n", res, strerror(errno));
H A Dbctest.c7 #include <errno.h>
/frameworks/av/media/libmedia/
H A DMidiIoWrapper.cpp76 errno = EBADF;
/frameworks/av/media/mtp/
H A DMtpServer.cpp24 #include <errno.h>
163 ALOGV("request read returned %d, errno: %d", ret, errno);
164 if (errno == ECANCELED) {
184 ALOGE("data read returned %d, errno: %d", ret, errno);
185 if (errno == ECANCELED) {
205 ALOGE("request write returned %d, errno: %d", ret, errno);
206 if (errno
[all...]
/frameworks/av/services/audioflinger/
H A DAudioWatchdog.cpp103 if (!((rc == 0) || (rc == -1 && errno == EINTR))) {
/frameworks/base/libs/androidfw/
H A DCursorWindow.cpp51 result = -errno;
57 result = -errno;
99 result = -errno;
103 result = -errno;
/frameworks/compile/mclinker/unittests/
H A DFileHandleTest.cpp12 #include <errno.h>
/frameworks/native/services/surfaceflinger/
H A DMessageQueue.h21 #include <errno.h>
/frameworks/base/cmds/idmap/
H A Dinspect.cpp38 printe("failed to stat idmap '%s': %s\n", idmap_path, strerror(errno));
43 printe("failed to open idmap '%s': %s\n", idmap_path, strerror(errno));
48 printe("failed to mmap idmap: %s\n", strerror(errno));

Completed in 490 milliseconds

123456789