Searched refs:errno (Results 1 - 25 of 220) sorted by last modified time

123456789

/frameworks/wilhelm/src/android/
H A Dandroid_GenericPlayer.cpp111 SL_LOGE("GenericPlayer::setDataSource: fstat(%d) failed: %d, %s", fd, ret, strerror(errno));
/frameworks/wilhelm/src/
H A Dsles_allinclusive.h34 #include <errno.h>
/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/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/rs/
H A DrsCppUtils.cpp62 ALOGE("Fork of \"%s\" failed with error %s", exe, strerror(errno));
77 ALOGE("execv() failed: %s", strerror(errno));
87 strerror(errno));
H A DrsScriptC.cpp102 if (errno == ENOENT) {
106 ALOGE("Error: %s", strerror(errno));
110 ALOGE("Stat error: %s", strerror(errno));
H A DrsSignal.cpp18 #include <errno.h>
/frameworks/opt/net/voip/src/jni/rtp/
H A DAudioGroup.cpp20 #include <errno.h>
581 ALOGE("epoll_create: %s", strerror(errno));
591 ALOGE("socketpair: %s", strerror(errno));
610 ALOGE("setsockopt: %s", strerror(errno));
619 ALOGE("epoll_ctl: %s", strerror(errno));
683 ALOGE("epoll_ctl: %s", strerror(errno));
706 ALOGE("epoll_ctl: %s", strerror(errno));
756 ALOGE("epoll_wait: %s", strerror(errno));
1072 ALOGE("urandom: %s", strerror(errno));
H A DRtpStream.cpp20 #include <errno.h>
52 jniThrowException(env, "java/net/SocketException", strerror(errno));
84 jniThrowException(env, "java/net/SocketException", strerror(errno));
/frameworks/opt/net/wifi/service/jni/
H A Dcom_android_server_wifi_WifiNative.cpp245 return -errno;
256 ret = errno ? -errno : -999;
257 ALOGE("Could not read interface %s flags: %d\n", ifname, errno);
281 ALOGE("Could not set interface %s flags: %d\n", ifname, errno);
282 ret = errno ? -errno : -999;
/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/native/cmds/bugreport/
H A Dbugreport.cpp17 #include <errno.h>
51 printf("Failed to connect to dumpstate service: %s\n", strerror(errno));
62 printf("WARNING: Cannot set socket timeout: %s\n", strerror(errno));
71 // EAGAIN really means time out, so change the errno.
72 if (errno == EAGAIN) {
73 errno = ETIMEDOUT;
75 printf("\nBugreport read terminated abnormally (%s).\n", strerror(errno));
87 bytes_read, bytes_to_send, strerror(errno));
/frameworks/native/cmds/bugreportz/
H A Dbugreportz.cpp17 #include <errno.h>
83 printf("FAIL:Failed to connect to dumpstatez service: %s\n", strerror(errno));
94 fprintf(stderr, "WARNING: Cannot set socket timeout: %s\n", strerror(errno));
104 // EAGAIN really means time out, so change the errno.
105 if (errno == EAGAIN) {
106 errno = ETIMEDOUT;
108 printf("FAIL:Bugreport read terminated abnormally (%s)\n", strerror(errno));
121 bytes_read, bytes_to_send, strerror(errno));
129 fprintf(stderr, "WARNING: error closing socket: %s\n", strerror(errno));
/frameworks/native/cmds/dumpstate/
H A Ddumpstate.cpp18 #include <errno.h>
133 MYLOGE("Unable to read link for %s: %s\n", path, strerror(errno));
216 MYLOGE("Error removing systrace file %s: %s", systrace_path.c_str(), strerror(errno));
326 return -errno;
555 MYLOGE("read(%s): %s\n", entry_name.c_str(), strerror(errno));
577 MYLOGE("open(%s): %s\n", entry_path.c_str(), strerror(errno));
729 printf("*** NO ANR VM TRACES FILE (%s): %s\n\n", anr_traces_path, strerror(errno));
989 ALOGW("remove(%s): %s\n", bugreport_path.c_str(), strerror(errno));
1002 MYLOGE("open(%s): %s\n", filepath.c_str(), strerror(errno));
1015 MYLOGE("read(%s): %s\n", filepath.c_str(), strerror(errno));
[all...]
H A Dutils.cpp18 #include <errno.h>
107 printf("Failed to open /data/system/users (%s)\n", strerror(errno));
127 printf("Failed to open /proc (%s)\n", strerror(errno));
194 printf("Failed to open %s (%s)\n", taskpath, strerror(errno));
249 printf("Failed to open '%s' (%s)\n", path, strerror(errno));
254 save_errno = errno;
314 printf("Failed to open '%s' (%s)\n", path, strerror(errno));
319 save_errno = errno;
437 printf("*** %s: select failed: %s\n", path, strerror(errno));
454 printf("*** %s: Failed to read from fd: %s", path, strerror(errno));
[all...]
/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/cmds/installd/
H A Dcommands.cpp19 #include <errno.h>
175 if (errno != ENOENT) {
185 if (errno != EWOULDBLOCK) {
520 if (errno != ENOENT) {
521 ALOGE("Couldn't unlink %s: %s\n", dex_path, strerror(errno));
688 ALOGE("execv(%s) failed: %s\n", PATCHOAT_BIN, strerror(errno));
920 ALOGE("execv(%s) failed: %s\n", DEX2OAT_BIN, strerror(errno));
972 ALOGE("set_sched_policy failed: %s\n", strerror(errno));
976 ALOGE("setpriority failed: %s\n", strerror(errno));
997 if (errno !
[all...]
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));
H A Dotapreopt.cpp410 command_line.c_str(), strerror(errno));
420 command_line.c_str(), pid, got_pid, strerror(errno));
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/native/cmds/ip-up-vpn/
H A Dip-up-vpn.c20 #include <errno.h>
43 errno = EINVAL;
71 ALOGE("Cannot create state: %s", strerror(errno));
97 ALOGE("Cannot bring up %s: %s", interface, strerror(errno));
104 ALOGE("Cannot set address: %s", strerror(errno));
111 ALOGE("Cannot set netmask: %s", strerror(errno));
131 ALOGE("Cannot write state: %s", strerror(errno));
/frameworks/native/cmds/rawbu/
H A Dbackup.cpp11 #include <errno.h>
76 path, strerror(errno));
127 nameBuffer, strerror(errno));
146 newpath, strerror(errno));
164 nameBuffer, strerror(errno));
178 fprintf(stderr, "unable to write int32 (%d bytes): %s\n", res, strerror(errno));
189 fprintf(stderr, "unable to write int64 (%d bytes): %s\n", res, strerror(errno));
199 errno = 0;
209 amt, origSize, srcName, errno != 0 ? strerror(errno)
[all...]
/frameworks/native/cmds/servicemanager/
H A Dbctest.c7 #include <errno.h>
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 Dservice_manager.c4 #include <errno.h>
376 ALOGE("cannot become context manager (%s)\n", strerror(errno));

Completed in 2652 milliseconds

123456789